Skip to content

fix(agc): keep PS4 depth planes coherent with buffer reads of their memory - #9895

Open
savvaniss wants to merge 15 commits into
boykopovar:mainfrom
savvaniss:fix/gcn-depth-plane-buffer-memory
Open

savvaniss wants to merge 15 commits into
boykopovar:mainfrom
savvaniss:fix/gcn-depth-plane-buffer-memory

Conversation

@savvaniss

@savvaniss savvaniss commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What

Get-fix#20, moved upstream as Get-fix asked. #9431 is on main now, so this PR's diff is only the change below.

A depth surface keeps its depth in a Vulkan image. #7154 keeps a depth plane coherent with buffer reads and writes of its memory:

  • a plane drawn since its last store is stored into guest memory when a buffer upload, a GuestBuffers V#, an image lookup or a pending-store flush overlaps it;
  • a plane the guest wrote is reloaded at the next bind.

It only takes single-sample 32-bit planes with the PS5's 64 KiB Z swizzle (SW_MODE 24). A PS4 DB_Z_INFO names a GB_TILE_MODE index, not a swizzle mode. So a PS4 plane never took part, and a buffer read of it saw whatever guest memory held.

Risk (CUSA03312) reads its depth that way in every board frame. On the Hasbro experiment stack (test/ps4-stubs, RX 9070 XT) the frame does this:

  • a full-screen draw with DB_RENDER_CONTROL = 0x60 over the scene depth: 2048x1152 D32_SFLOAT_S8_UINT, DB_Z_INFO = 0xa0000003, so tile index 0 (Depth2D64);
  • ACQUIRE_MEM with CP_COHER_CNTL = 0x84c44000 (DB action) over the scene plane and over a second 9 MB buffer;
  • DISPATCH_DIRECT 0x2400 x 1 x 1, which is 9,216 groups of 64 threads at 16 bytes each. It copies the 9,437,184-byte plane into the second buffer with buffer loads and stores;
  • the depth-of-field compute reads that copy through an R32F Depth2D64 T# (1920x1080, pitch 2048) and writes its circle of confusion.

The copy carried stale memory, so the whole board was out of focus. Menus and 2D screens were sharp. Monopoly Plus, in the same pack, reads its depth through a T# smaller than the padded plane; that view reaches this PR's store through #7154's image-lookup flush (see Tested).

This PR:

PS5 planes are unchanged.

Since #9026 a plane is stored in 64 KiB units. A PS4 plane is tracked as one unit (SizeUnits), so it is stored and reloaded whole. With 64 KiB units, the Depth2D256 case below left the texels past its first unit unstored, even with a read in every unit. A debt entry of its own says so. D16, stencil and multisampled PS4 planes still keep depth in the host image only. main's stencil store (#12210) needs the PS5 swizzle in StencilMirrorable, so it does not take a PS4 plane.

Source for TILE_MODE_INDEX. Nothing here is an AMD statement about Liverpool or a console measurement:

This code does not read DB_DEPTH_INFO, so a title whose two registers disagreed would be stored in the index's tiling. The debt entry records that.

#9672 (Get-fix#9 upstream) adds DepthTarget::gcn next to the new field. The two compose, and whichever lands second rebases a neighbouring line and recomputes the guard.

Tested

Return to a tiling, 2 Nov. Head c72cf633cd, test-only. oneandonlydean's review: going back to a tiling whose surface still exists. TileModeSwitch now binds the first tiling again without writing and compares a draw at 0.5 under LESS with the plane's bytes in that tiling, on a new surface and on a reused one (a sampled texture held across the switch, DepthSurfacesSerial unchanged). No driver change was needed. Removing the SyncFromMemory call on that bind, hiding the store from the reused surface, or removing the store each fails it at its own check (see the thread). agc_driver_gcn_depth_plane_buffer_memory passes, 1 of 1 on the RX 9070 XT, no VUID- line. Not rerun: the other 34 tests of the 1 Nov run (no driver code changed), the same test on main, the flip tests, Linux, games.

Tile-mode switch, 1 Nov. Head 55f884b209 (0b365d9926 plus a shorter debt entry). oneandonlydean's review: a surface reused across a tile-mode change stored in its old layout. agc_driver_gcn_depth_plane_buffer_memory gains TileModeSwitch on one 512x256 allocation, Depth2D64 then Depth2D256 and the reverse. Removing the tile compare, the store at the switch or the reload each fails it at its own check (see the thread). 35 of 35 pass once on the RX 9070 XT: agc_driver, agc_driver_pm4, agc_driver_graphics, agc_driver_gcn_detile, agc_driver_gcn_depth_plane_buffer_memory, agc_driver_resource_cache_replaced_texture and every agc_driver_depth_* test, no VUID- line. Not rerun: the same set on main, the flip tests, Linux (no struct under the size guards changed), games.

Windows 11 Pro 26300, WinLibs GCC 15.2.0, Release, AMD Radeon RX 9070 XT (driver 32.0.31041.1004), ANYPS5_GPU=AMD.

Merge of main de83e8f270, 31 Oct. Head 5d1381c40e. The only conflict was in docs/dev/debt/libSceAgcDriver.md: both sides kept. agc_driver_gcn_depth_plane_buffer_memory, agc_driver_depth_fast_clear_submit and agc_driver_graphics pass, 3 of 3 on the RX 9070 XT, no VUID- line. Not rerun: the other tests, Linux (main changed no struct under the size guards in this merge), games.

Base. This branch is now 853389c92c: main 5b913d40c6 merged in (d8a0a2734b), then the guard bump, the decode test and a debt line. Every file #9431 touched takes main's version. git diff 5b913d40c6 853389c92c holds only this PR's ten files. git merge-tree with main d2250771ab has no conflicts; that merge was not built. The Windows and Linux runs below were on 4c37f8af0c; 853389c92c adds one debt sentence to it.

  • New agc_driver_gcn_depth_plane_buffer_memory runs a Depth2D64 and a Depth2D256 PS4 target, each two macro tiles wide and high (512x256 for Depth2D64):

    • it draws depth 0.75, then 0.25 over the left half and 0.5 in a 6x7 block, fetches vertices from the plane (a buffer read), and checks every texel at its GCN tiled offset;
    • it then writes 0.25 to the left half and 0.75 to the right half of the tiled plane, and checks pixel by pixel that a draw at 0.5 under LESS passes exactly on the right half.

    The test harness gains an optional GCN tile mode on Surface and an optional scissor in DrawOptions.

  • New GcnDepthTileModeTests in agc_driver_graphics decodes DB_Z_INFO through DecodeState: 0xa0000003 with DB_DEPTH_SIZE for 2048x1152 gives Depth2D64 at that size, index 2 gives Depth2D256, index 7 gives DepthPrt1K, the field above the index changes nothing, a PS4 surface with no depth plane stays unset, and a PS5 DB_Z_INFO stays unset.

  • Revert checks on 4c37f8af0c, one rebuild each. Each test fails as shown and passes again with the files restored:

    Removed Test Failure
    DepthSurface.cpp, GuestTextureResource.cpp and State.cpp as on 5b913d40c6, headers kept agc_driver_gcn_depth_plane_buffer_memory PS4 depth tile mode 19 (512x256): after a buffer read of the depth plane, texel 0,0 holds 0.000000 at its tiled offset, expected 0.250000
    The gcnTileMode test in SizeUnits (one-unit rule) agc_driver_gcn_depth_plane_buffer_memory PS4 depth tile mode 21 (256x128): after a buffer read of the depth plane, texel 0,64 holds 0.000000 at its tiled offset, expected 0.250000
    The decode line in State.cpp agc_driver_graphics PS4 DB_Z_INFO 0xa0000003 did not decode as Depth2D64
    Shift by 21 instead of 20 agc_driver_graphics PS4 DB_Z_INFO TILE_MODE_INDEX 2 did not decode as Depth2D256
    Mask of 15 instead of 7 agc_driver_graphics PS4 DB_Z_INFO bits above TILE_MODE_INDEX changed the depth tiling
    The zFormat != 0 test agc_driver_graphics a PS4 surface without a depth plane took a depth tiling
    The if (gcn) scope (PS5 decode also takes the index) agc_driver_graphics a PS5 DB_Z_INFO took a GCN depth tiling
  • Validation layer: run with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ctest -V, on main 5b913d40c6 and on this branch. The tests:

    • agc_driver_gcn_depth_plane_buffer_memory, agc_driver, agc_driver_pm4, agc_driver_pm4_replay, agc_driver_graphics, agc_driver_register_key, agc_driver_gcn_detile and agc_driver_pattern_buffer_fill
    • agc_driver_flip and the 17 video_out_flip_* modes
    • agc_gcn_decode, texture_format_lookup, agc_driver_resource_cache_replaced_texture and agc_depth_copy_kept_bytes
    • the 29 agc_driver_depth_* tests, among them agc_driver_depth_plane_buffer_memory, agc_driver_depth_fast_clear and agc_driver_depth_fast_clear_submit

    Results:

    • main: 58 of 58 pass (the new test is not on main).
    • This branch: 59 of 59 pass.
    • Neither log has a VUID- line or was not found but was requested by env var VK_INSTANCE_LAYERS. Every Selected GPU line names the RX 9070 XT (49 on main, 50 here).
  • Linux: WSL Ubuntu, g++ 15.2.0, cmake 4.2.3, Unix Makefiles, -j4, from a git archive of this code on the Linux filesystem.

    • A plain configure stops at CMakeLists.txt:513 and :521, because the machine has no X11 or audio development packages. In that local copy only, those two FATAL_ERRORs became warnings. FFmpeg came from the project's ffmpeg-linux-x64.zip through FFMPEG_PREBUILT_DIR.
    • Before the bump, PipelineJournal.cpp stopped at the guard with (928 == 920). ShaderStages stays at 164.
    • Built after the bump: shader_recompiler_agc_driver, agc_driver_pm4_tests, agc_driver_graphics_tests, agc_driver_depth_plane_buffer_memory_tests and agc_driver_gcn_depth_plane_buffer_memory_tests, and so all of libSceAgcDriver. That includes Graphics/src/PipelineJournal.cpp and core/shader/recompiler/ShaderDiskCache.cpp, with their size guards active.
    • Ran: those four tests, 4 of 4 pass. agc_driver_depth_plane_buffer_memory and agc_driver_gcn_depth_plane_buffer_memory ran on llvmpipe (LLVM 21.1.8); the other two print no Selected GPU line.
    • Not run on Linux: every other test, a hardware GPU, the validation layer, and any build with SDL's X11 or audio backends.
  • Risk (CUSA03312): its board is sharp with a local stand-in that stores the same plane in the same tiling on the DB-flush ACQUIRE_MEM. That stand-in ran on ps4/limbo-gpu at 93eeee0141 (feat: run PS4 games on the AGC driver — Limbo (CUSA01664) in game (integration branch) #6977's head then), with the Get-fix pull requests and local stand-ins for sceGnmDrawInitDefaultHardwareState200 and sceGnmUpdate*Shader; that base predates fix(agc): keep depth planes coherent with buffer reads and writes of their memory #7154. This exact commit wasn't run in the title, which also needs feat(libSceGnmDriver): build PS4 command buffers and submit them #9432.

  • tools/check_conventions.py --base origin/main passes.

  • tools/pr_overlap.py --branch pr9895-local (this commit), against main d2250771ab. Six pull requests conflict with this PR's lines:

    All of them compose, and whichever lands second resolves the conflict and recomputes the guard if State changed. Another 64 pull requests conflict with main themselves, so the tool could not compare them; 41 of those share a file with this PR's code or tests, among them feat: run PS4 games on the AGC driver — Limbo (CUSA01664) in game (integration branch) #6977 and feat(libSceGnmDriver): build PS4 command buffers and submit them #9432.

  • Head 224af33ff1 (2026-11-03): a docs-only commit on 55cc111fe4 that drops this PR's clause from the PS4 render-target debt entry, as XairRrR's review of 55cc111fe4 suggested; the entry is now identical to main's and the PS4 depth-plane entry still states the tiling. tools/check_conventions.py --base origin/main (1e658521a0) passes. No code changed, so nothing was rebuilt or rerun.

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: CUSA03312 Hasbro Family Fun Pack (CUSA03312) #7198
  • GPUs tested: AMD Radeon RX 9070 XT, driver 32.0.31041.1004, Windows 11 Pro 26300
  • AI-assisted: yes

🤖 Generated with Claude Code

…emory

A depth surface keeps its depth in a Vulkan image. boykopovar#7154
stores a single-sample 32-bit plane with the 64 KiB Z swizzle into guest
memory when a buffer read overlaps it, and reloads it when the guest wrote
it. A PS4 depth target never took part: its DB_Z_INFO names a GB_TILE_MODE
index, not a swizzle mode, so the plane kept whatever guest memory held.

Risk (CUSA03312) decompresses its scene depth, flushes the depth block's
cache over it and copies the 9 MB plane into a second buffer with a compute
shader (buffer loads and stores). Its depth of field reads that copy
through an R32F Depth2D64 T#, so with stale bytes the whole board was out
of focus.

A PS4 depth target now records the GB_TILE_MODE of its depth plane
(DB_Z_INFO TILE_MODE_INDEX, mapped as the T# decode maps a tiling index).
Such a 32-bit plane is mirrored in that tiling with DB_DEPTH_SIZE as its
pitch, through the existing store and reload paths.

Since boykopovar#9026 a plane is stored in 64 KiB units. A PS4 plane is tracked as
one unit, so it is stored and reloaded whole: with 64 KiB units the
Depth2D256 case left the texels past its first unit unstored.

agc_driver_gcn_depth_plane_buffer_memory draws three depths into
Depth2D64 and Depth2D256 PS4 targets, reads the plane as a buffer and
checks every texel at its GCN tiled offset. It then writes a left/right
pattern into the tiled plane and checks that a LESS draw passes exactly
where memory holds the greater depth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

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 1395 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 4448 docs/dev/debt/libSceAgcDriver.md
PR 5372 docs/dev/debt/libSceAgcDriver.md
PR 5925 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6186 docs/dev/debt/libSceAgcDriver.md
PR 6188 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 6280 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6412 docs/dev/debt/libSceAgcDriver.md
PR 6808 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7085 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7642 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7668 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 8246 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 9289 docs/dev/debt/libSceAgcDriver.md
PR 9356 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9387 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9508 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9592 docs/dev/debt/libSceAgcDriver.md
PR 9712 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 9748 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9915 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10193 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 10351 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 10359 docs/dev/debt/libSceAgcDriver.md
PR 10469 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 10492 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 10497 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 10743 docs/dev/debt/libSceAgcDriver.md
PR 11444 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 11551 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 11587 docs/dev/debt/libSceAgcDriver.md
PR 11825 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 12792 docs/dev/debt/libSceAgcDriver.md
PR 12904 docs/dev/debt/libSceAgcDriver.md
PR 13147 docs/dev/debt/libSceAgcDriver.md
PR 13809 docs/dev/debt/libSceAgcDriver.md
PR 13863 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13920 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13928 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 13929 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14032 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 14473 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 14871 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
PR 14944 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 14964 docs/dev/debt/libSceAgcDriver.md
PR 15058 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 15136 docs/dev/debt/libSceAgcDriver.md
PR 15456 docs/dev/debt/libSceAgcDriver.md
PR 15529 docs/dev/debt/libSceAgcDriver.md
PR 15548 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 15570 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 16260 docs/dev/debt/libSceAgcDriver.md
PR 16427 docs/dev/debt/libSceAgcDriver.md
PR 16935 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 17022 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 17056 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 17611 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 18082 docs/dev/debt/libSceAgcDriver.md
PR 18177 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
docs/dev/debt/libSceAgcDriver.md
PR 19428 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 19557 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 19610 docs/dev/debt/libSceAgcDriver.md
PR 19620 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 19821 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 19852 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 20010 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20041 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 20153 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 20518 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 20519 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 20728 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 21948 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22062 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22140 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 22251 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22328 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22424 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
PR 22434 docs/dev/debt/libSceAgcDriver.md
PR 22439 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22514 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 22531 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 22647 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 22692 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 22697 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23252 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23258 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23281 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23545 core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
PR 23553 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
PR 23739 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 23811 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 23818 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24049 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24083 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 24327 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DepthFastClearHarness.hpp
PR 24781 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 25489 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 25534 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 25557 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 25561 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 25574 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 25684 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
PR 25716 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 26040 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 26084 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 26630 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 26691 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 26802 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 26819 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 27133 docs/dev/debt/libSceAgcDriver.md
PR 27437 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 27672 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 27698 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 27966 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28059 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28077 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28090 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 28118 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28142 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28166 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28176 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28186 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28197 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28209 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28229 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28250 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28290 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28291 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28292 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/execution/DepthFastClearHarness.hpp
PR 28293 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28311 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28350 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28372 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 28384 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 28396 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28400 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28411 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28470 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 28487 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 28488 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28492 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 28520 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28559 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 28564 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28566 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28586 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28590 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28605 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28665 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28667 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28668 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28673 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 28752 core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
PR 28765 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28804 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28808 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28858 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28865 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28875 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28917 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28925 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28929 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28933 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28934 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28936 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28938 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28945 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28952 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28956 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 28957 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 28958 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 29032 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29033 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29036 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29042 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29051 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29058 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29060 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29066 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29067 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29069 core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29076 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29084 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29085 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29086 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29087 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29089 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29090 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29091 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29095 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
docs/dev/debt/libSceAgcDriver.md
PR 29096 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29097 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29098 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29101 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29102 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29103 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29104 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29105 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29106 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29107 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29108 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
PR 29110 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29113 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29115 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29116 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29117 core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29118 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29119 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29120 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29121 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29123 core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp
core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestTextureResource.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29185 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29187 core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp
PR 29200 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@savvaniss This PR now conflicts with main in core/libs/prx/libSceAgcDriver/Graphics/include/GuestTextureResource.hpp, core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp, docs/dev/debt/libSceAgcDriver.md. Main’s texture metadata and depth-storage changes overlap this PR’s PS4 depth-plane coherence checks. Could you reconcile PS4 plane visibility and the retained layout checks with the current storage path?

Brings in main 07da04f through the boykopovar#9431 merge offered as
Get-fix#22. The PS4 tile mode lands in main's decodeDepthPlane,
which now holds boykopovar#9431's PS4 depth decode. The debt file keeps this
branch's PS4 depth plane entry under the guest-memory entry it extends,
followed by main's shared-memory and unmapped-plane entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@savvaniss

savvaniss commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor Author

@oneandonlydean merged, no rebase. The head is now 3e32049166: main 07da04f947 merged into #9431's head (offered to Get-fix as Get-fix#22), then merged into this branch.

On the RX 9070 XT with the validation layer:

  • 50 of 51 tests pass here, and 48 of 49 on main. agc_driver_depth_plane_partial_store fails the same way on both.
  • agc_driver_gcn_depth_plane_buffer_memory passes.
  • Its two revert checks fail as before: tile mode 19 at texel 0,0 with the three source files reverted, and tile mode 21 at texel 0,64 without the one-unit rule.
  • No VUID- lines.

AI-assisted: yes (Claude Code)

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 25, 2026
@babyhuey

Copy link
Copy Markdown
Contributor

This head 3e32049166 merged onto current main 442c43a574d (clean merge, local only) doesn't compile, which CI's skipped product jobs would hit on every host (Linux, anyps5-build CI image, GCC 13, configured fresh after the merge):

core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp:41:29: error: static assertion failed: State changed: update CanonicalPipelineState and the recipe codec
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp:42:36: error: static assertion failed: ShaderStages changed: update the recipe codec

These are sizeof checks that main keeps current for the pipeline journal (last changed in 52f36c8, 10/22), so a change to State or ShaderStages also needs CanonicalPipelineState and the recipe codec updated, plus the expected sizes.

AI-assisted: yes (Claude Code)

@ycbuzi

ycbuzi commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

A Windows run of this head on two NVIDIA generations and an AMD iGPU: Windows 11 Home 10.0.26200, WinLibs GCC 15.2.0 r7 (MinGW-w64 UCRT), Release. 3e32049166 merged onto main 204c6747d0 with no conflicts. One GPU at a time with ANYPS5_GPU, plus ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1, run with ctest -V --repeat until-fail:2. Each log's Selected GPU line names the device.

device result
GeForce RTX 4070 SUPER (0x2783, Ada), NVIDIA 616.92 55 of 55 pass, both runs
GeForce GTX 1650 SUPER (0x2187, Turing), NVIDIA 616.92 55 of 55 pass, both runs
AMD Radeon(TM) Graphics (1002:164e, RDNA2 iGPU), AMD 32.0.21030.2001 55 of 55 pass, both runs

Update: in the run above, the video_out_flip_* tests skipped. My build directory had a stale ANYPS5_VIDEO_OUT_TEST_DRIVER=offscreen cached from an older default; main's Windows default is windows. I reran with windows: 3e32049166 merged onto main 035ac96edd, the same 55 tests with the 16 video_out_flip_* tests included. All 55 pass on the 4070 SUPER, the 1650 SUPER and the Radeon iGPU, both runs, and none skip, so the flip path ran on all three this time. No negative control: the tests use the GCN tile modes this PR adds (kGcnDisplay1D and others), so they don't build with main's sources.

AI-assisted: yes (Claude Code)

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 27, 2026

@XairRrR XairRrR left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — changes requested

The PR's own change is small and its new test catches what it claims, but the head no longer merges with main, and on Linux/GCC the head itself does not compile: the new DepthTarget::gcnTileMode field trips PipelineJournal.cpp's sizeof(State) guard.

What I ran

  • Head: 3e32049166cb89ae1de8e76b0ea92afba67e507d (merge base with main: 07da04f947)
  • main: 3a2b91981651569163768854a1fcdc7193b6667b
  • Arch Linux 7.2.11-zen, GCC 16.2.1, Release, Ninja, Intel Core i9-14900KF, NVIDIA GeForce RTX 4070 Ti SUPER (driver 615.78.08), in a clean worktree
git fetch origin main pull/9895/head:refs/review/9895
git checkout --detach origin/main
git merge --no-ff --no-edit refs/review/9895          # conflicts, aborted
git checkout --detach refs/review/9895
git diff --check origin/main...refs/review/9895
python3 tools/check_conventions.py --base origin/main
cmake -S . -B build
cmake --build build -j10 --target agc_driver_gcn_depth_plane_buffer_memory_tests agc_driver_depth_plane_buffer_memory_tests
# attribution: build only the journal object on the PR's second parent (merge/9431-main, 4e8243ac48)
git checkout --detach refs/review/9895^2
ninja -C build core/libs/prx/libSceAgcDriver/CMakeFiles/libSceAgcDriver.dir/Graphics/src/PipelineJournal.cpp.o
git checkout --detach refs/review/9895
# local-only edit so the tests could run: State 840 -> 856, ShaderStages 112 -> 116 in PipelineJournal.cpp
cmake --build build -j10 --target agc_driver_gcn_depth_plane_buffer_memory_tests agc_driver_depth_plane_buffer_memory_tests \
  agc_driver_depth_plane_fill_tests agc_driver_depth_plane_guest_layers_tests agc_driver_depth_plane_partial_store_tests agc_driver_depth_plane_sampling_tests
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ANYPS5_NO_SHADER_CACHE=1 ANYPS5_REQUIRE_VULKAN=1 VK_LOADER_DEBUG=error,warn,layer \
  ctest --test-dir build -j4 -R depth_plane -V --output-on-failure

Results

Check Result
Merge onto main 3a2b919816 Conflicts in Graphics/include/State.hpp and Graphics/src/State.cpp
git diff --check clean
tools/check_conventions.py --base origin/main passed
Build of the head as pushed (Linux, GCC 16.2.1) fails: PipelineJournal.cpp static assertions (see below)
PipelineJournal.cpp.o on the second parent 4e8243ac48 (#9431 merged with main, without this PR) fails too, with sizeof(State) 848 and sizeof(ShaderStages) 116
agc_driver_gcn_depth_plane_buffer_memory (local size-guard edit, validation layer) Passed, 0.25 s; the write-watched half ran (no "not write-watched" line)
All 8 depth_plane tests (local size-guard edit, validation layer, -j4) 8/8 passed, including agc_driver_depth_plane_partial_store
VUID- lines / was not found but was requested by env var VK_INSTANCE_LAYERS 0 / 0; the loader log shows VK_LAYER_KHRONOS_validation inserted; Selected GPU is the RTX 4070 Ti SUPER
Build failure on the head
FAILED: core/libs/prx/libSceAgcDriver/CMakeFiles/libSceAgcDriver.dir/Graphics/src/PipelineJournal.cpp.o
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp:41:29: error: static assertion failed: State changed: update CanonicalPipelineState and the recipe codec
   41 | static_assert(sizeof(State) == 840, "State changed: update CanonicalPipelineState and the recipe codec");
      • the comparison reduces to '(856 == 840)'
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp:42:36: error: static assertion failed: ShaderStages changed: update the recipe codec
   42 | static_assert(sizeof(ShaderStages) == 112, "ShaderStages changed: update the recipe codec");
      • the comparison reduces to '(116 == 112)'

On 4e8243ac48 (without this PR's commits) the same guard reports (848 == 840) and (116 == 112).

Merge conflicts with main 3a2b919
CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp
CONFLICT (content): Merge conflict in core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp

State.hpp: main's ShaderStages::hullWaveSize/tessellationGeometry against #9431's legacyVertex, and DrawKeyRegisters (50 entries on main, 52 on the branch). State.cpp: decodeDepthPlane (the block that holds this PR's gcnTileMode line), DecodeShaderStages (main's TessellationGeometry path) and the DecodeColorFormat/DecodeGcnColorBuffer neighbourhood.

Test run (local size-guard edit)
833: [src/VulkanDevice.cpp:1270 VulkanDevice] Selected GPU name=NVIDIA GeForce RTX 4070 Ti SUPER vendor=0x10de device=0x2705 subgroup=32
833: GCN depth plane buffer memory tests passed
2/8 Test  #833: agc_driver_gcn_depth_plane_buffer_memory ..........   Passed    0.57 sec
...
100% tests passed out of 8

Negative control

Both on the head with the local size-guard edit:

  1. With DepthSurface.cpp, GuestTextureResource.cpp and State.cpp restored from 4e8243ac48 (headers kept), the new test fails: PS4 depth tile mode 19 (512x256): after a buffer read of the depth plane, texel 0,0 holds 0.000000 at its tiled offset, expected 0.250000.
  2. With only !target.gcnTileMode.has_value() removed from SizeUnits, it fails: PS4 depth tile mode 21 (256x128): after a buffer read of the depth plane, texel 0,64 holds 0.000000 at its tiled offset, expected 0.250000.

Both match the description. Restoring the files makes the test pass again.

Findings

Blocking

  1. The head does not compile on Linux x86_64 with libstdc++. core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp:41-42 already guards sizeof(State) == 840 and sizeof(ShaderStages) == 112 at the PR's own merge base 07da04f947, but only under __linux__ && __x86_64__ && __GLIBCXX__. That is why the Windows runs in the description and in the comments built. This confirms babyhuey's report and adds two things. The head fails as pushed, not only after a merge onto a newer main. And this PR's own std::optional<TextureTileMode> gcnTileMode in DepthTarget (Graphics/include/State.hpp:97) adds 8 bytes to State (848 → 856) on top of #9431's growth.
    • CanonicalPipelineState copies only format and samples of the depth target, so the field doesn't need to reach the recipe codec.
    • Fix: once #9431 has updated the guards, bump the State size to its new value here.
  2. Conflicts with current main in Graphics/include/State.hpp and Graphics/src/State.cpp. Both conflicts come from #9431's side of the branch, but they include decodeDepthPlane, which holds this PR's gcnTileMode line. The checklist line "Based on current main" does not hold: the merge base is 3,853 commits behind main. Fix: bring #9431 (or merge/9431-main) up to current main, then this branch.

Non-blocking

  1. The new test sets Surface::gcnTileMode directly through the harness. Nothing covers the DB_Z_INFO decode at Graphics/src/State.cpp:420, which maps TILE_MODE_INDEX (bits 22:20) through GcnTileMode and leaves it unset when Z_FORMAT is 0. A small decode test with a register set like the one in the description (DB_Z_INFO = 0xa0000003 → kGcnDepth2D64, with a non-zero index such as 2 → kGcnDepth2D256) would cover it.
  2. Under the one-unit rule, every flush that overlaps a stale PS4 plane stores the whole plane: 9 MB for the 1920x1088 case in the description. The debt entry documents this, which is fine. A speed claim or follow-up that restores finer units would need tools/trace_digest.py numbers.

Not verified

  • I could not build or test a merge with main, because it conflicts, so the PR is tested only against its 07da04f base, plus the local size-guard edit.
  • I did not run the main-side validation-layer comparison for the AGC tests: the merged tree does not exist, and the PR head shares no build state with current main. The PR-side run had no VUID- lines.
  • I built and ran only the 8 depth_plane tests, not the wider agc_driver_*, video_out_flip_* or agc_gcn_decode set from the description.
  • I did not check the PS4 behaviour (Risk, CUSA03312) or any console comparison.
  • Whether DB_Z_INFO.TILE_MODE_INDEX is the authoritative depth tiling on Liverpool, rather than DB_DEPTH_INFO's array mode and macro-tile fields as on other GFX7 parts, is taken from the shadPS4 approach the debt entry cites. I did not verify it.

To get this to a good state

  1. Rebase or merge #9431 onto current main, then this branch, resolving State.hpp and State.cpp.
  2. Update the sizeof(State) guard in PipelineJournal.cpp for gcnTileMode (and ShaderStages, if #9431 has not), and build on Linux/GCC so the guard is checked.
  3. Optionally add a decode test for DB_Z_INFO.TILE_MODE_INDEX → DepthTarget::gcnTileMode.
  4. Re-run the validation-layer test set on the updated head.

savvaniss and others added 3 commits October 30, 2026 12:31
boykopovar#9431 is on main now, so every file it touched takes main's version. Only
this PR's own changes stay on top. In the debt file, this PR's PS4 entry sits
after main's "Depth planes in guest memory" entry, with main's text of that
entry and of its new stencil entry; StencilMirrorable still needs the PS5
swizzle, so a PS4 stencil plane stays in the host image as the entry says.
The entry now names its sources for TILE_MODE_INDEX.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The new optional adds 8 bytes to State (928 on Linux x86_64 with libstdc++).
The journal needs no other change: CanonicalPipelineState and the recipe codec
keep only the depth target's format and samples, so the field never reaches a
recipe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Mode

Covers Risk's 0xa0000003 as Depth2D64, indices 2 and 7, the field above the
index, a PS4 surface with no depth plane, and a PS5 DB_Z_INFO.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adam25136

adam25136 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Windows and NVIDIA Blackwell run, for head d70e6e1bc1 merged into main b11c7bf84f (git merge --no-ff, clean merge).

GPU NVIDIA GeForce RTX 5080 (10de:2c02), driver 617.42 (32.0.16.1742), Vulkan 1.4.351
Host Windows 10 Pro 22H2 (19045), i9-12900KF, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON
Selection 2,237 of 4,006 tests, chosen by tools/select_tests.py select for the 10 changed files
Run select_tests.py ctest build --parallel 4 --timeout 120 with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1; main b11c7bf84f ran its full suite (4,005 tests) the same way on this machine
Result 2,224 passed, 12 skipped, 1 failed, 0 new
Validation The 1,292 agc_* tests of the selection again with VK_LAYER_KHRONOS_validation 1.4.367 (the Khronos nightly built from 3baa2b8), ctest -V --parallel 4, implicit layers disabled; main ran its 1,352 the same way. This change logs the same 155 messages in the same 24 tests as main, and no ID that main doesn't have for the same test; the new tests log none

The failure, agc_driver_direct_write_completion, fails on main b11c7bf84f here too, with and without the layer. It is #15564, which #15610 fixes on this machine. The 12 skips also skip on main here. No selected test took over 30 s.

The new agc_driver_gcn_depth_plane_buffer_memory passed, and so did agc_driver_graphics with the new GcnDepthTileModeTests and the 16 agc_driver_depth_plane_* tests in the selection.

Risk and Monopoly Plus were not run.

Edited after posting: added the validation row and main's full-suite run, both on the same b11c7bf84f.

AI-assisted: yes. Claude Code ran the builds and tests and drafted this comment; the numbers are from the runs on this machine.

@TechLevelZero

Copy link
Copy Markdown
Contributor

✅ AMD GPU test: passed

PR head d70e6e1 merged onto main 5b1d381 · tested 2026-11-04 13:05 UTC · 39 min

GPU AMD Radeon RX 6300 (RADV NAVI24), driver Mesa 25.2.8-0ubuntu0.24.04.4, Vulkan 1.4.318
Host Ubuntu 26.04.1 LTS, kernel 7.0.0-42-generic, container ubuntu:24.04
Logs build and test logs for this run
Build ✅ passed (Release, -DANYPS5_ENABLE_SPIRV_TOOLS=ON)
Tests ✅ 2,762 passed · 9 failed (0 new, 8 also fail on main, 1 unstable on main) · 57 skipped (ANYPS5_REQUIRE_VULKAN=1)
Test setup CPU-only tests without a GPU; GPU tests (and any CPU-only test that failed or skipped without one) once on the GPU with VK_LAYER_KHRONOS_validation and ANYPS5_NO_SHADER_CACHE=1; main ran the same way
Test selection 2,828 of 3,883 tests run: the ones this change can reach, chosen by tools/select_tests.py from main's build graph
Vulkan validation ✅ no new validation IDs vs main (1029 tests run on the GPU)
Slow tests (>30 s, GPU tests timed with validation layers) ⚠️ agc_driver_pipeline_journal 120.1 s, ⚠️ public_headers 70.8 s, ⚠️ agc_driver_image_sample_unnormalized 50.5 s, ⚠️ agc_driver_lazy_resolved_abi_switch_set 42.8 s, ⚠️ agc_driver_lazy_resolved_abi 39.8 s
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)
agc_driver_pipeline_journal: failed in 8 of the last 10 main runs
Failing on main too (8, not counted against this PR)
agc_driver_image_table
agc_driver_native_depth_bda_clear
agc_driver_native_depth_buffer_clear
agc_driver_native_depth_clears
agc_submit_progress
agc_submit_progress_no_timeline
guest_mmap_executable
guest_socket_options_multicast
Validated but not compared (56, not in the main baseline's validation pass)
agc_driver_gcn_depth_plane_buffer_memory
public_headers
public_headers_compile_0
public_headers_compile_10
public_headers_compile_12
public_headers_compile_14
public_headers_compile_16
public_headers_compile_18
public_headers_compile_2
public_headers_compile_20
public_headers_compile_21
public_headers_compile_22
public_headers_compile_23
public_headers_compile_24
public_headers_compile_25
public_headers_compile_26
public_headers_compile_27
public_headers_compile_28
public_headers_compile_29
public_headers_compile_30
public_headers_compile_31
public_headers_compile_32
public_headers_compile_33
public_headers_compile_34
public_headers_compile_35
public_headers_compile_36
public_headers_compile_37
public_headers_compile_38
public_headers_compile_39
public_headers_compile_4
public_headers_compile_40
public_headers_compile_41
public_headers_compile_42
public_headers_compile_43
public_headers_compile_44
public_headers_compile_45
public_headers_compile_46
public_headers_compile_47
public_headers_compile_48
public_headers_compile_49
public_headers_compile_50
public_headers_compile_51
public_headers_compile_52
public_headers_compile_53
public_headers_compile_54
public_headers_compile_55
public_headers_compile_56
public_headers_compile_57
public_headers_compile_58
public_headers_compile_59
public_headers_compile_6
public_headers_compile_60
public_headers_compile_61
public_headers_compile_62
public_headers_compile_63
public_headers_compile_8
Validation IDs already present on main (8 IDs in 534 tests)
VUID-VkDeviceCreateInfo-pNext-pNext (534 tests): agc_driver, agc_driver_address_passes, agc_driver_alias_copy_label, agc_driver_alpha_to_coverage, agc_driver_array_layer_target, agc_driver_bc_block_copy, agc_driver_bda_anchor_reads, agc_driver_bda_span_reads, and 526 more
VUID-vkCmdCopyImage-srcImage-01548 (4 tests): agc_driver_depth_clear_hle, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-vkCmdCopyImage-srcImage-01551 (4 tests): agc_driver_depth_clear_hle, agc_driver_depth_storage_dispatch, agc_driver_depth_surface_from_storage, agc_driver_dispatch_move_depth
VUID-VkPipelineColorBlendStateCreateInfo-pAttachments-00605 (1 test): agc_driver_prepared_exports
VUID-VkSamplerCreateInfo-addressModeU-01079 (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeU-parameter (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeV-parameter (1 test): agc_driver_image_gather_volume
VUID-VkSamplerCreateInfo-addressModeW-parameter (1 test): agc_driver_image_gather_volume
Skipped (57)
agc_driver_bda_reads_shadowed_results: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_bda_reads_shadowed_results_per_build: skipped, the device reports watched host memory written when it imports or reads it
agc_driver_copied_writer_label_order: skipped, the device reports a minStorageBufferOffsetAlignment of 4, so the dispatch binds its record at +0x1004 in place and nothing is written back; the test needs an alignment above 4
agc_driver_float16_unused_nan_payloads: skipped, the device has no native f16 conversions with RTE rounding and kept f16 denormals
agc_driver_gcn_display_present: skipped, no display: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
agc_driver_image_table_vouched_lookups: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a watched imported table cannot be vouched for
agc_driver_linear_target_direct_write_completion: skipped, the device does not keep host imports write-watched, so no completion stamp over the target is tracked
agc_driver_sparse_dma_buf_import: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_driver_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_driver_unit_shadow_budget: skipped, the device does not import watched host memory for unit shadows
agc_host_import_sparse: skipped, host imports are unavailable: /dev/udmabuf is not accessible
agc_idle_publish_wait: skipped, the device reports 4 of 4 host-imported pages written after a GPU read, so a forced watch of the import reads its submissions as CPU stores
agc_import_settle_initial_dcc: skipped, the device has no deferred settle of host imports: imports under 1 MiB wait for one only on Windows
agc_shadowed_key_stores: skipped, the device imports no watched host memory under a unit shadow
agc_small_tiled_shadow_label: skipped, host imports are unavailable: the test block is not imported and watched
agc_storage_clear_hand_over: skipped, the device imports no watched host memory for the clear-key hand-over
agc_storage_pending_key_refresh: skipped, refreshes over a pending key store are not testable here
agc_unit_shadow: skipped, the device does not import watched host memory for unit shadows
agc_unit_shadow_completion_store: skipped, the device reports watched host memory written when it imports or reads it
guest_http_uri_locale: 
guest_video_out_color_space: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_hdr: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_high_frame_rate: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_output_mode: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_resolution_status: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
guest_video_out_wqhd_detection: skipped, no display or Vulkan device: SDL_InitSubSystem(VIDEO | GAMECONTROLLER) failed: wayland,x11 not available
video_out_flip_aftergpu: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_backtoback: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_controls: skipped, no display or Vulkan device: DisplayWindow: Vulkan support is either not configured in SDL or not available in current SDL video driver (offscreen) or platform
video_out_flip_cpuflip: skipped, no display or Vulkan device: DisplayWindow: Vulka
Reproduce
git fetch origin d70e6e1bc1caaee46f386a47afb104518e0be9f3 5b1d381d5ad5d9f923326b18479c3bd889cdd588
git checkout 5b1d381d5ad5d9f923326b18479c3bd889cdd588 && git merge --no-ff d70e6e1bc1caaee46f386a47afb104518e0be9f3
git submodule update --init --recursive
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DANYPS5_ENABLE_SPIRV_TOOLS=ON
cmake --build build && cmake --build build --target libs
VK_DRIVER_FILES=/nonexistent/icd.json ctest --test-dir build -E '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 12 --output-on-failure
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \
  ctest --test-dir build -R '^(agc|shader|recompiler|videoout|video_out|guest_video_out|vulkan)|gpu' --timeout 120 --parallel 16 --output-on-failure
# failures are then re-run alone: --timeout 360 --parallel 2; new validation IDs: the test alone, twice, --parallel 1

Automated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs.

@blawesom

Copy link
Copy Markdown
Contributor

Validation: PR #9895 head d70e6e1 — PASS (Linux / AMD RX 9070 XT)

Automated sequential-queue validation (item 3 of 10). Frozen head validated as-is, no rebase.

Environment

  • CachyOS, kernel 7.3.4-1-cachyos, Ryzen 7 9800X3D, AMD Radeon RX 9070 XT (RADV GFX1201), /dev/kfd present
  • Validation layer: VK_LAYER_KHRONOS_validation via VK_ADD_LAYER_PATH=/home/benj/scratch/vvl-layer
  • Parallelism capped at 12 (CMAKE_BUILD_PARALLEL_LEVEL=12, cmake --build build --parallel 12)

SHAs

Build

  • PR tree configured: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DBUILD_TESTING=ON -> exit 0
  • cmake --build build --parallel 12 -> exit 0, wall 278 s (logs: t3-pr9895-configure.log / t3-pr9895-build.log)
  • Submodules: git submodule update --init --recursive exit 0 (one interrupted partial clone of 3rdparty/LibAtrac9 repaired with reset --hard at the pinned submodule SHA; no source edits)

Focused test pattern (identical matched set in both trees, verified by diff of ctest -N -R name lists)

agc_driver_depth_plane_(buffer_memory|cpu_write_after|fill$|guest_layers|partially_unmapped_plane|partial_store|sampling|unmapped_plane)|agc_driver_gcn_(detile|padded_depth_sampling|buffer_format_lookup|compare_exec_writes|display_present$|sin_near_zero)|agc_driver_buffer_load_store(_draw_pipeline)?$

23 tests (t3-pattern.txt, t3-pattern-base-names.txt / t3-pattern-pr-names.txt): agc_driver_buffer_load_store, agc_driver_buffer_load_store_draw_pipeline, agc_driver_depth_plane_{buffer_memory, cpu_write_after_memo, cpu_write_after_page_unwatch, cpu_write_after_partial_unwatch, fill, guest_layers, partially_unmapped_plane, partial_store, partial_store_buffer_copy, partial_store_image_copy, partial_store_unimported, sampling, sampling_evicting, unmapped_plane, unmapped_plane_fill}, agc_driver_gcn_{buffer_format_lookup, compare_exec_writes, detile, display_present, padded_depth_sampling, sin_near_zero}. The PR-only test agc_driver_gcn_depth_plane_buffer_memory and 8 tests that exist only on current main (stale branch base) are excluded so both trees run the identical set.

Test runs (both trees, identical env, timeout 3600)

ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_ADD_LAYER_PATH=/home/benj/scratch/vvl-layer VK_LOADER_DEBUG=layer ANYPS5_GPU='AMD Radeon RX 9070 XT' ctest --test-dir build -R '<pattern>' -V
  • base-main: exit 0, 100% tests passed out of 23 (wall 3 s) — t3-tests-base.log
  • pr-9895: exit 0, 100% tests passed out of 23 (wall 2 s) — t3-tests-pr.log
  • Per-test pass/fail/skip comparison: identical (23x Passed, 0 Failed, 0 Skipped in both)

Layer checks (per AGENTS.md)

  • Insert instance layer "VK_LAYER_KHRONOS_validation" present 23/23 in BOTH logs
  • was not found but was requested by env var VK_INSTANCE_LAYERS ABSENT in BOTH logs

VUID / hazard diff

  • VUID-* IDs: none in either log (diff empty). SYNC-HAZARD IDs: none in either log. Validation Error/Warning lines: 0 in both.
  • The only [ERROR] lines are 46 identical lsfg-vk loader messages in both logs, unrelated to validation.
  • New IDs introduced by the PR: NONE.

Verdict

PASS — build clean, 23/23 focused AGC depth-plane/buffer-read/GCN tests pass identically on main and the PR head on Linux/AMD (RADV GFX1201) with the Khronos validation layer active; no new validation IDs.

Limitations

  • Scoped to Linux + AMD Radeon RX 9070 XT (RADV GFX1201) only; no NVIDIA/Intel/Windows/macOS runs.
  • Focused 23-test pattern, not the full suite; the PR-only test agc_driver_gcn_depth_plane_buffer_memory was not run against a baseline (it does not exist on main) and is outside the identical-set comparison.
  • PR branch base is older than current main (8 agc tests present only on main were excluded); validation compares the frozen head against origin/main = 0f4538f.
  • Single run per tree; no repetition, so intermittent faults are not excluded.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — no blocking findings

The inspected code adds PS4 depth-plane mirroring and retile handling; this review is incomplete because I did not read every changed file or run checks on this head.

What I ran

Head: d70e6e1bc1caaee46f386a47afb104518e0be9f3. I used repo_read.py reader tools to inspect the prepared description, commits, manifest and diff, plus targeted source ranges. I ran no build or tests; the reported test results are from the author.

Results

Check Result Note
Diff and targeted source review passed Core decode and mirror paths inspected
Build and tests on this head not run Author-reported results only
Full changed-file review not run tests/Graphics.cpp was excluded from the review folder

Findings

Blocking

None in the code inspected.

Non-blocking

The author reports GPU and Linux test results on earlier heads, but the exact reviewed head was not built or tested during this review.

Not verified

I read the prepared description.md, commits.md, manifest.json, and diff.patch. I inspected targeted ranges in GuestTextureResource.cpp, State.cpp, State.hpp, DepthSurface.cpp, and PipelineJournal.cpp; the diff includes changes in GuestTextureResource.hpp, DepthFastClearHarness.hpp, GcnDepthPlaneBufferMemory.cpp, and libSceAgcDriver.md. I did not read the full changed files, and tests/Graphics.cpp was excluded as too large for the review folder. Console behavior and the author-reported tests were not independently verified.

To get this to a good state

Nothing is required. Optional: run the relevant checks on this exact head and complete review of the excluded test file before relying on a formal merge decision.

Sources

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* docs needs rebase Conflicts with main, rebase needed unblocks title Names a title ID on the Unblocks line

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants