fix(agc): skip storage write-back units that lie in no tiled slice #7912

Merged
Rajkamalcode merged 2 commits from upstream-pr/7912 into main 2026-10-21 05:43:30 +00:00
Rajkamalcode commented 2026-10-19 13:21:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Rajkamalcode on 2026-10-19T13:21:45Z.


What

Fixes a fatal crash on any title that keeps a thin 3D storage texture: [videoout] presentation failed: ... AGC graphics: zero-sized device buffer, then [gpu] driver failure and FATAL: abort(). Squirrel With A Gun (PPSA22102) hit it in every run, seconds after its first frames at the logo transition.

StorageTexture::writeBackWindows retiles the kept 64 KiB tracking units through the (layer, mip) windows of the surface's tiled slices, and sizes its linear and scratch staging buffers from them. A kept unit can lie outside every window: the tracking grid is flat over the guest range (trackedLayers = ceil(guestBytes / 64K)), while the slices of a 3D surface taper in depth with the mip level (SurfaceGeometry::HasLayer). The empty window list then sized both staging buffers at zero, and the DeviceBuffer constructor threw zero-sized device buffer (Resources.cpp).

The crashing texture, from the run 4 probe: 160x160, six mips, 160 depth slices, SW_64KB_R_X, 60 MiB, 960 tracked units:

[probe-s3322] writeBackWindows: linearTotal=0 scratchTotal=0 windows=0 keep=1 segments=3 tex=304cde0000 160x160 fmt=20 tile=7 mips=6

The run 5 probe prints the kept run and the slice map when the window list comes back empty; the run is layer 156's mip-1 block, which HasLayer does not keep:

[probe-s3322] run [+0x3a90000, +0x3aa0000)
[probe-s3322] slice L156 M0 has=1 begin=+0x3aa0000 size=0x40000 linear=0x28000
[probe-s3322] slice L156 M1 has=0 begin=+0x3a90000 size=0x10000 linear=0xa000

The fix keeps such units as the guest left them: there is no tiled data of the surface to retile or store, and the caller alone accounts for them (units partially covered by a window are already clamped per window). Five lines. The remaining gap - the flat unit grid against the per-level taper - is recorded in the library's technical debt.

Tested

Squirrel With A Gun, PPSA22102. main 034c4ec3b (run 6) and f3bb6a4f8 (tests); this PR 4eb97812b, rebased as 52d73deda. The in-game run used the same guard (4eb97812b); the rebase only adds the regression test, shortens the comment and adds the debt note.

  • Windows 11 (22635.5305), Ryzen 5 5600X, Selected GPU name=NVIDIA GeForce RTX 3070 vendor=0x10de device=0x2484 subgroup=32, driver 32.0.16.1088, desktop at 60 Hz.
  • Command: cd games\SquirrelWithAGun; .\SquirrelWithAGun.exe (the title's UE5 arguments come from app0/uecommandline.txt), no APS5_*/ANYPS5_* variables set, warm shader_cache/. The title's stored settings ask for 3840x2160 windowed; the crashing runs and run 6 used them.
  • Runs: five crashing runs on this machine, each dying at the logo-to-menu transition within about a minute (exit 0xc0000409, FATAL: abort()); then one run with the fix, which passes the transition, presents the menu and shows no crash marker until it was stopped by hand. Presents per 10 s were not logged (APS5_PROFILE_DRAW unset); the title's own counter read 41-58 FPS in earlier runs.
  • New test agc_driver_storage_write_back_no_window (tests/execution/StorageWriteBackNoWindow.cpp): a thin 3D volume whose taper leaves 8 of 32 tracked units outside every window. Red/green on the same machine: with Texture.cpp at main it fails with the same AGC graphics: zero-sized device buffer; with the fix it passes, checking as well that every flush settles the image and that the outside-window units leave their guest bytes untouched.
  • Full ctest suite on the same machine (serial, --output-on-failure): 1666 tests, 3 failures, all accounted for: guest_err and guest_math fail on main on Windows and are fixed by the two open PRs #7905 and #7906; agc_driver_pass_input_hazard also failed with this PR's Texture.cpp change reverted (measured on the previous base; it exercises the in-place draw-input copy path on NVIDIA Windows, not the storage write-back). Everything else passed, including agc_driver_storage_write_back_no_window.

Date: 2026-10-19.

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 (the guard's comment documents the debt recorded in docs/dev/debt/libSceAgcDriver.md)
  • 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: PPSA22102 (Squirrel With A Gun; no bring-up discussion, the run evidence is in this PR)
  • GPUs tested: NVIDIA GeForce RTX 3070 (driver 32.0.16.1088, Windows 11 22635.5305)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4921613811 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7912). Originally posted by [Rajkamalcode](https://github.com/Rajkamalcode) on 2026-10-19T13:21:45Z. --- ### What Fixes a fatal crash on any title that keeps a thin 3D storage texture: `[videoout] presentation failed: ... AGC graphics: zero-sized device buffer`, then `[gpu] driver failure` and `FATAL: abort()`. Squirrel With A Gun (PPSA22102) hit it in every run, seconds after its first frames at the logo transition. `StorageTexture::writeBackWindows` retiles the kept 64 KiB tracking units through the (layer, mip) windows of the surface's tiled slices, and sizes its `linear` and `scratch` staging buffers from them. A kept unit can lie outside every window: the tracking grid is flat over the guest range (`trackedLayers = ceil(guestBytes / 64K)`), while the slices of a 3D surface taper in depth with the mip level (`SurfaceGeometry::HasLayer`). The empty window list then sized both staging buffers at zero, and the `DeviceBuffer` constructor threw `zero-sized device buffer` (`Resources.cpp`). The crashing texture, from the run 4 probe: 160x160, six mips, 160 depth slices, SW_64KB_R_X, 60 MiB, 960 tracked units: ```text [probe-s3322] writeBackWindows: linearTotal=0 scratchTotal=0 windows=0 keep=1 segments=3 tex=304cde0000 160x160 fmt=20 tile=7 mips=6 ``` The run 5 probe prints the kept run and the slice map when the window list comes back empty; the run is layer 156's mip-1 block, which `HasLayer` does not keep: ```text [probe-s3322] run [+0x3a90000, +0x3aa0000) [probe-s3322] slice L156 M0 has=1 begin=+0x3aa0000 size=0x40000 linear=0x28000 [probe-s3322] slice L156 M1 has=0 begin=+0x3a90000 size=0x10000 linear=0xa000 ``` The fix keeps such units as the guest left them: there is no tiled data of the surface to retile or store, and the caller alone accounts for them (units partially covered by a window are already clamped per window). Five lines. The remaining gap - the flat unit grid against the per-level taper - is recorded in the library's technical debt. ### Tested Squirrel With A Gun, PPSA22102. `main` 034c4ec3b (run 6) and f3bb6a4f8 (tests); this PR 4eb97812b, rebased as 52d73deda. The in-game run used the same guard (4eb97812b); the rebase only adds the regression test, shortens the comment and adds the debt note. - Windows 11 (22635.5305), Ryzen 5 5600X, `Selected GPU name=NVIDIA GeForce RTX 3070 vendor=0x10de device=0x2484 subgroup=32`, driver 32.0.16.1088, desktop at 60 Hz. - Command: `cd games\SquirrelWithAGun; .\SquirrelWithAGun.exe` (the title's UE5 arguments come from `app0/uecommandline.txt`), no `APS5_*`/`ANYPS5_*` variables set, warm `shader_cache/`. The title's stored settings ask for 3840x2160 windowed; the crashing runs and run 6 used them. - Runs: five crashing runs on this machine, each dying at the logo-to-menu transition within about a minute (exit `0xc0000409`, `FATAL: abort()`); then one run with the fix, which passes the transition, presents the menu and shows no crash marker until it was stopped by hand. Presents per 10 s were not logged (`APS5_PROFILE_DRAW` unset); the title's own counter read 41-58 FPS in earlier runs. - New test `agc_driver_storage_write_back_no_window` (`tests/execution/StorageWriteBackNoWindow.cpp`): a thin 3D volume whose taper leaves 8 of 32 tracked units outside every window. Red/green on the same machine: with `Texture.cpp` at `main` it fails with the same `AGC graphics: zero-sized device buffer`; with the fix it passes, checking as well that every flush settles the image and that the outside-window units leave their guest bytes untouched. - Full `ctest` suite on the same machine (serial, `--output-on-failure`): 1666 tests, 3 failures, all accounted for: `guest_err` and `guest_math` fail on `main` on Windows and are fixed by the two open PRs #7905 and #7906; `agc_driver_pass_input_hazard` also failed with this PR's `Texture.cpp` change reverted (measured on the previous base; it exercises the in-place draw-input copy path on NVIDIA Windows, not the storage write-back). Everything else passed, including `agc_driver_storage_write_back_no_window`. Date: 2026-10-19. ### 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) (the guard's comment documents the debt recorded in `docs/dev/debt/libSceAgcDriver.md`) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: PPSA22102 (Squirrel With A Gun; no bring-up discussion, the run evidence is in this PR) - [x] GPUs tested: NVIDIA GeForce RTX 3070 (driver 32.0.16.1088, Windows 11 22635.5305) - [x] AI-assisted: yes
Rajkamalcode commented 2026-10-19 13:21:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Rajkamalcode on 2026-10-19T13:21:47Z.


Attaching the investigation notes behind the report; the probes were temporary and are not part of this PR.

Where the zero size comes from. A debug print in the DeviceBuffer constructor (only when size == 0) plus a module-relative stack scan, mapped through the module symbols, landed in StorageTexture::writeBackWindows at the linear staging buffer (frame 0 RVA +0x1d8b53 of libSceAgcDriver.prx maps to Texture.cpp writeBackWindows):

[probe] zero-sized DeviceBuffer usage=0x22 count=2 imagebase=00007ffa2b9c0000
[probe]   frame[0] rva=+0x1d8b53 pc=00007ffa2bb98b53
[probe-s3322] writeBackWindows: linearTotal=0 scratchTotal=0 windows=0 keep=1 segments=3 tex=304cde0000 160x160 fmt=20 tile=7 mips=6

Why the window list is empty. A second probe prints the kept run and the full slice map when sliceWindows comes back empty:

[probe-s3322] windows empty: keep=1 segments=2 thick=0 geo.layers=160 imgDepth=160 geo.layerBytes=393216 geo.guestBytes=62914560 trackedLayers=960 trackedLayerBytes=65536 blockUnits=1 arrayLayers=160
[probe-s3322] run [+0x3a90000, +0x3aa0000)
[probe-s3322] slice L156 M0 has=1 begin=+0x3aa0000 size=0x40000 linear=0x28000
[probe-s3322] slice L156 M1 has=0 begin=+0x3a90000 size=0x10000 linear=0xa000
[probe-s3322] slice L156 M2 has=0 begin=+0x3a80000 size=0x10000 linear=0x5000
[probe-s3322] slice L156 M3 has=0 begin=+0x3a80000 size=0x10000 linear=0x2800
[probe-s3322] slice L156 M4 has=0 begin=+0x3a80000 size=0x10000 linear=0x1400
[probe-s3322] slice L156 M5 has=0 begin=+0x3a80000 size=0x10000 linear=0xa00

The kept 64 KiB run is exactly L156 M1's block, and has=0 there: HasLayer(1, 156) is false (layer < max(imgDepth >> level, 1) is 156 < 80) while the flat 64 KiB unit grid counted 960 units over the whole 60 MiB. Every other kept unit in the dump sits inside a kept slice.

Regression test, red/green (Windows 11, MinGW-w64 GCC 15.2.0, RTX 3070):

# Texture.cpp back at main (fix off):
814 - agc_driver_storage_write_back_no_window (Failed)
AGC graphics: zero-sized device buffer
# with the fix:
1/1 Test #814: agc_driver_storage_write_back_no_window ...   Passed    0.50 sec

The full run logs (runs 1-6) and the red/green ctest outputs can be attached on request.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6268240171 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7912#issuecomment-6268240171). Originally posted by [Rajkamalcode](https://github.com/Rajkamalcode) on 2026-10-19T13:21:47Z. --- Attaching the investigation notes behind the report; the probes were temporary and are not part of this PR. **Where the zero size comes from.** A debug print in the `DeviceBuffer` constructor (only when `size == 0`) plus a module-relative stack scan, mapped through the module symbols, landed in `StorageTexture::writeBackWindows` at the `linear` staging buffer (frame 0 RVA `+0x1d8b53` of `libSceAgcDriver.prx` maps to `Texture.cpp` `writeBackWindows`): ```text [probe] zero-sized DeviceBuffer usage=0x22 count=2 imagebase=00007ffa2b9c0000 [probe] frame[0] rva=+0x1d8b53 pc=00007ffa2bb98b53 [probe-s3322] writeBackWindows: linearTotal=0 scratchTotal=0 windows=0 keep=1 segments=3 tex=304cde0000 160x160 fmt=20 tile=7 mips=6 ``` **Why the window list is empty.** A second probe prints the kept run and the full slice map when `sliceWindows` comes back empty: ```text [probe-s3322] windows empty: keep=1 segments=2 thick=0 geo.layers=160 imgDepth=160 geo.layerBytes=393216 geo.guestBytes=62914560 trackedLayers=960 trackedLayerBytes=65536 blockUnits=1 arrayLayers=160 [probe-s3322] run [+0x3a90000, +0x3aa0000) [probe-s3322] slice L156 M0 has=1 begin=+0x3aa0000 size=0x40000 linear=0x28000 [probe-s3322] slice L156 M1 has=0 begin=+0x3a90000 size=0x10000 linear=0xa000 [probe-s3322] slice L156 M2 has=0 begin=+0x3a80000 size=0x10000 linear=0x5000 [probe-s3322] slice L156 M3 has=0 begin=+0x3a80000 size=0x10000 linear=0x2800 [probe-s3322] slice L156 M4 has=0 begin=+0x3a80000 size=0x10000 linear=0x1400 [probe-s3322] slice L156 M5 has=0 begin=+0x3a80000 size=0x10000 linear=0xa00 ``` The kept 64 KiB run is exactly `L156 M1`'s block, and `has=0` there: `HasLayer(1, 156)` is false (`layer < max(imgDepth >> level, 1)` is `156 < 80`) while the flat 64 KiB unit grid counted 960 units over the whole 60 MiB. Every other kept unit in the dump sits inside a kept slice. **Regression test, red/green** (Windows 11, MinGW-w64 GCC 15.2.0, RTX 3070): ```text # Texture.cpp back at main (fix off): 814 - agc_driver_storage_write_back_no_window (Failed) AGC graphics: zero-sized device buffer # with the fix: 1/1 Test #814: agc_driver_storage_write_back_no_window ... Passed 0.50 sec ``` The full run logs (runs 1-6) and the red/green `ctest` outputs can be attached on request.
github-actions[bot] commented 2026-10-19 13:38:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T13:38:27Z.


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/Texture.cpp
PR 1395 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 2434 docs/dev/debt/libSceAgcDriver.md
PR 4448 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 4449 docs/dev/debt/libSceAgcDriver.md
PR 5058 docs/dev/debt/libSceAgcDriver.md
PR 5372 docs/dev/debt/libSceAgcDriver.md
PR 5499 docs/dev/debt/libSceAgcDriver.md
PR 5609 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 5925 docs/dev/debt/libSceAgcDriver.md
PR 6187 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6188 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6192 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6194 docs/dev/debt/libSceAgcDriver.md
PR 6197 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6202 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6209 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6223 docs/dev/debt/libSceAgcDriver.md
PR 6273 docs/dev/debt/libSceAgcDriver.md
PR 6280 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6292 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6300 docs/dev/debt/libSceAgcDriver.md
PR 6412 docs/dev/debt/libSceAgcDriver.md
PR 6481 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6539 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6548 docs/dev/debt/libSceAgcDriver.md
PR 6615 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6683 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6718 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6804 docs/dev/debt/libSceAgcDriver.md
PR 6808 docs/dev/debt/libSceAgcDriver.md
PR 6820 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6867 docs/dev/debt/libSceAgcDriver.md
PR 6868 docs/dev/debt/libSceAgcDriver.md
PR 6946 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6947 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6960 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6971 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 6977 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7048 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7449 docs/dev/debt/libSceAgcDriver.md
PR 7505 docs/dev/debt/libSceAgcDriver.md
PR 7514 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 7604 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7642 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7800 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
docs/dev/debt/libSceAgcDriver.md
PR 8014 docs/dev/debt/libSceAgcDriver.md
PR 8206 docs/dev/debt/libSceAgcDriver.md
PR 8246 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 8484 core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp
PR 8564 docs/dev/debt/libSceAgcDriver.md
PR 8592 docs/dev/debt/libSceAgcDriver.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6268580296 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7912#issuecomment-6268580296). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T13:38:27Z. --- <!-- pr-overlap --> 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/Texture.cpp` | | [PR 1395](https://www.github.com/boykopovar/AnyPS5/pull/1395) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.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) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 4449](https://www.github.com/boykopovar/AnyPS5/pull/4449) | `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) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 5609](https://www.github.com/boykopovar/AnyPS5/pull/5609) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 5925](https://www.github.com/boykopovar/AnyPS5/pull/5925) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6187](https://www.github.com/boykopovar/AnyPS5/pull/6187) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6188](https://www.github.com/boykopovar/AnyPS5/pull/6188) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6192](https://www.github.com/boykopovar/AnyPS5/pull/6192) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6194](https://www.github.com/boykopovar/AnyPS5/pull/6194) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6197](https://www.github.com/boykopovar/AnyPS5/pull/6197) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6202](https://www.github.com/boykopovar/AnyPS5/pull/6202) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6209](https://www.github.com/boykopovar/AnyPS5/pull/6209) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6223](https://www.github.com/boykopovar/AnyPS5/pull/6223) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6273](https://www.github.com/boykopovar/AnyPS5/pull/6273) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6292](https://www.github.com/boykopovar/AnyPS5/pull/6292) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6300](https://www.github.com/boykopovar/AnyPS5/pull/6300) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6481](https://www.github.com/boykopovar/AnyPS5/pull/6481) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6539](https://www.github.com/boykopovar/AnyPS5/pull/6539) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6548](https://www.github.com/boykopovar/AnyPS5/pull/6548) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6615](https://www.github.com/boykopovar/AnyPS5/pull/6615) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6683](https://www.github.com/boykopovar/AnyPS5/pull/6683) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6718](https://www.github.com/boykopovar/AnyPS5/pull/6718) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6804](https://www.github.com/boykopovar/AnyPS5/pull/6804) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6808](https://www.github.com/boykopovar/AnyPS5/pull/6808) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6820](https://www.github.com/boykopovar/AnyPS5/pull/6820) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6867](https://www.github.com/boykopovar/AnyPS5/pull/6867) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6868](https://www.github.com/boykopovar/AnyPS5/pull/6868) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 6946](https://www.github.com/boykopovar/AnyPS5/pull/6946) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 6960](https://www.github.com/boykopovar/AnyPS5/pull/6960) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6971](https://www.github.com/boykopovar/AnyPS5/pull/6971) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 6977](https://www.github.com/boykopovar/AnyPS5/pull/6977) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7048](https://www.github.com/boykopovar/AnyPS5/pull/7048) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 7256](https://www.github.com/boykopovar/AnyPS5/pull/7256) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7449](https://www.github.com/boykopovar/AnyPS5/pull/7449) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7505](https://www.github.com/boykopovar/AnyPS5/pull/7505) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 7514](https://www.github.com/boykopovar/AnyPS5/pull/7514) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 7604](https://www.github.com/boykopovar/AnyPS5/pull/7604) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 7800](https://www.github.com/boykopovar/AnyPS5/pull/7800) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp`<br>`docs/dev/debt/libSceAgcDriver.md` | | [PR 8014](https://www.github.com/boykopovar/AnyPS5/pull/8014) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 8206](https://www.github.com/boykopovar/AnyPS5/pull/8206) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 8246](https://www.github.com/boykopovar/AnyPS5/pull/8246) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 8484](https://www.github.com/boykopovar/AnyPS5/pull/8484) | `core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp` | | [PR 8564](https://www.github.com/boykopovar/AnyPS5/pull/8564) | `docs/dev/debt/libSceAgcDriver.md` | | [PR 8592](https://www.github.com/boykopovar/AnyPS5/pull/8592) | `docs/dev/debt/libSceAgcDriver.md` |
MarcZX10 commented 2026-10-20 19:39:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-20T19:39:22Z.

Review: COMMENTED


Coordination note for #8638: its new doc-link scan finds this same edited debt entry as the sole tracked Markdown dead link. The target currently says Execution/src/Driver/Draw/DrawPipeline.hpp; the header is at core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawPipeline.hpp. Since this PR changes the entry, could you correct that target here so the changed line passes once #8638 lands?

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5590673585 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7912#pullrequestreview-5590673585). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-20T19:39:22Z. **Review:** COMMENTED --- Coordination note for #8638: its new doc-link scan finds this same edited debt entry as the sole tracked Markdown dead link. The target currently says `Execution/src/Driver/Draw/DrawPipeline.hpp`; the header is at `core/libs/prx/libSceAgcDriver/Execution/include/Driver/Draw/DrawPipeline.hpp`. Since this PR changes the entry, could you correct that target here so the changed line passes once #8638 lands?
Amoenus commented 2026-10-21 06:05:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-21T06:05:24Z.


Independent post-merge component check: agc_driver_storage_write_back_no_window passes 3/3 fresh processes on each RTX5080 and AMD gfx1036. Every run checks 32 units, eight outside every tiled window, with the sentinel bytes preserved and no pending image left.

No skips/timeouts/VUIDs/validation errors. Ten WARNING-VkImageSubresourceRange-layerCount-compatibility warnings per process (60 total): the 3D-image barrier uses layerCount1 with maintenance9 disabled; the layer recommends VK_REMAINING_ARRAY_LAYERS for forward compatibility. All warnings are retained; this is not validation-warning-free. The harness initially stopped on that warning count after a successful first run; that result was retained and only the remaining planned cells were executed.

Windows 11 Enterprise 26200, WinLibs GCC15.2.0 r7/UCRT Release, SPIRV-Tools ON. Physical devices verified per log: RTX5080 10de:2c02, driver32.0.16.1062; Radeon Graphics/gfx1036 1002:13c0, driver32.0.21036.18. Required Vulkan, application cache/journal disabled, loaded Khronos1.4.363 verified; verbose serial CTest,30-second limit. Driver caches untouched.

This is a composition run on fork d67cb49872, incorporating main 53a0a27bb6, with the upstream fixture byte-identical. Focused targets and libraries built successfully; not literal main, an isolated red/green comparison, a full-suite or title result. AI-assisted: yes (Codex); author responsible.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6309285924 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/7912#issuecomment-6309285924). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-21T06:05:24Z. --- Independent post-merge component check: `agc_driver_storage_write_back_no_window` passes **3/3 fresh processes on each RTX5080 and AMD gfx1036**. Every run checks **32 units, eight outside every tiled window**, with the sentinel bytes preserved and no pending image left. No skips/timeouts/VUIDs/validation errors. **Ten `WARNING-VkImageSubresourceRange-layerCount-compatibility` warnings per process (60 total)**: the 3D-image barrier uses layerCount1 with maintenance9 disabled; the layer recommends `VK_REMAINING_ARRAY_LAYERS` for forward compatibility. All warnings are retained; this is not validation-warning-free. The harness initially stopped on that warning count after a successful first run; that result was retained and only the remaining planned cells were executed. Windows 11 Enterprise 26200, WinLibs GCC15.2.0 r7/UCRT Release, SPIRV-Tools ON. Physical devices verified per log: RTX5080 `10de:2c02`, driver32.0.16.1062; Radeon Graphics/gfx1036 `1002:13c0`, driver32.0.21036.18. Required Vulkan, application cache/journal disabled, loaded Khronos1.4.363 verified; verbose serial CTest,30-second limit. Driver caches untouched. This is a **composition** run on [fork `d67cb49872`](https://github.com/Amoenus/AnyPS5/commit/d67cb49872f9183b852559b716c0c73156e850a0), incorporating main `53a0a27bb6`, with the upstream fixture byte-identical. Focused targets and libraries built successfully; not literal main, an isolated red/green comparison, a full-suite or title result. AI-assisted: yes (Codex); author responsible. <!-- codex-public-components-main53a0 -->
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!7912
No description provided.