fix(agc): NGG passthrough routing of a topology the mesh path does not assemble draws through the vertex path #256
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/256"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-01T20:04:23Z.
What
Since #143 (
4cd8e353), passthrough routing (VGT_SHADER_STAGES_ENbit 25) makes every draw a mesh draw. The mesh assembly takes only triangle lists and strips, so it rejects passthrough rect lists (primitive 7 and 17) and triangle fans (5) withunsupported geometry input or output assembly. Before #143 those draws took the vertex path, which draws them (rect lists throughrectList, fans asTRIANGLE_FAN). Its routing check still accepts the passthrough bit (0x02402010).The path is now chosen from the primitive type before the stage decode:
ShaderStageTestsgains passthrough rect lists (7, 17) and a fan (5), which must decode to the vertex path (rect lists as rect lists). The test fails without the change.GTA V draws passthrough rect lists and fans into its HDR scene target, and on current
mainevery one of them was rejected.Tested
Windows 11 Pro, AMD Ryzen 5 7600, NVIDIA GeForce RTX 5080 (driver 32.0.16.1074), 32 GB DDR5-5600, MinGW-w64 GCC 15.2.0.
agc_driver_graphics: the new cases pass, and fail without the change.VGT_SHADER_STAGES_EN=0x2002000: unsupported geometry input or output assemblyrejections into the HDR target are gone.ctest: all tests pass.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-10-01T20:51:43Z.
I rolled back changes #143 here #258. Before that, I tried applying your fix, and even with it, the regression did not go away.
Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-10-01T21:59:05Z.
Thanks for checking. With #143 reverted in #258 there is nothing left for this to fix, and the subgroup capability failure on Dreaming Sarah was a separate problem this didn't touch. Closing.
Pull request closed