Repository navigation
Conversation
…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>
|
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.
|
|
@savvaniss This PR now conflicts with main in |
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>
|
@oneandonlydean merged, no rebase. The head is now
On the RX 9070 XT with the validation layer:
AI-assisted: yes (Claude Code) |
|
This head These are AI-assisted: yes (Claude Code) |
|
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.
Update: in the run above, the AI-assisted: yes (Claude Code) |
XairRrR
left a comment
There was a problem hiding this comment.
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 withmain: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-failureResults
| 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:
- With
DepthSurface.cpp,GuestTextureResource.cppandState.cpprestored from4e8243ac48(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. - With only
!target.gcnTileMode.has_value()removed fromSizeUnits, 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
- The head does not compile on Linux x86_64 with libstdc++.
core/libs/prx/libSceAgcDriver/Graphics/src/PipelineJournal.cpp:41-42already guardssizeof(State) == 840andsizeof(ShaderStages) == 112at the PR's own merge base07da04f947, 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 newermain. And this PR's ownstd::optional<TextureTileMode> gcnTileModeinDepthTarget(Graphics/include/State.hpp:97) adds 8 bytes toState(848 → 856) on top of #9431's growth.CanonicalPipelineStatecopies onlyformatandsamplesof the depth target, so the field doesn't need to reach the recipe codec.- Fix: once #9431 has updated the guards, bump the
Statesize to its new value here.
- Conflicts with current
maininGraphics/include/State.hppandGraphics/src/State.cpp. Both conflicts come from #9431's side of the branch, but they includedecodeDepthPlane, which holds this PR'sgcnTileModeline. The checklist line "Based on currentmain" does not hold: the merge base is 3,853 commits behindmain. Fix: bring #9431 (ormerge/9431-main) up to currentmain, then this branch.
Non-blocking
- The new test sets
Surface::gcnTileModedirectly through the harness. Nothing covers theDB_Z_INFOdecode atGraphics/src/State.cpp:420, which mapsTILE_MODE_INDEX(bits 22:20) throughGcnTileModeand leaves it unset whenZ_FORMATis 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. - 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.pynumbers.
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 currentmain. The PR-side run had noVUID-lines. - I built and ran only the 8
depth_planetests, not the wideragc_driver_*,video_out_flip_*oragc_gcn_decodeset from the description. - I did not check the PS4 behaviour (Risk, CUSA03312) or any console comparison.
- Whether
DB_Z_INFO.TILE_MODE_INDEXis the authoritative depth tiling on Liverpool, rather thanDB_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
- Rebase or merge #9431 onto current
main, then this branch, resolvingState.hppandState.cpp. - Update the
sizeof(State)guard inPipelineJournal.cppforgcnTileMode(andShaderStages, if #9431 has not), and build on Linux/GCC so the guard is checked. - Optionally add a decode test for
DB_Z_INFO.TILE_MODE_INDEX→DepthTarget::gcnTileMode. - Re-run the validation-layer test set on the updated head.
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>
|
Windows and NVIDIA Blackwell run, for head
The failure, The new Risk and Monopoly Plus were not run. Edited after posting: added the validation row and AI-assisted: yes. Claude Code ran the builds and tests and drafted this comment; the numbers are from the runs on this machine. |
✅ AMD GPU test: passedPR head
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (8, not counted against this PR)Validated but not compared (56, not in the main baseline's validation pass)Validation IDs already present on main (8 IDs in 534 tests)Skipped (57)ReproduceAutomated 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. |
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
SHAs
Build
Focused test pattern (identical matched set in both trees, verified by diff of
|
MarcZX10
left a comment
There was a problem hiding this comment.
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.
What
Get-fix#20, moved upstream as Get-fix asked. #9431 is on
mainnow, 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:
GuestBuffersV#, an image lookup or a pending-store flush overlaps it;It only takes single-sample 32-bit planes with the PS5's 64 KiB Z swizzle (
SW_MODE24). A PS4DB_Z_INFOnames 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:
DB_RENDER_CONTROL = 0x60over the scene depth: 2048x1152D32_SFLOAT_S8_UINT,DB_Z_INFO = 0xa0000003, so tile index 0 (Depth2D64);ACQUIRE_MEMwithCP_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 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:
DepthTarget::gcnTileMode. It takesDB_Z_INFOTILE_MODE_INDEX(bits 22:20) and maps it as the T# decode maps a tiling index (GcnTileMode, a public wrapper of the existingresolveGcnTileMode);DB_DEPTH_SIZE's pitch asgcnPitch. The store, reload and stale-range code is fix(agc): keep depth planes coherent with buffer reads and writes of their memory #7154's, unchanged;sizeof(State)guard inPipelineJournal.cppfrom 920 to 928.CanonicalPipelineStateand the recipe codec keep only the depth target'sformatandsamples, so the new field never reaches a recipe.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 inStencilMirrorable, 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:DepthBuffer::GetTileModereads the index, and its depthImageInfouses it.DepthRenderTarget::getTileModereads the same field.TILE_MODE_INDEXat bits 22:20 ofDB_Z_INFO, the bits this reads.DB_DEPTH_INFO's array mode and macro-tile fields instead. So the register list doesn't show that Liverpool's DB uses the index.DB_DEPTH_INFO.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::gcnnext 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.TileModeSwitchnow 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,DepthSurfacesSerialunchanged). No driver change was needed. Removing theSyncFromMemorycall 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_memorypasses, 1 of 1 on the RX 9070 XT, noVUID-line. Not rerun: the other 34 tests of the 1 Nov run (no driver code changed), the same test onmain, the flip tests, Linux, games.Tile-mode switch, 1 Nov. Head
55f884b209(0b365d9926plus 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_memorygainsTileModeSwitchon 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_textureand everyagc_driver_depth_*test, noVUID-line. Not rerun: the same set onmain, 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
mainde83e8f270, 31 Oct. Head5d1381c40e. The only conflict was indocs/dev/debt/libSceAgcDriver.md: both sides kept.agc_driver_gcn_depth_plane_buffer_memory,agc_driver_depth_fast_clear_submitandagc_driver_graphicspass, 3 of 3 on the RX 9070 XT, noVUID-line. Not rerun: the other tests, Linux (mainchanged no struct under the size guards in this merge), games.Base. This branch is now
853389c92c:main5b913d40c6merged in (d8a0a2734b), then the guard bump, the decode test and a debt line. Every file #9431 touched takesmain's version.git diff 5b913d40c6 853389c92cholds only this PR's ten files.git merge-treewithmaind2250771abhas no conflicts; that merge was not built. The Windows and Linux runs below were on4c37f8af0c;853389c92cadds one debt sentence to it.New
agc_driver_gcn_depth_plane_buffer_memoryruns a Depth2D64 and a Depth2D256 PS4 target, each two macro tiles wide and high (512x256 for Depth2D64):The test harness gains an optional GCN tile mode on
Surfaceand an optional scissor inDrawOptions.New
GcnDepthTileModeTestsinagc_driver_graphicsdecodesDB_Z_INFOthroughDecodeState:0xa0000003withDB_DEPTH_SIZEfor 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 PS5DB_Z_INFOstays unset.Revert checks on
4c37f8af0c, one rebuild each. Each test fails as shown and passes again with the files restored:DepthSurface.cpp,GuestTextureResource.cppandState.cppas on5b913d40c6, headers keptagc_driver_gcn_depth_plane_buffer_memorygcnTileModetest inSizeUnits(one-unit rule)agc_driver_gcn_depth_plane_buffer_memoryState.cppagc_driver_graphicsagc_driver_graphicsagc_driver_graphicszFormat != 0testagc_driver_graphicsif (gcn)scope (PS5 decode also takes the index)agc_driver_graphicsValidation layer: run with
ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,ctest -V, onmain5b913d40c6and 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_detileandagc_driver_pattern_buffer_fillagc_driver_flipand the 17video_out_flip_*modesagc_gcn_decode,texture_format_lookup,agc_driver_resource_cache_replaced_textureandagc_depth_copy_kept_bytesagc_driver_depth_*tests, among themagc_driver_depth_plane_buffer_memory,agc_driver_depth_fast_clearandagc_driver_depth_fast_clear_submitResults:
main: 58 of 58 pass (the new test is not onmain).VUID-line orwas not found but was requested by env var VK_INSTANCE_LAYERS. EverySelected GPUline names the RX 9070 XT (49 onmain, 50 here).Linux: WSL Ubuntu, g++ 15.2.0, cmake 4.2.3, Unix Makefiles,
-j4, from agit archiveof this code on the Linux filesystem.CMakeLists.txt:513and:521, because the machine has no X11 or audio development packages. In that local copy only, those twoFATAL_ERRORs became warnings. FFmpeg came from the project'sffmpeg-linux-x64.zipthroughFFMPEG_PREBUILT_DIR.PipelineJournal.cppstopped at the guard with(928 == 920).ShaderStagesstays at 164.shader_recompiler_agc_driver,agc_driver_pm4_tests,agc_driver_graphics_tests,agc_driver_depth_plane_buffer_memory_testsandagc_driver_gcn_depth_plane_buffer_memory_tests, and so all oflibSceAgcDriver. That includesGraphics/src/PipelineJournal.cppandcore/shader/recompiler/ShaderDiskCache.cpp, with their size guards active.agc_driver_depth_plane_buffer_memoryandagc_driver_gcn_depth_plane_buffer_memoryran on llvmpipe (LLVM 21.1.8); the other two print noSelected GPUline.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 onps4/limbo-gpuat93eeee0141(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 forsceGnmDrawInitDefaultHardwareState200andsceGnmUpdate*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/mainpasses.tools/pr_overlap.py --branch pr9895-local(this commit), againstmaind2250771ab. Six pull requests conflict with this PR's lines:DepthTarget::gcnnext togcnTileModeinState.hpp, and changes a neighbouring debt entry.sizeof(State)guard line.DepthFastClearHarness.hpp, at line 44 onmain.All of them compose, and whichever lands second resolves the conflict and recomputes the guard if
Statechanged. Another 64 pull requests conflict withmainthemselves, 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 on55cc111fe4that drops this PR's clause from the PS4 render-target debt entry, as XairRrR's review of55cc111fe4suggested; the entry is now identical tomain'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
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code