#
#asahi-gpu · 2021-04-08 23:22
bloomI'd love to see if metal has secret functions for apple's opengl-on-metal
#asahi-gpu · 2021-04-08 23:22
bloomindeed
#asahi-gpu · 2021-04-08 23:22
chrisfi imagine that upsets the moltenvk people though
#asahi-gpu · 2021-04-08 23:21
chrisfno drama if it can be turned off
#asahi-gpu · 2021-04-08 23:20
bloom(I think I see a mechanism to change the index / disable althoether for GL, but ugh)
#asahi-gpu · 2021-04-08 23:20
bloomso that will be fun to deal with
#asahi-gpu · 2021-04-08 23:19
bloomI learned that Metal forces primitive restart on, always
#asahi-gpu · 2021-04-08 23:19
bloomwell. yes
#asahi-gpu · 2021-04-08 23:19
chrisf"regrettable things that happen to be in GL"
#asahi-gpu · 2021-04-08 23:17
bloom(power-of-two divisors just turn into a shift)
#asahi-gpu · 2021-04-08 23:17
bloomyeah, for non-power-of-two divisors
#asahi-gpu · 2021-04-08 23:16
chrisfnecessary only for "weird" rates, beyond the sensible "per 1 vertex" and "per 1 instance" ?
#asahi-gpu · 2021-04-08 23:15
chrisfoh ok sure
#asahi-gpu · 2021-04-08 23:15
bloomhttps://stackoverflow.com/questions/41183935/why-does-gcc-use-multiplication-by-a-strange-number-in-implementing-integer-divi <-- a variant of this
#asahi-gpu · 2021-04-08 23:15
bloomto avoid hardware division for instanced arrays, the driver calculates magic multipliers that work as an integer divide
#asahi-gpu · 2021-04-08 23:14
chrisfshort version of what it does?
#asahi-gpu · 2021-04-08 23:14
bloomalong with some seriously weird clever ideas (Mali instancing fits there, serious kudos to cwabbott for figuring that out!)
#asahi-gpu · 2021-04-08 23:14
bloomwell, yes... that's the *
#asahi-gpu · 2021-04-08 23:13
chrisfhw errata can give you plenty of trouble
#asahi-gpu · 2021-04-08 23:13
DarkShadow44I see
#asahi-gpu · 2021-04-08 23:12
bloomso it's still a lot of work to match up the API with the command buffers... but there's little theoretical difficulty
#asahi-gpu · 2021-04-08 23:12
bloomCommand streams usually* don't... stuff tends to correspond pretty close to the API commands
#asahi-gpu · 2021-04-08 23:11
bloomthere's a lot of hard thinking to r/e an ISA correctly
#asahi-gpu · 2021-04-08 23:11
bloomInstruction sets have a lot of clever tricks
#asahi-gpu · 2021-04-08 23:07
DarkShadow44how so?
#asahi-gpu · 2021-04-08 23:04
bloomcmdstream r/e is usually "easier" than ISA r/e but also usually more tedious
#asahi-gpu · 2021-04-08 23:04
bloomsame way any r/e works
#asahi-gpu · 2021-04-08 22:58
DarkShadow44the command stream structure for parsing the shaders out
#asahi-gpu · 2021-04-08 22:55
bloomDarkShadow44: what figured out?
#asahi-gpu · 2021-04-08 22:53
DarkShadow44bloom: Say, what are you currently doing to get that figured out?
#asahi-gpu · 2021-04-08 22:45
bloomteapot is a bit further out still :v
#asahi-gpu · 2021-04-08 22:43
krbtgtteapot triangle
#asahi-gpu · 2021-04-08 22:17
bloom(that's 2 of 7 known shaders here, but I digress)
#asahi-gpu · 2021-04-08 22:15
bloomit can now chew through enough of "hello, triangle" to dump the primary shaders
#asahi-gpu · 2021-04-08 03:54
chrisfnice
#asahi-gpu · 2021-04-08 03:46
bloomtomorrow will teach it to chew through graphics
#asahi-gpu · 2021-04-08 03:46
bloomok, decoder is far enough along that it can make sense of my compute shader test
#asahi-gpu · 2021-04-08 00:57
robinphas some sort of snake and apple biblic reference ?
#asahi-gpu · 2021-04-08 00:54
robinpagatoxin (just looking for words with A G and X in order)
#asahi-gpu · 2021-04-08 00:50
robinpwas thinking something like mag1x ? (there is a name clash with magix but)
#asahi-gpu · 2021-04-07 23:18
bloomuhhh
#asahi-gpu · 2021-04-07 23:15
bloomjn__: ;)
#asahi-gpu · 2021-04-07 23:15
jn__= agx :)
#asahi-gpu · 2021-04-07 23:15
jn__Asahi GraphiX
#asahi-gpu · 2021-04-07 23:13
chrisfshrug
#asahi-gpu · 2021-04-07 23:13
bloomheh
#asahi-gpu · 2021-04-07 23:13
chrisfprefers to dispose of the "naming things" problem quickly and move on to the off by one errors
#asahi-gpu · 2021-04-07 23:12
bloombut that's booring :-p
#asahi-gpu · 2021-04-07 23:12
bloom"ag_" for Asahi Graphics seems like the best bet
#asahi-gpu · 2021-04-07 23:11
bloomMostly looking for a pronounceable two-letter prefix

plus ›