perf(agc): serve compute dispatches whose read-only buffers moved from the cached template #7044

Merged
AlxcBTW merged 4 commits from upstream-pr/7044 into main 2026-10-17 22:44:10 +00:00
AlxcBTW commented 2026-10-17 07:38:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-17T07:38:38Z.


What

A compute dispatch is served from its cached resource template when the content key matches. The key contained the base address and size of every guest buffer, so a dispatch of the same shader over a read-only buffer at another address missed and was built again. The key now leaves out the base and size of read-only buffers, as a draw's key already does.

A hit whose read-only buffers moved is proved by ShaderResources::MovedDispatchBuffers: every moved element is read-only in the program, was read in place when the template was built, is accessible, is within APS5_DISPMOVE_MAX_KIB (default 1024), and has nothing pending over its new range (recorded writes, pending storage images, shadowed units). The dispatch then binds snapshots of the new ranges in a descriptor set of its own that lives with the batch that records it. A refused proof builds the dispatch fresh, as before; an element the program writes is never moved. APS5_NO_DISPATCH_MOVE=1 turns the path off.

The same commit carries the correctness condition the move needs. fastRevalidate proved a template's storage image current from write stamps. cachedStorageTexture answers a storage binding over a registered depth surface with the plane's colour mirror, and no stamp records a depth surface that appears after the template was built. The proof now fails when a registered depth surface covers the image, so the full walk decides and a stale image cannot be copied over the depth image (DepthSurfaceStoreBack). The gap exists for exact-repeat hits too; the move makes it easier to reach. I can split it into its own PR if you prefer.

Review follow-up (second commit, a58a70911): a read-only V# that the build clamps (a size above the descriptor range limit cut to the mapped end, or a stride overhang at the last guest page cut to the allocation end) was compared with the template by its raw size. An unchanged clamped buffer therefore counted as moved, was refused over the limit, and the dispatch was rebuilt every time, where on main it was an exact hit. With the overhang clamp the proof also snapshotted the raw size, past the allocation end that a fresh build bounds. The build and the move proof now take the buffer range from one function (ShaderResources::guestBufferBytes), so clamped sizes are compared with clamped sizes: an unchanged buffer is an exact hit, and a moved one is snapshotted at its clamped range. An overlay without a descriptor set is refused like one that could not be made, and recording one throws, so a moved dispatch can never bind the template's old set. APS5_NO_DISPATCH_MOVE disables the path when set to any value, and APS5_DISPMOVE_MAX_KIB=0 means no cap.

Review follow-up (third commit, 350b8d2b8): a refused move no longer replaces the movable template that serves another address. The dispatch is served by an entry under the old exact key (read-only bases included), or builds one there, next to the movable template; exact-key hits skip the move proof as before. [dispmove] counts rebuilds after a refusal, builds kept beside the template and dispatches served by an exact entry.

Tested

  • Linux (Ubuntu 24.04, Mesa 25.2.8 lavapipe), fork CI at the head 5da6de62a: 494 of 494 tests pass, including agc_driver_dispatch_move, agc_driver_dispatch_move_depth and agc_driver_graphics (agc_driver_dispatch_move now also alternates a hit A with a refused B; the verdict table of agc_driver_graphics covers the clamped oversized V# at the allocation end and at the block start, a raw size that now fits, and the stride overhang).
  • New tests. tests/Graphics.cpp: verdicts of the proof (identical, one and two moved elements, size only, content-key equality, each refusal reason, byte cap). agc_driver_dispatch_move (real device): a read-only input moved between guest blocks, exact repeat, shortened range, driver store over the range, input moved into the unwritten half of the dispatch's own output, input moved onto a range a recorded dispatch still writes; results checked lane by lane, plus the move counters. agc_driver_dispatch_move_depth: a depth surface drawn over the plain storage image a template was built over, planes inside and outside the write watch, imports watched and unwatched; the guard must refuse and the plane must keep what the depth image holds.
  • Windows 11, NVIDIA, Minecraft Dungeons II (PPSA16064), in-world walk at the game's own settings. main (b7951b96a) against the change (2c7add338: the same code behind a switch, APS5_LAB_DISPATCH_MOVE=1; this PR turns it on by default). Three paired rounds, arm order alternating, APS5_NO_PAD_INPUT=1, automatic texture cache budget, trace window 170 s to 190 s. tools/trace_digest.py summary lines:
round arm presents frame p50 / p90 / p99 ms GPU busy per present
1 main 126 160.8 / 184.0 / 239.7 76.6 ms
1 change 136 151.3 / 208.2 / 409.0 66.9 ms
2 main 156 135.1 / 165.5 / 245.2 67.2 ms
2 change 167 120.5 / 158.7 / 271.0 66.1 ms
3 main 134 146.7 / 167.2 / 200.0 71.2 ms
3 change 162 126.3 / 153.4 / 251.6 65.3 ms

Mean FPS 6.91 on main and 7.72 with the change (+11.7 %); every pair favours the change on FPS, frame p50 and GPU busy (-5.6 ms per present on average). p99 is worse with the change in every pair (by 26 to 169 ms), so the gain is in the typical frame, not the spikes. The rows carry no per-class GPU or mutex profile, so this does not claim a mechanism beyond the change itself. Caveat: gameplay rows on this machine also vary with free memory (about 7 to 8 FPS with 7 GiB free against 5.5 FPS below 6 GiB, independent of the arm); alternating arms share most conditions, but three pairs cannot rule it out. The title menu is at main's texture budget limit on both arms (2.90 and 2.84 FPS) and shows no difference. With a fixed APS5_TEXTURE_CACHE_MIB=3072 on both arms (four alternated 200 s title rows each, main f8b22edfb against 89d255c5f) the title is 7.90 against 7.88 FPS, GPU busy 79.5-79.9 ms on both: the change does not move the title menu; its effect is in gameplay. Traces are on the lab machine and I can attach them on request.

  • APS5_VERIFY_PROOFS=1 on the first commit (89d255c5f; the follow-up only changes clamped buffers), same machine and game, one title row and two gameplay walks: 0 disagreements between the proof and the full walk (90,085 checks), no aborts. The move served 28,171 template hits at the title and 230,363 + 263,523 in the walks (443,847 + 506,328 moved buffers), with 0 refused moves; 1,583 / 7,967 / 8,907 hits were exact repeats. An earlier stack that also carried other changes gave the same picture: 0 disagreeing proofs in 185,530 + 24,371 checks (title) and 305,893 + 13,013 (gameplay), pictures unchanged.
  • python3 tools/check_conventions.py --base origin/main passes. Based on f8b22edfb; merges cleanly with current main (3b10c7ef0).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none (PPSA16064 gameplay speed; no Game bring-up discussion yet)
  • GPUs tested: Mesa 25.2.8 lavapipe, Ubuntu 24.04 (all GPU tests); NVIDIA GeForce RTX 5070 Laptop GPU, driver 617.42, Windows 11 26200 (game rows only, GPU tests not run there)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4898315056 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7044). Originally posted by [AlxcBTW](https://github.com/AlxcBTW) on 2026-10-17T07:38:38Z. --- ### What A compute dispatch is served from its cached resource template when the content key matches. The key contained the base address and size of every guest buffer, so a dispatch of the same shader over a read-only buffer at another address missed and was built again. The key now leaves out the base and size of read-only buffers, as a draw's key already does. A hit whose read-only buffers moved is proved by `ShaderResources::MovedDispatchBuffers`: every moved element is read-only in the program, was read in place when the template was built, is accessible, is within `APS5_DISPMOVE_MAX_KIB` (default 1024), and has nothing pending over its new range (recorded writes, pending storage images, shadowed units). The dispatch then binds snapshots of the new ranges in a descriptor set of its own that lives with the batch that records it. A refused proof builds the dispatch fresh, as before; an element the program writes is never moved. `APS5_NO_DISPATCH_MOVE=1` turns the path off. The same commit carries the correctness condition the move needs. `fastRevalidate` proved a template's storage image current from write stamps. `cachedStorageTexture` answers a storage binding over a registered depth surface with the plane's colour mirror, and no stamp records a depth surface that appears after the template was built. The proof now fails when a registered depth surface covers the image, so the full walk decides and a stale image cannot be copied over the depth image (`DepthSurfaceStoreBack`). The gap exists for exact-repeat hits too; the move makes it easier to reach. I can split it into its own PR if you prefer. Review follow-up (second commit, a58a70911): a read-only V# that the build clamps (a size above the descriptor range limit cut to the mapped end, or a stride overhang at the last guest page cut to the allocation end) was compared with the template by its raw size. An unchanged clamped buffer therefore counted as moved, was refused over the limit, and the dispatch was rebuilt every time, where on `main` it was an exact hit. With the overhang clamp the proof also snapshotted the raw size, past the allocation end that a fresh build bounds. The build and the move proof now take the buffer range from one function (`ShaderResources::guestBufferBytes`), so clamped sizes are compared with clamped sizes: an unchanged buffer is an exact hit, and a moved one is snapshotted at its clamped range. An overlay without a descriptor set is refused like one that could not be made, and recording one throws, so a moved dispatch can never bind the template's old set. `APS5_NO_DISPATCH_MOVE` disables the path when set to any value, and `APS5_DISPMOVE_MAX_KIB=0` means no cap. Review follow-up (third commit, 350b8d2b8): a refused move no longer replaces the movable template that serves another address. The dispatch is served by an entry under the old exact key (read-only bases included), or builds one there, next to the movable template; exact-key hits skip the move proof as before. `[dispmove]` counts rebuilds after a refusal, builds kept beside the template and dispatches served by an exact entry. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> - Linux (Ubuntu 24.04, Mesa 25.2.8 lavapipe), fork CI at the head 5da6de62a: 494 of 494 tests pass, including `agc_driver_dispatch_move`, `agc_driver_dispatch_move_depth` and `agc_driver_graphics` (`agc_driver_dispatch_move` now also alternates a hit A with a refused B; the verdict table of `agc_driver_graphics` covers the clamped oversized V# at the allocation end and at the block start, a raw size that now fits, and the stride overhang). - New tests. `tests/Graphics.cpp`: verdicts of the proof (identical, one and two moved elements, size only, content-key equality, each refusal reason, byte cap). `agc_driver_dispatch_move` (real device): a read-only input moved between guest blocks, exact repeat, shortened range, driver store over the range, input moved into the unwritten half of the dispatch's own output, input moved onto a range a recorded dispatch still writes; results checked lane by lane, plus the move counters. `agc_driver_dispatch_move_depth`: a depth surface drawn over the plain storage image a template was built over, planes inside and outside the write watch, imports watched and unwatched; the guard must refuse and the plane must keep what the depth image holds. - Windows 11, NVIDIA, Minecraft Dungeons II (PPSA16064), in-world walk at the game's own settings. `main` (b7951b96a) against the change (2c7add338: the same code behind a switch, `APS5_LAB_DISPATCH_MOVE=1`; this PR turns it on by default). Three paired rounds, arm order alternating, `APS5_NO_PAD_INPUT=1`, automatic texture cache budget, trace window 170 s to 190 s. `tools/trace_digest.py` summary lines: | round | arm | presents | frame p50 / p90 / p99 ms | GPU busy per present | |---|---|---|---|---| | 1 | main | 126 | 160.8 / 184.0 / 239.7 | 76.6 ms | | 1 | change | 136 | 151.3 / 208.2 / 409.0 | 66.9 ms | | 2 | main | 156 | 135.1 / 165.5 / 245.2 | 67.2 ms | | 2 | change | 167 | 120.5 / 158.7 / 271.0 | 66.1 ms | | 3 | main | 134 | 146.7 / 167.2 / 200.0 | 71.2 ms | | 3 | change | 162 | 126.3 / 153.4 / 251.6 | 65.3 ms | Mean FPS 6.91 on `main` and 7.72 with the change (+11.7 %); every pair favours the change on FPS, frame p50 and GPU busy (-5.6 ms per present on average). p99 is worse with the change in every pair (by 26 to 169 ms), so the gain is in the typical frame, not the spikes. The rows carry no per-class GPU or mutex profile, so this does not claim a mechanism beyond the change itself. Caveat: gameplay rows on this machine also vary with free memory (about 7 to 8 FPS with 7 GiB free against 5.5 FPS below 6 GiB, independent of the arm); alternating arms share most conditions, but three pairs cannot rule it out. The title menu is at `main`'s texture budget limit on both arms (2.90 and 2.84 FPS) and shows no difference. With a fixed `APS5_TEXTURE_CACHE_MIB=3072` on both arms (four alternated 200 s title rows each, `main` f8b22edfb against 89d255c5f) the title is 7.90 against 7.88 FPS, GPU busy 79.5-79.9 ms on both: the change does not move the title menu; its effect is in gameplay. Traces are on the lab machine and I can attach them on request. - `APS5_VERIFY_PROOFS=1` on the first commit (89d255c5f; the follow-up only changes clamped buffers), same machine and game, one title row and two gameplay walks: 0 disagreements between the proof and the full walk (90,085 checks), no aborts. The move served 28,171 template hits at the title and 230,363 + 263,523 in the walks (443,847 + 506,328 moved buffers), with 0 refused moves; 1,583 / 7,967 / 8,907 hits were exact repeats. An earlier stack that also carried other changes gave the same picture: 0 disagreeing proofs in 185,530 + 24,371 checks (title) and 305,893 + 13,013 (gameplay), pictures unchanged. - `python3 tools/check_conventions.py --base origin/main` passes. Based on f8b22edfb; merges cleanly with current `main` (3b10c7ef0). ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none (PPSA16064 gameplay speed; no Game bring-up discussion yet) - [x] GPUs tested: Mesa 25.2.8 lavapipe, Ubuntu 24.04 (all GPU tests); NVIDIA GeForce RTX 5070 Laptop GPU, driver 617.42, Windows 11 26200 (game rows only, GPU tests not run there) - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-17 07:49:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-17T07:49:42Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6082 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L4740-4741
PR 6192 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L2731-2732
PR 6438 core/libs/prx/libSceAgcDriver/tests/execution/DepthFastClearHarness.hpp L129
PR 6486 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp L391
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L3702-3704
PR 6498 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L4741
PR 6786 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp L4108
PR 7089 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L3702-3706
PR 7154 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp L2731, L2834

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.

Pull request Shared files not compared
PR 1368 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 1395 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 2434 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4040 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4072 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4448 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
PR 4472 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4650 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4891 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5021 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5431 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5441 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5499 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5500 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5925 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 5987 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 5998 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6012 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6146 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6177 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6188 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6194 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6222 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6235 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6259 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6292 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6297 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6300 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 6320 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6340 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6412 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6414 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6423 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 6454 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6481 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6492 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6535 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6548 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6553 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 6563 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6615 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6636 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6647 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6727 core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 6741 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6783 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6788 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6804 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6808 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6887 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6946 core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6947 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
PR 6965 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6973 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6987 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6989 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 6995 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7002 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7175 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7201 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 7258 core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6231391180 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7044#issuecomment-6231391180). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-17T07:49:42Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6082](https://www.github.com/boykopovar/AnyPS5/pull/6082) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L4740-4741](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L4740-L4741) | | | | [PR 6192](https://www.github.com/boykopovar/AnyPS5/pull/6192) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L2731-2732](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L2731-L2732) | | | | [PR 6438](https://www.github.com/boykopovar/AnyPS5/pull/6438) | `core/libs/prx/libSceAgcDriver/tests/execution/DepthFastClearHarness.hpp` [L129](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/tests/execution/DepthFastClearHarness.hpp#L129) | | | | [PR 6486](https://www.github.com/boykopovar/AnyPS5/pull/6486) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp` [L391](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp#L391)<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L3702-3704](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L3702-L3704) | | | | [PR 6498](https://www.github.com/boykopovar/AnyPS5/pull/6498) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L4741](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L4741) | | | | [PR 6786](https://www.github.com/boykopovar/AnyPS5/pull/6786) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` [L4108](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L4108) | | | | [PR 7089](https://www.github.com/boykopovar/AnyPS5/pull/7089) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L3702-3706](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L3702-L3706) | | | | [PR 7154](https://www.github.com/boykopovar/AnyPS5/pull/7154) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` [L2731](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L2731), [L2834](https://github.com/boykopovar/AnyPS5/blob/b4f05ab328fac5a9c1c458398e55f7ab3bfe8508/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L2834) | | | 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. | Pull request | Shared files not compared | |---|---| | [PR 1368](https://www.github.com/boykopovar/AnyPS5/pull/1368) | `core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4040](https://www.github.com/boykopovar/AnyPS5/pull/4040) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 4072](https://www.github.com/boykopovar/AnyPS5/pull/4072) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4448](https://www.github.com/boykopovar/AnyPS5/pull/4448) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp` | | [PR 4472](https://www.github.com/boykopovar/AnyPS5/pull/4472) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 4650](https://www.github.com/boykopovar/AnyPS5/pull/4650) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 4891](https://www.github.com/boykopovar/AnyPS5/pull/4891) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5431](https://www.github.com/boykopovar/AnyPS5/pull/5431) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 5441](https://www.github.com/boykopovar/AnyPS5/pull/5441) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5500](https://www.github.com/boykopovar/AnyPS5/pull/5500) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 5987](https://www.github.com/boykopovar/AnyPS5/pull/5987) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 5998](https://www.github.com/boykopovar/AnyPS5/pull/5998) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6012](https://www.github.com/boykopovar/AnyPS5/pull/6012) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6146](https://www.github.com/boykopovar/AnyPS5/pull/6146) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6177](https://www.github.com/boykopovar/AnyPS5/pull/6177) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6222](https://www.github.com/boykopovar/AnyPS5/pull/6222) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6259](https://www.github.com/boykopovar/AnyPS5/pull/6259) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6292](https://www.github.com/boykopovar/AnyPS5/pull/6292) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6297](https://www.github.com/boykopovar/AnyPS5/pull/6297) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 6320](https://www.github.com/boykopovar/AnyPS5/pull/6320) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6340](https://www.github.com/boykopovar/AnyPS5/pull/6340) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6414](https://www.github.com/boykopovar/AnyPS5/pull/6414) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6423](https://www.github.com/boykopovar/AnyPS5/pull/6423) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 6454](https://www.github.com/boykopovar/AnyPS5/pull/6454) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6492](https://www.github.com/boykopovar/AnyPS5/pull/6492) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6535](https://www.github.com/boykopovar/AnyPS5/pull/6535) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6548](https://www.github.com/boykopovar/AnyPS5/pull/6548) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6553](https://www.github.com/boykopovar/AnyPS5/pull/6553) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 6563](https://www.github.com/boykopovar/AnyPS5/pull/6563) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6615](https://www.github.com/boykopovar/AnyPS5/pull/6615) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6636](https://www.github.com/boykopovar/AnyPS5/pull/6636) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6647](https://www.github.com/boykopovar/AnyPS5/pull/6647) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6727](https://www.github.com/boykopovar/AnyPS5/pull/6727) | `core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 6741](https://www.github.com/boykopovar/AnyPS5/pull/6741) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6783](https://www.github.com/boykopovar/AnyPS5/pull/6783) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6788](https://www.github.com/boykopovar/AnyPS5/pull/6788) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6804](https://www.github.com/boykopovar/AnyPS5/pull/6804) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6887](https://www.github.com/boykopovar/AnyPS5/pull/6887) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` | | [PR 6965](https://www.github.com/boykopovar/AnyPS5/pull/6965) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp` | | [PR 6973](https://www.github.com/boykopovar/AnyPS5/pull/6973) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6987](https://www.github.com/boykopovar/AnyPS5/pull/6987) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6989](https://www.github.com/boykopovar/AnyPS5/pull/6989) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 6995](https://www.github.com/boykopovar/AnyPS5/pull/6995) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7002](https://www.github.com/boykopovar/AnyPS5/pull/7002) | `core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/ShaderResources.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp`<br>`core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7175](https://www.github.com/boykopovar/AnyPS5/pull/7175) | `core/libs/prx/libSceAgcDriver/tests/Graphics.cpp` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp`<br>`core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/include/DepthSurface.hpp`<br>`core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 7258](https://www.github.com/boykopovar/AnyPS5/pull/7258) | `core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp` |
oneandonlydean commented 2026-10-17 07:51:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-17T07:51:01Z.


Review of 89d255c5f: the move proof looks correct (it mirrors the draw proof and is stricter on storage, recipes can't bypass it, and alignment and pending writes check out). One perf issue needs fixing before merge:

Refusal -> rebuild -> Insert evicts the other template. Read-only addresses are no longer part of the dispatch key. When the same shader alternates over buffer A and buffer B and B's move is refused (over APS5_DISPMOVE_MAX_KIB, pending write, unmapped, no bindings), dispatch builds fresh and inserts under the same key. ResourceCache::Insert (ShaderResources.cpp:3280) erases the existing entry, so A's template (and its recipe, via the weak templateRef) is gone. Then A refuses/moves against B's template, and so on, so you get a rebuild on every dispatch. Before this PR, A and B had separate keys and both exact-hit with recipes. Even when B's moves succeed, B pays a snapshot plus a descriptor set per dispatch and never gets a recipe.

Could you:

  • on a refused move, not replace a template that is serving another address (keep an address-keyed entry for the refused build, or skip the insert);
  • count rebuild-after-refusal in [dispmove];
  • post the [dispmove] refused/filtered counts from the PPSA16064 run? The p99 in your table is worse in all three pairs (+26 to +169 ms), which fits occasional costly paths like this.

Nits:

  • ShaderResources.hpp: two of the three lines of the MarkGpuWrites comment are deleted, leaving // once the work completed. on its own.
  • APS5_DISPMOVE_MAX_KIB=0 means unlimited (the maxBytes != 0 guard); please document it.

Merge note: this has one trivial conflict with #7002 in the PrepareDrawBindings signature (keep this PR's signature plus #7002's synchronizeGuestBuffers(moved) line). It is clean against #6995 and main.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6231402172 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7044#issuecomment-6231402172). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-17T07:51:01Z. --- Review of 89d255c5f: the move proof looks correct (it mirrors the draw proof and is stricter on storage, recipes can't bypass it, and alignment and pending writes check out). One perf issue needs fixing before merge: **Refusal -> rebuild -> `Insert` evicts the other template.** Read-only addresses are no longer part of the dispatch key. When the same shader alternates over buffer A and buffer B and B's move is refused (over `APS5_DISPMOVE_MAX_KIB`, pending write, unmapped, no bindings), `dispatch` builds fresh and inserts under the same key. `ResourceCache::Insert` (ShaderResources.cpp:3280) erases the existing entry, so A's template (and its recipe, via the weak `templateRef`) is gone. Then A refuses/moves against B's template, and so on, so you get a rebuild on every dispatch. Before this PR, A and B had separate keys and both exact-hit with recipes. Even when B's moves succeed, B pays a snapshot plus a descriptor set per dispatch and never gets a recipe. Could you: - on a refused move, not replace a template that is serving another address (keep an address-keyed entry for the refused build, or skip the insert); - count rebuild-after-refusal in `[dispmove]`; - post the `[dispmove]` refused/filtered counts from the PPSA16064 run? The p99 in your table is worse in all three pairs (+26 to +169 ms), which fits occasional costly paths like this. Nits: - ShaderResources.hpp: two of the three lines of the `MarkGpuWrites` comment are deleted, leaving `// once the work completed.` on its own. - `APS5_DISPMOVE_MAX_KIB=0` means unlimited (the `maxBytes != 0` guard); please document it. Merge note: this has one trivial conflict with #7002 in the `PrepareDrawBindings` signature (keep this PR's signature plus #7002's `synchronizeGuestBuffers(moved)` line). It is clean against #6995 and main.
johnmaia commented 2026-10-17 08:20:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by johnmaia on 2026-10-17T08:20:08Z.


In-game run on a real GPU: Epic Mickey: Rebrushed (PPSA15657, UE 4.27), first level. Linux, RX 7600 (RADV NAVI33, Mesa 25.2.8), Ubuntu 24.04, GCC 13.3 Release. Head 89d255c5f against its base main f8b22edfb, three alternated runs each, APS5_PROFILE_DRAW=1. FPS is the mean over 75–180 s after Continue (the cutscene is skipped at 60 s).

The path is used heavily and never refused. A typical 10 s [dispmove] line in the level:

[dispmove] (10 s) 2719 template hits checked: 73 with every read-only buffer where it was built, 2646 with 4979 moved ones (112.34 MiB snapshotted; per dispatch up to 1 KiB 1577, 16 KiB 448, 256 KiB 415, 4 MiB 206, more 0); refused 0 (); stage A dropped cached objects: 0 ()

About 97 % of the template hits had moved buffers, at roughly 11 MiB/s of snapshots.

Run FPS [dispatch] resources / B upload / hook waits (cumulative)
main 1 5.06 63 / 52 / 35 s
this PR 1 4.62 26 / 14 / 5 s
main 2 4.54 38 / 28 / 14 s
this PR 2 5.28 85 / 70 / 52 s
main 3 5.14 87 / 76 / 58 s
this PR 3 4.64 46 / 32 / 12 s
mean main 4.91, this PR 4.85 main 63 s, this PR 52 s (resources)
  • No FPS change I can measure at this run length. The spread between runs (4.5–5.3) is bigger than any difference. Most of the dispatch resource time is hook waits, which vary a lot from run to run.
  • No errors and no device loss. All six runs reached the level and played to the end of the run, with the same number of failed host imports (28–33) as main.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6231668352 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7044#issuecomment-6231668352). Originally posted by [johnmaia](https://github.com/johnmaia) on 2026-10-17T08:20:08Z. --- In-game run on a real GPU: Epic Mickey: Rebrushed (PPSA15657, UE 4.27), first level. Linux, RX 7600 (RADV NAVI33, Mesa 25.2.8), Ubuntu 24.04, GCC 13.3 Release. Head 89d255c5f against its base `main` f8b22edfb, three alternated runs each, `APS5_PROFILE_DRAW=1`. FPS is the mean over 75–180 s after Continue (the cutscene is skipped at 60 s). **The path is used heavily and never refused.** A typical 10 s `[dispmove]` line in the level: ``` [dispmove] (10 s) 2719 template hits checked: 73 with every read-only buffer where it was built, 2646 with 4979 moved ones (112.34 MiB snapshotted; per dispatch up to 1 KiB 1577, 16 KiB 448, 256 KiB 415, 4 MiB 206, more 0); refused 0 (); stage A dropped cached objects: 0 () ``` About 97 % of the template hits had moved buffers, at roughly 11 MiB/s of snapshots. | Run | FPS | `[dispatch]` resources / B upload / hook waits (cumulative) | |---|---|---| | `main` 1 | 5.06 | 63 / 52 / 35 s | | this PR 1 | 4.62 | 26 / 14 / 5 s | | `main` 2 | 4.54 | 38 / 28 / 14 s | | this PR 2 | 5.28 | 85 / 70 / 52 s | | `main` 3 | 5.14 | 87 / 76 / 58 s | | this PR 3 | 4.64 | 46 / 32 / 12 s | | mean | `main` 4.91, this PR 4.85 | `main` 63 s, this PR 52 s (resources) | - No FPS change I can measure at this run length. The spread between runs (4.5–5.3) is bigger than any difference. Most of the dispatch resource time is hook waits, which vary a lot from run to run. - No errors and no device loss. All six runs reached the level and played to the end of the run, with the same number of failed host imports (28–33) as `main`. AI-assisted: yes (Claude Code)
keravyn-ops commented 2026-10-17 09:59:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by keravyn-ops on 2026-10-17T09:59:23Z.


AMD / Windows run of this PR at 89d255c5f: Radeon 780M (RDNA 3, 0x15bf), AMD driver 25.10.20.01 (32.0.21020.1007), Windows 11 Home 10.0.26100, WinLibs GCC 15.2.0 r7, Release.

Every ctest entry built from the test targets this PR changes passes (17):

  • agc_driver_undithered_alpha_to_coverage_state (0.11 s): 297: Existing undithered alpha-to-coverage states passed
  • agc_driver_msaa_dcc_state (0.02 s): 298: Multisampled DCC state checks passed
  • agc_driver_alpha_to_coverage_state (0.02 s): 299: Alpha-to-coverage state and refusal tests passed
  • agc_driver_prepared_graphics_prebuild_unset (0.17 s): 304: prebuild policy native readback passed
  • agc_driver_prepared_graphics_prebuild_0 (0.13 s): 305: prebuild policy native readback passed
  • agc_driver_prepared_graphics_prebuild_1 (0.13 s): 306: prebuild policy native readback passed
  • agc_driver_graphics (4.77 s): 339: Graphics validation tests passed
  • agc_driver_dispatch_move (0.25 s): 388: dispatch move tests passed
  • agc_driver_dispatch_move_depth (0.38 s): 389: dispatch move depth tests passed
  • agc_driver_prepared_graphics (0.13 s): 604: prepared graphics ABI tests passed
  • agc_driver_prepared_unregistered_graphics (0.16 s): 607: prepared unregistered graphics tests passed
  • agc_sparse_buffer_holes (0.04 s): 726: sparse buffer hole tests passed
  • agc_pipeline_journal (0.07 s): 730: pipeline journal recipe, record and replay tests passed
  • agc_descriptor_pool_reset_failure (0.02 s)
  • agc_driver_address_space_teardown (0.02 s): 785: address-space device teardown releases cached guest allocations
  • agc_compute_descriptor_layout_flags (0.02 s): 816: Descriptor layout native and captured binding flags passed
  • agc_driver_covered_centroid_state (0.02 s): 817: Covered-centroid and multisample state checks passed

AI-assisted: yes (runs made on the device above).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6232561333 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7044#issuecomment-6232561333). Originally posted by [keravyn-ops](https://github.com/keravyn-ops) on 2026-10-17T09:59:23Z. --- AMD / Windows run of this PR at 89d255c5f: Radeon 780M (RDNA 3, 0x15bf), AMD driver 25.10.20.01 (32.0.21020.1007), Windows 11 Home 10.0.26100, WinLibs GCC 15.2.0 r7, Release. Every ctest entry built from the test targets this PR changes passes (17): - `agc_driver_undithered_alpha_to_coverage_state` (0.11 s): `297: Existing undithered alpha-to-coverage states passed` - `agc_driver_msaa_dcc_state` (0.02 s): `298: Multisampled DCC state checks passed` - `agc_driver_alpha_to_coverage_state` (0.02 s): `299: Alpha-to-coverage state and refusal tests passed` - `agc_driver_prepared_graphics_prebuild_unset` (0.17 s): `304: prebuild policy native readback passed` - `agc_driver_prepared_graphics_prebuild_0` (0.13 s): `305: prebuild policy native readback passed` - `agc_driver_prepared_graphics_prebuild_1` (0.13 s): `306: prebuild policy native readback passed` - `agc_driver_graphics` (4.77 s): `339: Graphics validation tests passed` - `agc_driver_dispatch_move` (0.25 s): `388: dispatch move tests passed` - `agc_driver_dispatch_move_depth` (0.38 s): `389: dispatch move depth tests passed` - `agc_driver_prepared_graphics` (0.13 s): `604: prepared graphics ABI tests passed` - `agc_driver_prepared_unregistered_graphics` (0.16 s): `607: prepared unregistered graphics tests passed` - `agc_sparse_buffer_holes` (0.04 s): `726: sparse buffer hole tests passed` - `agc_pipeline_journal` (0.07 s): `730: pipeline journal recipe, record and replay tests passed` - `agc_descriptor_pool_reset_failure` (0.02 s) - `agc_driver_address_space_teardown` (0.02 s): `785: address-space device teardown releases cached guest allocations` - `agc_compute_descriptor_layout_flags` (0.02 s): `816: Descriptor layout native and captured binding flags passed` - `agc_driver_covered_centroid_state` (0.02 s): `817: Covered-centroid and multisample state checks passed` AI-assisted: yes (runs made on the device above).
AlxcBTW commented 2026-10-17 12:16:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-17T12:16:33Z.


@oneandonlydean thanks, all fixed in 350b8d2b8 (fork CI 494 of 494).

  • Refused move no longer evicts. When a hit on the movable template is refused, the dispatch is served by an entry under the old exact key (read-only bases included), or builds one there, next to the movable template. It no longer rebuilds under the movable key. Exact-key hits skip the move proof, as before this PR. So A stays an exact hit while it alternates with a refused B, and B gets its own exact entry and recipe. Stage A (PrepareDispatch) takes the same route. [dispmove] now ends with "after a refusal: N rebuilt, N inserted beside the movable template (kept), N served by an exact entry". tests/execution/DispatchMove.cpp has an A/B alternation with a refused B: after the first round no rebuilds, every return to A is one exact hit, every B is served by its exact entry.
  • MarkGpuWrites comment restored to the three lines on main.
  • APS5_DISPMOVE_MAX_KIB=0 means no cap. That is in the PR text now, together with APS5_NO_DISPATCH_MOVE disabling on any value.
  • I left the PrepareDrawBindings signature alone, so the #7002 conflict stays the one-liner you describe.

PPSA16064 counts (89d255c5f, APS5_VERIFY_PROOFS=1, summed [dispmove] 10 s windows):

row hits checked exact moved (buffers) refused
title, 200 s 29,754 1,583 28,171 (38,793) 0
gameplay walk 1 238,330 7,967 230,363 (443,847) 0
gameplay walk 2 272,430 8,907 263,523 (506,328) 0

So on this title the refusal path never ran, and the p99 tail in the table does not come from refusal rebuilds. The slowest frames in those trace windows are long Driver.Packet slices on queue 0x20 with large memory_wait shares, on both arms. I haven't decomposed the p99 further, so I'm not claiming a cause for it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6233775188 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7044#issuecomment-6233775188). Originally posted by [AlxcBTW](https://github.com/AlxcBTW) on 2026-10-17T12:16:33Z. --- @oneandonlydean thanks, all fixed in 350b8d2b8 (fork CI 494 of 494). - **Refused move no longer evicts.** When a hit on the movable template is refused, the dispatch is served by an entry under the old exact key (read-only bases included), or builds one there, next to the movable template. It no longer rebuilds under the movable key. Exact-key hits skip the move proof, as before this PR. So A stays an exact hit while it alternates with a refused B, and B gets its own exact entry and recipe. Stage A (`PrepareDispatch`) takes the same route. `[dispmove]` now ends with "after a refusal: N rebuilt, N inserted beside the movable template (kept), N served by an exact entry". `tests/execution/DispatchMove.cpp` has an A/B alternation with a refused B: after the first round no rebuilds, every return to A is one exact hit, every B is served by its exact entry. - **`MarkGpuWrites` comment** restored to the three lines on `main`. - **`APS5_DISPMOVE_MAX_KIB=0`** means no cap. That is in the PR text now, together with `APS5_NO_DISPATCH_MOVE` disabling on any value. - **I left the `PrepareDrawBindings` signature alone,** so the #7002 conflict stays the one-liner you describe. **PPSA16064 counts** (89d255c5f, `APS5_VERIFY_PROOFS=1`, summed `[dispmove]` 10 s windows): | row | hits checked | exact | moved (buffers) | refused | |---|---:|---:|---:|---:| | title, 200 s | 29,754 | 1,583 | 28,171 (38,793) | 0 | | gameplay walk 1 | 238,330 | 7,967 | 230,363 (443,847) | 0 | | gameplay walk 2 | 272,430 | 8,907 | 263,523 (506,328) | 0 | So on this title the refusal path never ran, and the p99 tail in the table does not come from refusal rebuilds. The slowest frames in those trace windows are long `Driver.Packet` slices on queue 0x20 with large `memory_wait` shares, on both arms. I haven't decomposed the p99 further, so I'm not claiming a cause for it.
jotitadev commented 2026-10-17 13:35:42 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-17T13:35:42Z.

Review: COMMENTED


A hardware run of the new GPU tests (the description runs them on lavapipe only), plus one gap in agc_driver_dispatch_move_depth.

Machine: Ubuntu 26.04, i7-8700, GCC 15.2, Release, BUILD_TESTING=ON. NVIDIA GeForce RTX 3070 (driver 595.99.02) and lavapipe (Mesa 26.0.3, LLVM 21.1.8) on the same host. Head 350b8d2b8 merged onto main 12a71f3f5 (clean). ANYPS5_NO_SHADER_CACHE=1, -j1 --timeout 30.

Run RTX 3070 lavapipe
agc_driver_graphics, agc_driver_dispatch_move, agc_driver_dispatch_move_depth pass 3/3 pass
^agc (638 tests), PR vs main no new failures (636/638; agc_driver_f16_fma_denormal_modes and agc_driver_fma_mix_f16_denormal_modes fail on main on this GPU too) 638/638 on both

The previous head a58a70911 gave the same results on both devices. With APS5_NO_DISPATCH_MOVE=1 both new tests skip.

The depth guard's refusal is caught only by its counter. I removed the two refusals the PR adds in fastRevalidate and fastRevalidateEach and kept the counter increment:

         if (DepthSurfaceOverlaps(context.device, address, bytes)) {
             depthGuardRefusals.fetch_add(1, std::memory_order_relaxed);
-            return fail(FastFail::Depth);
         }

(and the same for return false; in fastRevalidateEach). agc_driver_dispatch_move_depth and agc_driver_dispatch_move still pass 3/3 on the 3070 and on lavapipe. So the lane checks and the plane checks pass with or without the refusal, and only the DepthGuardRefusals() > refusals check would notice the guard gone. If the case is meant to show a stale image copied over the depth image without the guard, it doesn't on these two devices. I did not check whether a later step of the proof refuses instead.

Not run: Windows, AMD, Minecraft Dungeons II or any title.

GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02) and lavapipe (Mesa 26.0.3), Ubuntu 26.04

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5557980089 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7044#pullrequestreview-5557980089). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-17T13:35:42Z. **Review:** COMMENTED --- A hardware run of the new GPU tests (the description runs them on lavapipe only), plus one gap in `agc_driver_dispatch_move_depth`. **Machine:** Ubuntu 26.04, i7-8700, GCC 15.2, Release, `BUILD_TESTING=ON`. NVIDIA GeForce RTX 3070 (driver 595.99.02) and lavapipe (Mesa 26.0.3, LLVM 21.1.8) on the same host. Head `350b8d2b8` merged onto `main` `12a71f3f5` (clean). `ANYPS5_NO_SHADER_CACHE=1`, `-j1 --timeout 30`. | Run | RTX 3070 | lavapipe | |---|---|---| | `agc_driver_graphics`, `agc_driver_dispatch_move`, `agc_driver_dispatch_move_depth` | pass 3/3 | pass | | `^agc` (638 tests), PR vs `main` | no new failures (636/638; `agc_driver_f16_fma_denormal_modes` and `agc_driver_fma_mix_f16_denormal_modes` fail on `main` on this GPU too) | 638/638 on both | The previous head `a58a70911` gave the same results on both devices. With `APS5_NO_DISPATCH_MOVE=1` both new tests skip. **The depth guard's refusal is caught only by its counter.** I removed the two refusals the PR adds in `fastRevalidate` and `fastRevalidateEach` and kept the counter increment: ```diff if (DepthSurfaceOverlaps(context.device, address, bytes)) { depthGuardRefusals.fetch_add(1, std::memory_order_relaxed); - return fail(FastFail::Depth); } ``` (and the same for `return false;` in `fastRevalidateEach`). `agc_driver_dispatch_move_depth` and `agc_driver_dispatch_move` still pass 3/3 on the 3070 and on lavapipe. So the lane checks and the plane checks pass with or without the refusal, and only the `DepthGuardRefusals() > refusals` check would notice the guard gone. If the case is meant to show a stale image copied over the depth image without the guard, it doesn't on these two devices. I did not check whether a later step of the proof refuses instead. Not run: Windows, AMD, Minecraft Dungeons II or any title. GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02) and lavapipe (Mesa 26.0.3), Ubuntu 26.04 Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
screamm commented 2026-10-17 14:27:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by screamm on 2026-10-17T14:27:22Z.


Cross-validation on Windows 11 Pro 26220, NVIDIA GeForce RTX 4070 (driver 596.21), Ryzen 7 5700X, WinLibs MinGW-w64 GCC 15.2 r7, Release. Head 350b8d2b8 merged on main c9e6c45de (clean). The main runs use the same tree with the six changed source files taken from c9e6c45de.

  • Build: full build and libs pass.
  • agc_driver_dispatch_move, agc_driver_dispatch_move_depth, agc_driver_graphics: 3 of 3 each. On this device the moved-buffer path runs; the "device kept no template" skip does not appear. The A/B case prints A alternating with a refused input: checked 3, exact 2, moved 0, refused 1 and the input back after the refusals: checked 1, exact 1.
  • Negative control, both mutations in one rebuild, tests kept:
    • (1) A refused move skips the exact-key lookup and rebuilds under the movable key, as in 89d255c5f. agc_driver_dispatch_move fails 3 of 3 with the input back at the template's address was not an exact hit after the refusals. So the test catches the eviction @oneandonlydean described, and the new head fixes it.
    • (2) The DepthSurfaceOverlaps check removed from fastRevalidate/fastRevalidateEach, counter included. agc_driver_dispatch_move_depth fails 3 of 3 with the template over the plain storage image was proved current although a depth surface covers its memory. That failure comes from the counter check, so it neither confirms nor refutes @jotitadev's point that the lane and plane checks pass without the refusal. I did not run that exact variant.
    • Restored: 3 of 3 again. With APS5_NO_DISPATCH_MOVE=1 both new tests skip.
  • GPU tests -R '^agc_driver_(compute|dispatch|template|buffer)' (-j1): 17 of 17. All GPU tests (-j1 -R '^agc_driver_'): 488 of 492 pass, 2 skipped; the 2 failures, agc_driver_f16_fma_denormal_modes and agc_driver_fma_mix_f16_denormal_modes, are the known failures on main on this GPU (#7100). Non-GPU suite: 880 of 883, 2 skipped; hardware_oracle_compare timed out under load and passes serially. check_conventions.py and git diff --check pass.

Titles: PPSA16064 and PPSA15657 are not available to me. I ran the local titles with compute dispatches: 60 s each, no input, order PR / main / PR / main, APS5_PROFILE_DRAW=1 APS5_PROFILE_GPU=1 APS5_TRACE_SUMMARY_EVERY=10. Medians over the five 10 s windows.

Title Build Frames Frame p50 / p90 ms GPU busy / present Compute dispatches Template hits / misses
PPSA99005 PS5 OpenGL Showcase this PR 506 / 500 113.7 / 118.4, 114.9 / 120.3 46.5 / 46.8 ms 851 / 851 12 / 853, 4 / 865
PPSA99005 PS5 OpenGL Showcase main 506 / 491 113.5 / 118.3, 117.1 / 122.6 46.5 / 46.8 ms 853 / 831 0 / 867, 0 / 847
  • Showcase misses every dispatch on main on the read-only V# base (miss churn (dispatch) ... GuestBuffers (V# word N/0/0/0)), the case this PR targets.
  • With the PR, stage A drops almost every hit with pending write: 849 and 861 per run. Only 12 and 4 moves are served, each of one buffer of at most 1 KiB, and refused at record is 0.
  • Each drop is rebuilt as an exact-key entry beside the template (kept 849 / 861). None is served again (served by an exact entry 0), since every dispatch uses a new address. The cache size stays as on main: 869 / 881 entries against 885 / 865.
  • So the path does nothing measurable here, and frame times overlap.
  • Correctness: no [gpu] errors and no device loss. 12 frame dumps per run, none black, with mean-brightness sequences that match main dump by dump. The scene is animated, so pixel equality is not meaningful.
  • PPSA99082 OpenNOW: 8 presents and 0 compute dispatches on both builds; the 55 s screenshots are pixel-identical.
  • No stop line in any of the 8 runs; all were killed at 60 s (still running after 60s, killed (app.exe)).

A small point on the log: [dispmove] prints refused 0 () next to after a refusal: 849 rebuilt, because the stage A drops are counted under "rebuilt" but not under "refused".

Not checked: AMD, Intel, Linux; the PR's two titles; a title that reaches the moved path in volume; APS5_VERIFY_PROOFS=1.

Written with Claude Code assistance (validation by a subagent, reviewed in this session).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6235075851 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7044#issuecomment-6235075851). Originally posted by [screamm](https://github.com/screamm) on 2026-10-17T14:27:22Z. --- Cross-validation on Windows 11 Pro 26220, NVIDIA GeForce RTX 4070 (driver 596.21), Ryzen 7 5700X, WinLibs MinGW-w64 GCC 15.2 r7, Release. Head `350b8d2b8` merged on main `c9e6c45de` (clean). The main runs use the same tree with the six changed source files taken from `c9e6c45de`. - Build: full build and `libs` pass. - `agc_driver_dispatch_move`, `agc_driver_dispatch_move_depth`, `agc_driver_graphics`: 3 of 3 each. On this device the moved-buffer path runs; the "device kept no template" skip does not appear. The A/B case prints `A alternating with a refused input: checked 3, exact 2, moved 0, refused 1` and `the input back after the refusals: checked 1, exact 1`. - Negative control, both mutations in one rebuild, tests kept: - (1) A refused move skips the exact-key lookup and rebuilds under the movable key, as in 89d255c5f. `agc_driver_dispatch_move` fails 3 of 3 with `the input back at the template's address was not an exact hit after the refusals`. So the test catches the eviction @oneandonlydean described, and the new head fixes it. - (2) The `DepthSurfaceOverlaps` check removed from `fastRevalidate`/`fastRevalidateEach`, counter included. `agc_driver_dispatch_move_depth` fails 3 of 3 with `the template over the plain storage image was proved current although a depth surface covers its memory`. That failure comes from the counter check, so it neither confirms nor refutes @jotitadev's point that the lane and plane checks pass without the refusal. I did not run that exact variant. - Restored: 3 of 3 again. With `APS5_NO_DISPATCH_MOVE=1` both new tests skip. - GPU tests `-R '^agc_driver_(compute|dispatch|template|buffer)'` (`-j1`): 17 of 17. All GPU tests (`-j1 -R '^agc_driver_'`): 488 of 492 pass, 2 skipped; the 2 failures, `agc_driver_f16_fma_denormal_modes` and `agc_driver_fma_mix_f16_denormal_modes`, are the known failures on main on this GPU (#7100). Non-GPU suite: 880 of 883, 2 skipped; `hardware_oracle_compare` timed out under load and passes serially. `check_conventions.py` and `git diff --check` pass. Titles: PPSA16064 and PPSA15657 are not available to me. I ran the local titles with compute dispatches: 60 s each, no input, order PR / main / PR / main, `APS5_PROFILE_DRAW=1 APS5_PROFILE_GPU=1 APS5_TRACE_SUMMARY_EVERY=10`. Medians over the five 10 s windows. | Title | Build | Frames | Frame p50 / p90 ms | GPU busy / present | Compute dispatches | Template hits / misses | |---|---|---|---|---|---|---| | PPSA99005 PS5 OpenGL Showcase | this PR | 506 / 500 | 113.7 / 118.4, 114.9 / 120.3 | 46.5 / 46.8 ms | 851 / 851 | 12 / 853, 4 / 865 | | PPSA99005 PS5 OpenGL Showcase | main | 506 / 491 | 113.5 / 118.3, 117.1 / 122.6 | 46.5 / 46.8 ms | 853 / 831 | 0 / 867, 0 / 847 | - Showcase misses every dispatch on main on the read-only V# base (`miss churn (dispatch) ... GuestBuffers (V# word N/0/0/0)`), the case this PR targets. - With the PR, stage A drops almost every hit with `pending write`: 849 and 861 per run. Only 12 and 4 moves are served, each of one buffer of at most 1 KiB, and `refused` at record is 0. - Each drop is rebuilt as an exact-key entry beside the template (`kept` 849 / 861). None is served again (`served by an exact entry` 0), since every dispatch uses a new address. The cache size stays as on main: 869 / 881 entries against 885 / 865. - So the path does nothing measurable here, and frame times overlap. - Correctness: no `[gpu]` errors and no device loss. 12 frame dumps per run, none black, with mean-brightness sequences that match main dump by dump. The scene is animated, so pixel equality is not meaningful. - PPSA99082 OpenNOW: 8 presents and 0 compute dispatches on both builds; the 55 s screenshots are pixel-identical. - No stop line in any of the 8 runs; all were killed at 60 s (`still running after 60s, killed (app.exe)`). A small point on the log: `[dispmove]` prints `refused 0 ()` next to `after a refusal: 849 rebuilt`, because the stage A drops are counted under "rebuilt" but not under "refused". Not checked: AMD, Intel, Linux; the PR's two titles; a title that reaches the moved path in volume; `APS5_VERIFY_PROOFS=1`. Written with Claude Code assistance (validation by a subagent, reviewed in this session).
AlxcBTW commented 2026-10-17 18:04:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-17T18:04:13Z.


@screamm thanks for the cross-check and the negative controls. You were right about the log: stage A drops were counted under "rebuilt" but not under "refused". The [dispmove] line now reads refused N (reasons) at stage A (the hit was dropped before the record), M (reasons) at record, and the "after a refusal" counts are unchanged. 5da6de62a only changes that line, no behaviour change; fork CI 494 of 494.

On the Showcase: every hit there drops at stage A on a pending write over the moved range and every dispatch uses a new address, so the path stays idle, with no cost and no gain. On PPSA16064 it is the other way round: 0 refusals and about 97 % of template hits served moved.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6238254205 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7044#issuecomment-6238254205). Originally posted by [AlxcBTW](https://github.com/AlxcBTW) on 2026-10-17T18:04:13Z. --- @screamm thanks for the cross-check and the negative controls. You were right about the log: stage A drops were counted under "rebuilt" but not under "refused". The `[dispmove]` line now reads `refused N (reasons) at stage A (the hit was dropped before the record), M (reasons) at record`, and the "after a refusal" counts are unchanged. 5da6de62a only changes that line, no behaviour change; fork CI 494 of 494. On the Showcase: every hit there drops at stage A on a pending write over the moved range and every dispatch uses a new address, so the path stays idle, with no cost and no gain. On PPSA16064 it is the other way round: 0 refusals and about 97 % of template hits served moved.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!7044
No description provided.