#
✕ nick:bloom
#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: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
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:25
bloomwhereas AGX makes it ~free
#asahi-gpu · 2021-04-05 23:25
bloomyeah
#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
bloomI just mean 'compute kernel running right before to precompute a dynamically uniform value"
#asahi-gpu · 2021-04-05 23:20
bloomchrisf: Also, do you know if there's a standard name for preshaders?
#asahi-gpu · 2021-04-05 23:19
bloomlet me splice that out of the demo and do it on the CPU since you're right, it's ridiculous
#asahi-gpu · 2021-04-05 23:18
bloomYes.
#asahi-gpu · 2021-04-05 23:18
bloomThe clear is just a shader, apparently. Because of course it is.
#asahi-gpu · 2021-04-05 23:18
bloom*proper
#asahi-gpu · 2021-04-05 23:18
bloomWhat clear format?
#asahi-gpu · 2021-04-05 23:11
bloomstill super weird.
#asahi-gpu · 2021-04-05 23:11
bloom....are these register writes?
#asahi-gpu · 2021-04-05 23:11
bloomalso, the unaligned pointer thing is bothering me
#asahi-gpu · 2021-04-05 23:07
bloomafter chasing its pointer to unk2, things around unk2 make a bit more sense
#asahi-gpu · 2021-04-05 23:06
bloomare these commands? data structures? a mix?
#asahi-gpu · 2021-04-05 23:06
bloomSpecifically what all the magic numbers in demo_cmdbuf could be
#asahi-gpu · 2021-04-05 23:05
bloomchrisf: Just prodding demo.c
#asahi-gpu · 2021-04-05 23:04
bloomThere's... not nearly as much structure as I would expect
#asahi-gpu · 2021-04-05 23:04
bloomis baffled how AGX command buffers are supposed to work
#asahi-gpu · 2021-04-05 22:53
bloomLet's eee
#asahi-gpu · 2021-04-05 22:43
bloomLet's eee
#asahi-gpu · 2021-04-04 16:49
bloomalright
#asahi-gpu · 2021-04-04 16:36
bloommesa's code is just generating a table, as you see.
#asahi-gpu · 2021-04-04 16:36
bloomDarkShadow44: although if dougall has grabbed the table, why not just use dougall's table..?
#asahi-gpu · 2021-04-04 03:03
bloomaaa
#asahi-gpu · 2021-04-04 03:00
bloomaaa
#asahi-gpu · 2021-04-04 03:00
bloomRGBA vs BGRA
#asahi-gpu · 2021-04-04 02:56
bloomRGBA vs BGRA
#asahi-gpu · 2021-04-04 02:50
bloomhttps://en.wikipedia.org/wiki/Swizzling_(computer_graphics)
#asahi-gpu · 2021-04-04 02:47
bloom(yes, arbitrary swizzles, how cute)
#asahi-gpu · 2021-04-04 02:47
bloomgot fields for width, height, swizzle
#asahi-gpu · 2021-04-04 02:47
bloomI'm currently poking at the framebuffer (or render target, I guess) descriptor
#asahi-gpu · 2021-04-04 02:46
bloombelieves in letting people play with the toys they want to :-p
#asahi-gpu · 2021-04-04 02:46
bloomalright
#asahi-gpu · 2021-04-04 02:41
bloomim just going to close irc ...
#asahi-gpu · 2021-04-04 02:41
bloomugh
#asahi-gpu · 2021-04-04 02:41
bloomsnrkt
#asahi-gpu · 2021-04-04 02:40
bloomsnrkt

plus ›