#
#asahi-gpu · 2021-04-07 23:11
bloomchrisf: Mm..
#asahi-gpu · 2021-04-07 23:09
chrisfagx seems as good a name as any
#asahi-gpu · 2021-04-07 23:07
bloomstill needs a name for $GPU_DRIVER
#asahi-gpu · 2021-04-07 23:05
bloomtries to smash together Panfrost code with Apple-isms and see what happens
#asahi-gpu · 2021-04-07 22:48
bloomWe've done some weird things to panfrost's since Mali is weird.
#asahi-gpu · 2021-04-07 22:48
bloomWondering if I'd rather base this on v3d's genxml instead of panfrost's
#asahi-gpu · 2021-04-07 22:47
bloomGuess I should start writing a cmdstream parser...
#asahi-gpu · 2021-04-06 02:01
bloomyeah, idk
#asahi-gpu · 2021-04-06 02:01
bloomoh, that..
#asahi-gpu · 2021-04-06 02:01
bloomwhich unk6?
#asahi-gpu · 2021-04-06 02:01
bloomhmm?
#asahi-gpu · 2021-04-06 02:00
chrisfwould be interesting to see whether we can provoke that unk6 to be something other than identity+1
#asahi-gpu · 2021-04-06 01:55
bloomevidently hit her head capacity
#asahi-gpu · 2021-04-06 01:51
bloomPossibly, but there's still a lot magic for compute-only.
#asahi-gpu · 2021-04-06 01:50
chrisfdo we think there's loop-over-tiles type stuff in cmd_* ?
#asahi-gpu · 2021-04-06 01:50
bloombut not sure what it could be then.
#asahi-gpu · 2021-04-06 01:50
bloomcmd_* is conceptually ... not
#asahi-gpu · 2021-04-06 01:50
bloomin that case, unk2 is the command buffer
#asahi-gpu · 2021-04-06 01:50
chrisfi assumed the encoder just spat stuff out into the command buffer as it went
#asahi-gpu · 2021-04-06 01:49
chrisfhmmn, ok
#asahi-gpu · 2021-04-06 01:33
bloomor something of that ilk
#asahi-gpu · 2021-04-06 01:32
bloomif I want to know the hw distinction I should just read the mtl docs :-p
#asahi-gpu · 2021-04-06 01:32
bloomin metal speak
#asahi-gpu · 2021-04-06 01:32
bloomcmd_* === the command buffer
#asahi-gpu · 2021-04-06 01:32
bloomunk2 === the encoder
#asahi-gpu · 2021-04-06 01:32
bloomD'OH!
#asahi-gpu · 2021-04-06 01:31
bloomchrisf: Nothing like a 17 byte struct... sigh.
#asahi-gpu · 2021-04-06 01:25
bloomMuch simpler than Mali, probably much lower overhead too.
#asahi-gpu · 2021-04-06 01:19
bloomDeliciously simple.
#asahi-gpu · 2021-04-06 01:19
bloomchrisf: I have a demo with multiple draws working.
#asahi-gpu · 2021-04-06 01:13
bloombut am not yet setup to check that.
#asahi-gpu · 2021-04-06 01:12
bloomchrisf: I assume it cheats.
#asahi-gpu · 2021-04-06 01:12
chrisfi wonder whether the gl-on-metal thing does some costly emulation to stick within what metal gives you, or cheats?
#asahi-gpu · 2021-04-06 01:11
bloomIt's just Metal that doesn't bother advertising. We'll need to, though.
#asahi-gpu · 2021-04-06 01:11
bloomLooks the hardware has support for triangle fans and maybe quads.
#asahi-gpu · 2021-04-05 23:54
bloomThen again I don't understand why clears need a shader at all
#asahi-gpu · 2021-04-05 23:53
chrisfneat
#asahi-gpu · 2021-04-05 23:53
bloomchrisf: ok, updated the demo to do the conversion CPU side which is both simpler and faster :)
#asahi-gpu · 2021-04-05 23:26
bloomwhat's that?
#asahi-gpu · 2021-04-05 23:26
chrisfafaik the open drivers generally dont because https://patents.google.com/patent/US20080291207A1/en
#asahi-gpu · 2021-04-05 23:25
bloomwhereas AGX makes it ~free
#asahi-gpu · 2021-04-05 23:25
bloomyeah
#asahi-gpu · 2021-04-05 23:24
chrisf"now we will reconfigure the universe... "
#asahi-gpu · 2021-04-05 23:23
chrisfi imagine mostly because graphics <-> compute switch was until very recently brutal
#asahi-gpu · 2021-04-05 23:23
chrisfafaik intel has never bothered to
#asahi-gpu · 2021-04-05 23:23
bloommali does but not so aggressively since there's overhead to it
#asahi-gpu · 2021-04-05 23:22
bloomall the proprietary drivers use them, AGX just is a bit extra about it
#asahi-gpu · 2021-04-05 23:22
chrisfmali does (/ 'has to do') some amount of this, right?
#asahi-gpu · 2021-04-05 23:22
bloomI just mean 'compute kernel running right before to precompute a dynamically uniform value"
#asahi-gpu · 2021-04-05 23:21
chrisfi havent heard much chatter about them for a long time. in the old dx9 days they were preshaders

plus ›