revert(agc): track DCC storage images with more than one mip as one unit #8265
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8265"
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 LeoFeitosa on 2026-10-20T07:39:11Z.
What
Reverts #7579 (merged as
053034f41). Tracking DCC storage images with more than one mip as one unit stops SILENT HILL: The Short Message (PPSA10112) at its title intro:@whamre bisected it to that merge and confirmed that
mainwith only053034f41reverted reaches the menu again (report).The same refusal shows without the title. On
main98db77922with #7048 merged,agc_storage_pending_after_unwatchpasses with block units and fails with this error underAPS5_NO_BLOCK_TRACKING=1, where every surface is one unit. So a one-unit surface whose memory is only partly write-watched is not covered by #7048, and #7579 moved these surfaces onto that path.With this revert, the RoboCop: Rogue City - Unfinished Business (PPSA28329) main menu is drawn wrong again (the case #7579 addressed, #7578). I'll look for that fix in the block path instead of taking these surfaces off it.
#7085 changes the same
blockUnitsline; this revert restores the line it was written against.Tested
Windows 11 (build 26200), NVIDIA GeForce RTX 5070 Ti, driver 617.42, WinLibs GCC 15.2.0 r7, Release, this commit on
maine9cc4a8ef.ctest -R "agc|storage|texture|tiling|dcc"(821 tests): all pass or skip exceptagc_driver_msaa_dcc_clear_4andagc_driver_pass_input_hazard.agc_driver_msaa_dcc_clear_4fails the same way one9cc4a8efwithout this revert;agc_driver_pass_input_hazardfails onmainon this machine (seen on4b462ef60).maind0b970a412, wrong 2 of 2 with this revert.python tools/check_conventions.py --base origin/main: passes.Rebased onto
1edbe4b5eafter testing; the revert applied cleanly.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-20T07:43:49Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/include/TextureTiling.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/include/TextureTiling.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cppcore/libs/prx/libSceAgcDriver/tests/TextureTiling.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/include/TextureTiling.hppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/TextureTiling.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdcore/libs/prx/libSceAgcDriver/Graphics/src/Texture.cppdocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mddocs/dev/debt/libSceAgcDriver.mdImported from boykopovar/AnyPS5. Originally posted by whamre on 2026-10-20T07:59:14Z.
Tested on SILENT HILL: The Short Message (PPSA10112, #7305) at this head
eca73e1e4(onmain1edbe4b5e): it reaches the title menu, with nooutside the write watch without the guest bytes savederror and no stop over a 4.5-minute run. Onmainwithout this revert it stopped with that error in 3 of 3 runs.Windows 11 (26300), RTX 2080 SUPER, NVIDIA 616.92, WinLibs GCC 15.2.0, Release.
AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by LeoFeitosa on 2026-10-20T09:42:51Z.
@whamre, a candidate for the RoboCop menu that stays on block units:
fix/dcc-mip-store-pending(201cb328b, onmaine9a5a0c84). A DCC storage image with more than one mip stores every pending block unit at each write-back instead of only the touched ones. On RoboCop the menu is right 2 of 2 with it and wrong 2 of 2 without (same build). Would you run it on SILENT HILL: The Short Message before I open anything? Those surfaces show up there too.AI-assisted: yes