#
✕ nick:bloom
#asahi-gpu · 2021-05-30 04:27
bloom[This means as soon as 3D is piped in to Linux, we'll be able to use it on screen. The alternative would be r/e'ing tiled support in the display controller. This was lazier :-p
#asahi-gpu · 2021-05-30 04:26
bloom...I had an actual reason for looking at Apple's OpenGL but it is now too late to follow up on it. Ah well. That was a more pressing issue anyway!
#asahi-gpu · 2021-05-30 04:19
bloomFurthermore render target descriptors are riffing off texture descriptors, so it was easy to extrapolate to linear textures
#asahi-gpu · 2021-05-30 04:18
bloomThis is bad for performance, but good for hardware r/e ... since it made it clear how to do a linear render target at all! while it's hard to coerce Metal into the same
#asahi-gpu · 2021-05-30 04:17
bloomIt turns out Apple's OpenGL in XQuartz renders to a linear render target (whereas native Metal apps are compressed)
#asahi-gpu · 2021-05-28 03:31
bloomok, passing more tests but still failing too much
#asahi-gpu · 2021-05-28 02:24
bloombalance!
#asahi-gpu · 2021-05-28 02:24
bloomoh well i can mesa now :>
#asahi-gpu · 2021-05-28 02:24
bloomor i could just go off and do normal relaxation things for 2 hours
#asahi-gpu · 2021-05-28 00:34
bloomuhm, guess i have some mesa to fix ow
#asahi-gpu · 2021-05-28 00:34
bloomok, good
#asahi-gpu · 2021-05-28 00:31
bloomcursed :-p
#asahi-gpu · 2021-05-28 00:31
bloomfields in the scissor descriptor are backwards from what I expected
#asahi-gpu · 2021-05-28 00:31
bloomah ha! there we go
#asahi-gpu · 2021-05-28 00:27
bloombut currently have some other bug preventing me from confirming that
#asahi-gpu · 2021-05-28 00:27
bloomI believe what I erroneously called "rasterizer.depth_clamp" is actually scissor_enable
#asahi-gpu · 2021-05-28 00:16
bloomLet's implement fine scissoring in ./demo before worrying about the driver
#asahi-gpu · 2021-05-28 00:16
bloomthe clipping fails are from not scissoring to the viewport
#asahi-gpu · 2021-05-28 00:09
bloomalright, how about I investigate scissors/clipping
#asahi-gpu · 2021-05-28 00:08
bloom:P
#asahi-gpu · 2021-05-28 00:08
bloomkinda want to take the hypervisor for a spin but should wait for marcan to hold my hand :
#asahi-gpu · 2021-05-28 00:07
bloomkinda wants to AGX but doesn't know how much brain cycles she has
#asahi-gpu · 2021-05-25 03:34
bloomthough tbh anything <99.5% is unusable :P
#asahi-gpu · 2021-05-25 03:32
bloomso 86.7%, up 2% from May 8 when i last ran deqp
#asahi-gpu · 2021-05-25 03:28
bloomPass: 12351, Fail: 1385, Crash: 366, Warn: 27, Skip: 89, Timeout: 12, Flake: 36, Duration: 10:02, Remaining: 0
#asahi-gpu · 2021-05-25 03:19
bloomthere are lots of funny interactions
#asahi-gpu · 2021-05-25 03:15
bloomquite possibly it has to do with ordering, or something
#asahi-gpu · 2021-05-25 03:15
bloombut it's used in conjunction with `blend` to write to the tile buffer, i guess
#asahi-gpu · 2021-05-25 03:15
bloom`writeout` is probably a misnomer though
#asahi-gpu · 2021-05-25 03:15
bloomi'm almost certain you get them offscreen too
#asahi-gpu · 2021-05-25 03:13
bloompff
#asahi-gpu · 2021-05-25 03:05
bloomyeah, spec says prior to Metal 2.3 it was discard(), Metal 2.3+ it's demote()
#asahi-gpu · 2021-05-25 03:03
bloomIIRC
#asahi-gpu · 2021-05-25 03:03
bloomerrrr except Metal's discard is actually demote()
#asahi-gpu · 2021-05-25 03:03
bloomif discard is used, that interacts (keep in mind `discard` is just a glorified `coverage mask = 0` write!)
#asahi-gpu · 2021-05-25 03:03
bloomnah, end of frag
#asahi-gpu · 2021-05-25 03:02
bloomif fragment depth/stencil/coverage is written, that interacts
#asahi-gpu · 2021-05-25 03:02
bloombut then it gets trickier
#asahi-gpu · 2021-05-25 03:02
bloomin a frag shader with multiple outputs (render targets), two before the frist blend and one before each subsequent blend
#asahi-gpu · 2021-05-25 03:02
bloomer, two before blend
#asahi-gpu · 2021-05-25 03:02
bloomin a simple frag shader, right before `blend`
#asahi-gpu · 2021-05-25 03:01
bloomit definitely related to writeout, in that I know /where/ it executes
#asahi-gpu · 2021-05-25 03:01
bloomsince it executes /after/ the ld_vary instruction in usual circumstnaces
#asahi-gpu · 2021-05-25 03:01
bloomuhm, inteprolation is unlikely
#asahi-gpu · 2021-05-25 03:01
bloominstruction hot potato
#asahi-gpu · 2021-05-25 03:01
bloom~~i thought you named it~~
#asahi-gpu · 2021-05-25 02:55
bloom(Do we know what TODO.writeout actually does?)
#asahi-gpu · 2021-05-25 02:55
bloomalso it has some weird interactions with TODO.writeout
#asahi-gpu · 2021-05-25 02:55
bloomI haven't implemented discard yet since they don't have a discard_if which meant having if-stmts working was a prereq
#asahi-gpu · 2021-05-25 02:54
bloom`discard` is separate

plus ›