fix(agc-driver): ignore marker pops without a pushed marker #2202
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2202"
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:46Z.
What
Uncharted: Legacy of Thieves Collection (PPSA05684) pops one debug marker more than it pushes and stops on
mainwith:Debug markers are NOP payloads the command processor skips, so a pop with no marker pushed has no effect on the GPU; it now does nothing instead of throwing. Test in
tests/Pm4.cpp.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:55Z.
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.628c6561cherry-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