#asahi-gpu · 2023-06-07 20:50
alyssawell all those bits are set so, um,#asahi-gpu · 2023-06-07 20:45
alyssaunconditional discard 1/2 still set#asahi-gpu · 2023-06-07 20:44
alyssatri merging enabled#asahi-gpu · 2023-06-07 20:44
alyssapass type trans punch through#asahi-gpu · 2023-06-07 20:44
alyssafor force early with no rt, just sample mask at the start#asahi-gpu · 2023-06-07 20:42
alyssaTellowKrinkle: It's not 100% clear how tri merging works in the hw, but yes, disabled for anything needing derivatives#asahi-gpu · 2023-06-07 20:36
alyssain occlusion query 2#asahi-gpu · 2023-06-07 20:36
alyssaand unknown 7 cleared to 0#asahi-gpu · 2023-06-07 20:36
alyssaunknown 3:0 next to cf bindings cleared#asahi-gpu · 2023-06-07 20:36
alyssa(from 1)#asahi-gpu · 2023-06-07 20:36
alyssaunknown 1:0 cleared#asahi-gpu · 2023-06-07 20:36
alyssaunconditional discard 1/2 set#asahi-gpu · 2023-06-07 20:35
alyssawith late-z and no output, still zs_emit at very end#asahi-gpu · 2023-06-07 20:34
alyssazs_emit at the end of the shader#asahi-gpu · 2023-06-07 20:34
alyssawith fragcoord z input#asahi-gpu · 2023-06-07 20:34
alyssalate-z has depth any, pass type Punch through, tri merging disabled#asahi-gpu · 2023-06-07 20:34
alyssaforce-early-z has depth unchanged, pass type "Translucent punch through", tri merging enabled#asahi-gpu · 2023-06-07 20:09
alyssabut i don't want to talk about that right now o_o#asahi-gpu · 2023-06-07 20:09
alyssaand then.. transform feedback#asahi-gpu · 2023-06-07 20:08
alyssabut there are lots and lots of them#asahi-gpu · 2023-06-07 20:08
alyssanone of these problems are impossible to solve#asahi-gpu · 2023-06-07 20:08
alyssaetc#asahi-gpu · 2023-06-07 20:08
alyssahave fun reading the index buffer yourself in compute#asahi-gpu · 2023-06-07 20:08
alyssaif you feed a geometry shader with inputs with an index buffer, well if you're doing compute, you get to do primitive assembly yourself#asahi-gpu · 2023-06-07 20:08
alyssasimilar issues on the input side#asahi-gpu · 2023-06-07 20:08
alyssaoften#asahi-gpu · 2023-06-07 20:08
alyssaboth are decidedly more complicated than "just write to an array"#asahi-gpu · 2023-06-07 20:07
alyssabut either you need to do extra copying (synthesizing vertices that don't actually exist to feed in triangles), or you need to generate an index buffer with primitive restart so you can feed in strips#asahi-gpu · 2023-06-07 20:07
alyssayes, that's fine#asahi-gpu · 2023-06-07 20:06
alyssaand they can end the strip and start a new strip whenever they want#asahi-gpu · 2023-06-07 20:06
alyssalike... geometry shaders output triangle *strips*, not triangles#asahi-gpu · 2023-06-07 20:06
alyssaYou get lots of weirdness in all the non-corner cases, actually#asahi-gpu · 2023-06-07 20:06
alyssabut the basic idea isn't too bad#asahi-gpu · 2023-06-07 20:06
alyssaPiles and piles of em#asahi-gpu · 2023-06-07 20:06
alyssaChaosPrincess: Well, yeah. Devil's in the details.#asahi-gpu · 2023-06-07 20:06
alyssaFrom what i can tell, D3DMetal is doing geometry-on-mesh-on-vertex which sounds like it has "interesting" performance characteristics#asahi-gpu · 2023-06-07 20:05
alyssaSimilar for mesh shaders and tessellation shaders#asahi-gpu · 2023-06-07 20:05
alyssaRight, geometry shaders on AGX are conceptually implemented as compute shaders writing to an array and then fed into the rasterizer with a passthrough vertex shader#asahi-gpu · 2023-06-07 19:50
alyssa(Geometry shaders need like 256 min-max vertices)#asahi-gpu · 2023-06-07 19:50
alyssawhich makes it ~useless for our pruposes#asahi-gpu · 2023-06-07 19:50
alyssaAs far as I know, that's limited to outputting 2 vertices (instead of 1) from the VS#asahi-gpu · 2023-06-07 19:50
alyssaChaosPrincess: By multi-output I assume you mean Metal's "amplification"?#asahi-gpu · 2023-06-07 16:41
alyssaI like the former better than the latter >:#asahi-gpu · 2023-06-07 16:31
alyssawell, we'll know in a few years I suppsoe.#asahi-gpu · 2023-06-07 16:31
alyssahow will vkd3d + agxv + fex + linux stack up against d3dmetal + apple's metal driver + rosetta + macOS?#asahi-gpu · 2023-06-07 16:31
alyssavkd3d + agxv + fex + linux is the dream#asahi-gpu · 2023-06-07 16:29
alyssaat any rate, it's not super on topic here#asahi-gpu · 2023-06-07 16:29
alyssaTellowKrinkle's#asahi-gpu · 2023-06-07 16:28
alyssathat was my read as well#asahi-gpu · 2023-06-07 16:28
alyssathere are good reasons gamers prefer radv to amdvlk, despite the latter even being open source (!)