fix(agc): clear the host depth image on a fill of a depth or stencil plane #7131

Merged
JosepBove merged 1 commit from upstream-pr/7131 into main 2026-10-17 21:07:50 +00:00
JosepBove commented 2026-10-17 12:50:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JosepBove on 2026-10-17T12:50:22Z.


What

Heretic + Hexen (PPSA26525 01.003.000, #5912) and DOOM + DOOM II (PPSA21444 03.000.000, #5921) draw their Cohtml UI with black 64 px squares and words cut off mid-glyph on main (#7130): Heretic's "add players" dialog shows "pla" for "player settings" and "ing for player..." for "Waiting for player...", with black blocks under the dialog.

Renoir keeps the UI in a persistent layer with a D32_SFLOAT_S8_UINT target, marks the dirty rectangles with stencil Replace 2, draws with Equal 2 and composes with ref 1, and resets the whole stencil plane to 1 before each frame with a fill of DepthSliceBytes({1920, 1080}, 1) = 0x280000 bytes of 0x01010101 at DB_STENCIL_READ_BASE. NoteDepthMetadataFill acted only on a fill that covers DB_HTILE_DATA_BASE, so the fill reached guest memory and the resident DepthSurface image kept the stencil of every earlier frame.

NoteDepthMetadataFill now also recognizes a fill that covers a known surface's whole stencil plane with four equal bytes, and one that covers its whole depth plane with a float in 0.0-1.0 (two equal UNORM halves for D16). The value is kept beside pendingClear (depthFill, stencilFill) and used by ApplyFastClear instead of DB_DEPTH_CLEAR/DB_STENCIL_CLEAR, so the image is cleared the next time the surface is bound, sampled or stored to, through the existing path (RecordClear). The fill value follows a plane to a surface that takes it over (takePlane). An aspect copy drops it (ForgetClear), and every HTILE-driven clear (a whole-HTILE fill, a recognized clear kernel, a cleared HTILE at bind) goes through NoteHtileClear, which drops it too, so a later HTILE clear still clears to DB_DEPTH_CLEAR/DB_STENCIL_CLEAR. A partial fill, a dword whose bytes differ, a depth value outside 0.0-1.0 (the titles also fill other depth planes with 0xff000000), a multisampled surface or a fill made before the surface exists leave the image as it was, as before. The technical-debt entry records the rules and that a plane fill under a compressed HTILE was not measured on the console.

Tested

Windows 11 Home (26200), AMD Ryzen 9 9950X3D, NVIDIA RTX 5090 (616.92), WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON, bundled dependencies. Branch on main c9e6c45de.

  • agc_driver_depth_plane_fill (new, tests/execution/DepthPlaneFill.cpp, on the DepthFastClear harness): writes stencil 2 over a 64x32 D32_SFLOAT_S8_UINT surface, then checks that a fill 4 bytes short of the stencil plane and a 0x01020304 fill leave the mark, that a 0x01010101 fill of the whole plane makes Equal 2 cover nothing and Equal 1 cover everything, that the stencil is writable again afterwards, and that a fill starting a page before the plane clears it to 0. For the depth plane it writes 0.5, checks LESS fails, and that 0x3f800000 clears to 1.0, 0 to 0.0, while 0xff000000 and a fill 4 bytes short change nothing. On a second D32 surface with an HTILE, a depth plane fill of 0.0 followed by a whole-HTILE fill of ZMask 0, and then followed by NoteHtileDepthClear, must each clear to DB_DEPTH_CLEAR (1.0); without NoteHtileClear dropping the fill value, the clear-kernel case fails. On main it fails at the first whole-plane fill (a fill of the whole stencil plane with 1 left the stencil mark 2); with this change it passes.
  • ctest -R agc_driver_depth_: 13 of 13 pass.
  • Full ctest --parallel 8 --timeout 120: 1382 of 1386 pass on the rebuilt tree. None of the four failures involves this change: conventions_blob_reads (the fixture's git tag fails because this machine's git signs tags), select_tests (Windows refuses the fixture's symlink without the privilege), and agc_driver_f16_fma_denormal_modes and agc_driver_fma_mix_f16_denormal_modes (NaN bit patterns 0x7fff/0x7fffffff instead of 0xfe00/0xffc00000 on this NVIDIA driver), both of which fail the same way when rebuilt with main's DepthSurface.cpp.
  • python tools/check_conventions.py --base origin/main --head HEAD passes; git diff --check is clean.
  • Heretic + Hexen, relinked with --windows --registry, ANYPS5_GPU='RTX 5090', driven through main menu > multiplayer > local > add players by the pad input file: on main c9e6c45de the dialog is corrupted as above; with this change "player settings", "continue...", "current players (1/4)", "Player" and "Waiting for player..." are complete and no black blocks appear, at 60 FPS on the window counter in both runs. DOOM + DOOM II, same conversion, 90 s on main e154f5658 with this change: the title picker and the DOOM description page draw their text completely; not rerun on c9e6c45de.

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
  • Unblocks: PPSA26525 #5912; PPSA21444 #5921; fixes #7130
  • GPUs tested: NVIDIA RTX 5090 (616.92), Windows 11
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4900189754 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7131). Originally posted by [JosepBove](https://github.com/JosepBove) on 2026-10-17T12:50:22Z. --- ### What Heretic + Hexen (PPSA26525 01.003.000, #5912) and DOOM + DOOM II (PPSA21444 03.000.000, #5921) draw their Cohtml UI with black 64 px squares and words cut off mid-glyph on `main` (#7130): Heretic's "add players" dialog shows "pla" for "player settings" and "ing for player..." for "Waiting for player...", with black blocks under the dialog. Renoir keeps the UI in a persistent layer with a `D32_SFLOAT_S8_UINT` target, marks the dirty rectangles with stencil `Replace` 2, draws with `Equal` 2 and composes with ref 1, and resets the whole stencil plane to 1 before each frame with a fill of `DepthSliceBytes({1920, 1080}, 1)` = `0x280000` bytes of `0x01010101` at `DB_STENCIL_READ_BASE`. `NoteDepthMetadataFill` acted only on a fill that covers `DB_HTILE_DATA_BASE`, so the fill reached guest memory and the resident `DepthSurface` image kept the stencil of every earlier frame. `NoteDepthMetadataFill` now also recognizes a fill that covers a known surface's whole stencil plane with four equal bytes, and one that covers its whole depth plane with a float in 0.0-1.0 (two equal UNORM halves for D16). The value is kept beside `pendingClear` (`depthFill`, `stencilFill`) and used by `ApplyFastClear` instead of `DB_DEPTH_CLEAR`/`DB_STENCIL_CLEAR`, so the image is cleared the next time the surface is bound, sampled or stored to, through the existing path (`RecordClear`). The fill value follows a plane to a surface that takes it over (`takePlane`). An aspect copy drops it (`ForgetClear`), and every HTILE-driven clear (a whole-HTILE fill, a recognized clear kernel, a cleared HTILE at bind) goes through `NoteHtileClear`, which drops it too, so a later HTILE clear still clears to `DB_DEPTH_CLEAR`/`DB_STENCIL_CLEAR`. A partial fill, a dword whose bytes differ, a depth value outside 0.0-1.0 (the titles also fill other depth planes with `0xff000000`), a multisampled surface or a fill made before the surface exists leave the image as it was, as before. The technical-debt entry records the rules and that a plane fill under a compressed HTILE was not measured on the console. ### Tested Windows 11 Home (26200), AMD Ryzen 9 9950X3D, NVIDIA RTX 5090 (616.92), WinLibs GCC 15.2.0 r7, Release, `BUILD_TESTING=ON`, bundled dependencies. Branch on `main` c9e6c45de. - `agc_driver_depth_plane_fill` (new, `tests/execution/DepthPlaneFill.cpp`, on the `DepthFastClear` harness): writes stencil 2 over a 64x32 `D32_SFLOAT_S8_UINT` surface, then checks that a fill 4 bytes short of the stencil plane and a `0x01020304` fill leave the mark, that a `0x01010101` fill of the whole plane makes `Equal` 2 cover nothing and `Equal` 1 cover everything, that the stencil is writable again afterwards, and that a fill starting a page before the plane clears it to 0. For the depth plane it writes 0.5, checks `LESS` fails, and that `0x3f800000` clears to 1.0, `0` to 0.0, while `0xff000000` and a fill 4 bytes short change nothing. On a second D32 surface with an HTILE, a depth plane fill of 0.0 followed by a whole-HTILE fill of ZMask 0, and then followed by `NoteHtileDepthClear`, must each clear to `DB_DEPTH_CLEAR` (1.0); without `NoteHtileClear` dropping the fill value, the clear-kernel case fails. On `main` it fails at the first whole-plane fill (`a fill of the whole stencil plane with 1 left the stencil mark 2`); with this change it passes. - `ctest -R agc_driver_depth_`: 13 of 13 pass. - Full `ctest --parallel 8 --timeout 120`: 1382 of 1386 pass on the rebuilt tree. None of the four failures involves this change: `conventions_blob_reads` (the fixture's `git tag` fails because this machine's git signs tags), `select_tests` (Windows refuses the fixture's symlink without the privilege), and `agc_driver_f16_fma_denormal_modes` and `agc_driver_fma_mix_f16_denormal_modes` (NaN bit patterns `0x7fff`/`0x7fffffff` instead of `0xfe00`/`0xffc00000` on this NVIDIA driver), both of which fail the same way when rebuilt with `main`'s `DepthSurface.cpp`. - `python tools/check_conventions.py --base origin/main --head HEAD` passes; `git diff --check` is clean. - Heretic + Hexen, relinked with `--windows --registry`, `ANYPS5_GPU='RTX 5090'`, driven through main menu > multiplayer > local > add players by the pad input file: on `main` c9e6c45de the dialog is corrupted as above; with this change "player settings", "continue...", "current players (1/4)", "Player" and "Waiting for player..." are complete and no black blocks appear, at 60 FPS on the window counter in both runs. DOOM + DOOM II, same conversion, 90 s on `main` e154f5658 with this change: the title picker and the DOOM description page draw their text completely; not rerun on c9e6c45de. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA26525 #5912; PPSA21444 #5921; fixes #7130 - [x] GPUs tested: NVIDIA RTX 5090 (616.92), Windows 11 - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-17 13:08:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-17T13:08:32Z.


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

Pull request Conflicting files (lines on main) Same exports Same new files
PR 6146 docs/dev/debt/libSceAgcDriver.md L40-41
PR 6300 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp L1420-1421, L1427-1430
PR 6423 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp L1224-1225, L1292-1293, L1427-1430
PR 6438 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp L953-955, L1225, L1227
PR 6727 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp L326
PR 7154 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp L1227
PR 7178 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp L260
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp L1216-1231

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 1368 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 1395 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 2434 docs/dev/debt/libSceAgcDriver.md
PR 4448 docs/dev/debt/libSceAgcDriver.md
PR 4650 docs/dev/debt/libSceAgcDriver.md
PR 5058 docs/dev/debt/libSceAgcDriver.md
PR 5372 docs/dev/debt/libSceAgcDriver.md
PR 5499 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 5925 docs/dev/debt/libSceAgcDriver.md
PR 6194 docs/dev/debt/libSceAgcDriver.md
PR 6222 docs/dev/debt/libSceAgcDriver.md
PR 6234 docs/dev/debt/libSceAgcDriver.md
PR 6273 docs/dev/debt/libSceAgcDriver.md
PR 6412 docs/dev/debt/libSceAgcDriver.md
PR 6445 docs/dev/debt/libSceAgcDriver.md
PR 6492 docs/dev/debt/libSceAgcDriver.md
PR 6548 docs/dev/debt/libSceAgcDriver.md
PR 6553 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 6563 docs/dev/debt/libSceAgcDriver.md
PR 6601 docs/dev/debt/libSceAgcDriver.md
PR 6636 docs/dev/debt/libSceAgcDriver.md
PR 6783 docs/dev/debt/libSceAgcDriver.md
PR 6808 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6867 docs/dev/debt/libSceAgcDriver.md
PR 6887 docs/dev/debt/libSceAgcDriver.md
PR 6946 docs/dev/debt/libSceAgcDriver.md
PR 6947 docs/dev/debt/libSceAgcDriver.md
PR 6959 docs/dev/debt/libSceAgcDriver.md
PR 6965 docs/dev/debt/libSceAgcDriver.md
PR 6973 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6987 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6989 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6995 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7002 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7201 core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp
PR 7207 docs/dev/debt/libSceAgcDriver.md
PR 7258 docs/dev/debt/libSceAgcDriver.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6234254614 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7131#issuecomment-6234254614). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-17T13:08:32Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | [PR 6146](https://www.github.com/boykopovar/AnyPS5/pull/6146) | `docs/dev/debt/libSceAgcDriver.md` [L40-41](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/docs/dev/debt/libSceAgcDriver.md#L40-L41) | | | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` [L1420-1421](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L1420-L1421), [L1427-1430](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L1427-L1430) | | | | [PR 6423](https://www.github.com/boykopovar/AnyPS5/pull/6423) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` [L1224-1225](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L1224-L1225), [L1292-1293](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L1292-L1293), [L1427-1430](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L1427-L1430) | | | | [PR 6438](https://www.github.com/boykopovar/AnyPS5/pull/6438) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` [L953-955](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L953-L955), [L1225](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L1225), [L1227](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L1227) | | | | [PR 6727](https://www.github.com/boykopovar/AnyPS5/pull/6727) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` [L326](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L326) | | | | [PR 7154](https://www.github.com/boykopovar/AnyPS5/pull/7154) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` [L1227](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L1227) | | | | [PR 7178](https://www.github.com/boykopovar/AnyPS5/pull/7178) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` [L260](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L260) | | | | [PR 7256](https://www.github.com/boykopovar/AnyPS5/pull/7256) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` [L1216-1231](https://github.com/boykopovar/AnyPS5/blob/60d4d3ebd4466f849e76de884241a95348e4f848/core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp#L1216-L1231) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 1368](https://www.github.com/boykopovar/AnyPS5/pull/1368) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 2434](https://www.github.com/boykopovar/AnyPS5/pull/2434) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 4448](https://www.github.com/boykopovar/AnyPS5/pull/4448) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 4650](https://www.github.com/boykopovar/AnyPS5/pull/4650) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5058](https://www.github.com/boykopovar/AnyPS5/pull/5058) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5372](https://www.github.com/boykopovar/AnyPS5/pull/5372) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5499](https://www.github.com/boykopovar/AnyPS5/pull/5499) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6222](https://www.github.com/boykopovar/AnyPS5/pull/6222) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6234](https://www.github.com/boykopovar/AnyPS5/pull/6234) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6273](https://www.github.com/boykopovar/AnyPS5/pull/6273) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6445](https://www.github.com/boykopovar/AnyPS5/pull/6445) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6492](https://www.github.com/boykopovar/AnyPS5/pull/6492) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6548](https://www.github.com/boykopovar/AnyPS5/pull/6548) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6553](https://www.github.com/boykopovar/AnyPS5/pull/6553) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 6563](https://www.github.com/boykopovar/AnyPS5/pull/6563) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6601](https://www.github.com/boykopovar/AnyPS5/pull/6601) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6636](https://www.github.com/boykopovar/AnyPS5/pull/6636) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6783](https://www.github.com/boykopovar/AnyPS5/pull/6783) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6867](https://www.github.com/boykopovar/AnyPS5/pull/6867) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6887](https://www.github.com/boykopovar/AnyPS5/pull/6887) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6959](https://www.github.com/boykopovar/AnyPS5/pull/6959) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6965](https://www.github.com/boykopovar/AnyPS5/pull/6965) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6973](https://www.github.com/boykopovar/AnyPS5/pull/6973) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6987](https://www.github.com/boykopovar/AnyPS5/pull/6987) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6989](https://www.github.com/boykopovar/AnyPS5/pull/6989) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6995](https://www.github.com/boykopovar/AnyPS5/pull/6995) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7002](https://www.github.com/boykopovar/AnyPS5/pull/7002) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7201](https://www.github.com/boykopovar/AnyPS5/pull/7201) | `core/libs/prx/libSceAgcDriver/Graphics/src/DepthSurface.cpp` | | [PR 7207](https://www.github.com/boykopovar/AnyPS5/pull/7207) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7258](https://www.github.com/boykopovar/AnyPS5/pull/7258) | `docs/dev/debt/libSceAgcDriver.md` |
akkadbakkad89 commented 2026-10-17 13:11:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-17T13:11:29Z.


Independent hardware run, head 3e1b7be11, Windows 11, MinGW (WinLibs GCC 15.2.0), Release, ctest -R "agc_driver_depth_plane_fill|agc_driver_depth_fast_clear", serial fresh processes:

  • NVIDIA RTX 3070 (driver 617.42): agc_driver_depth_plane_fill, agc_driver_depth_fast_clear, agc_driver_depth_fast_clear_submit all pass — a second NVIDIA generation confirming the RTX 5090 result.
  • Intel UHD 630 (ANYPS5_GPU=UHD, igvk64): all three pass — first Intel datapoint for the fill path.

No Cohtml titles on this machine, so this is fixture-level evidence only.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6234281322 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7131#issuecomment-6234281322). Originally posted by [akkadbakkad89](https://github.com/akkadbakkad89) on 2026-10-17T13:11:29Z. --- Independent hardware run, head `3e1b7be11`, Windows 11, MinGW (WinLibs GCC 15.2.0), Release, `ctest -R "agc_driver_depth_plane_fill|agc_driver_depth_fast_clear"`, serial fresh processes: - NVIDIA RTX 3070 (driver 617.42): `agc_driver_depth_plane_fill`, `agc_driver_depth_fast_clear`, `agc_driver_depth_fast_clear_submit` all pass — a second NVIDIA generation confirming the RTX 5090 result. - Intel UHD 630 (`ANYPS5_GPU=UHD`, igvk64): all three pass — first Intel datapoint for the fill path. No Cohtml titles on this machine, so this is fixture-level evidence only.
MarcZX10 commented 2026-10-17 16:05:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-17T16:05:15Z.


Thanks for the independent run. This adds a second NVIDIA datapoint and an Intel UHD 630 fixture result for the depth-plane fill and fast-clear tests. It strengthens the host fixture coverage; the reported scope does not include a Cohtml title run.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6236303381 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7131#issuecomment-6236303381). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-17T16:05:15Z. --- Thanks for the independent run. This adds a second NVIDIA datapoint and an Intel UHD 630 fixture result for the depth-plane fill and fast-clear tests. It strengthens the host fixture coverage; the reported scope does not include a Cohtml title run.
Pacuka commented 2026-10-18 11:10:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Pacuka on 2026-10-18T11:10:57Z.


Data point: this also fixes the grey character trail in The Smurfs - Dreams (PPSA21607, Unreal Engine) on RX 6650 XT / RADV. UE resets its CustomDepth stencil plane (2848x1600 D32S8, no HTILE) with a fill each frame. Without this change the stale stencil marks stayed, and UE's post-process drew grey Smurf silhouettes at every past position. Verified with a RenderDoc capture + a stencil trace; with main 9f25d0bf5 the trail is gone. Thanks!

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6249170915 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7131#issuecomment-6249170915). Originally posted by [Pacuka](https://github.com/Pacuka) on 2026-10-18T11:10:57Z. --- Data point: this also fixes the grey character trail in The Smurfs - Dreams (PPSA21607, Unreal Engine) on RX 6650 XT / RADV. UE resets its CustomDepth stencil plane (2848x1600 D32S8, no HTILE) with a fill each frame. Without this change the stale stencil marks stayed, and UE's post-process drew grey Smurf silhouettes at every past position. Verified with a RenderDoc capture + a stencil trace; with main 9f25d0bf5 the trail is gone. Thanks! AI-assisted (Claude Code).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!7131
No description provided.