fix(recompiler): bind the rect-list fault buffer in the tessellation control group #2198
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2198"
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 XairRrR on 2026-10-09T11:29:36Z.
What
Uncharted: Legacy of Thieves Collection (PPSA05684) stops at its first rect-list draw on
mainwith:BuildRectListShadersput the fault buffer of the rect-list control and evaluation shaders one past the highest vertex or fragment binding. Bindings are grouped per stage (RuntimeAbi::BindingNumber), so that number can fall inside another stage's group and collide with one of its bindings. The fault buffer now usesBindingNumber(TessellationControl, FaultBuffer). Test intests/Graphics.cpp(rectListTests).Tested
Arch Linux, GCC 16.2.1, NVIDIA GeForce RTX 4070 Ti SUPER (driver 615.71.09).
main(d70b8998):tools/check_conventions.pypasses; of the 513 ctest tests all pass exceptagc_driver_dcc_keys_first_write, which fails the same way onmain(an unchanged pending image was uploaded again).agc_driver_storage_cache_budgetpasses run alone; underctest -j8a local 3 GB RSS limit stopped it.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 (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by rmz-24 on 2026-10-09T13:30:57Z.
Windows run: Windows 11 Pro 25H2 (10.0.26200.9457), RTX 5060 Ti (NVIDIA 617.42), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release,
-DANYPS5_ENABLE_SPIRV_TOOLS=ON, full build pluslibs.8b7ff670cherry-picked onto currentmaind70b8998(applies cleanly).agc_driver_dcc_keys_first_writepasses onmainand with this change, so the failure noted in the description doesn't reproduce on Windows/NVIDIA.agc_driver_storage_cache_budgetalso passes underctest -j8here.AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-10T06:14:04Z.
Checked: build + ctest of libSceAgc/libSceAgcDriver green; the new
rectListTestscase fails without theRectListShaders.cppchange and passes with it. Also confirmed by @rmz-24 on Windows 11 / RTX 5060 Ti (510/510). Merging.