fix(agc): put a stencil replay shader's guest buffer offsets where its shader data is #8615

Merged
Lindamea1 merged 2 commits from upstream-pr/8615 into main 2026-10-26 05:26:41 +00:00
Lindamea1 commented 2026-10-20 18:30:05 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Lindamea1 on 2026-10-20T18:30:05Z.


What

On a device without VK_EXT_shader_stencil_export, a pixel shader that exports stencil is drawn by replay, which passes the reference in a push constant word after the shader data. When the shader data is not in push constants, that word is the whole push block (stencilReferenceDword 0): BindingAllocator::Allocate gives a shader data buffer to any shader with an image under registration modules, which follow the pipeline library, and to shader data larger than the stage push range. ShaderResources::buildPrepare took any non-empty push block to mean the guest buffer offsets are in push constants, so such a shader that reads a guest buffer fails with AGC graphics: guest buffer offset lies outside the shader's push constants (byte 64 against a 4-byte block in the first commit's test case).

Found while bringing up Monster Hunter Wilds (PPSA24191, #7972) on NVIDIA. On main 1e20650e8 with #10304 and the open stencil replay changes (#9317 with #9904, #9393, #9905 and #9906), the title's first replayed draw of an unbounded stencil export throws this error. With this PR, the run gets past it and stops at a later stencil replay check (see Tested). @TheSovietWaffle found the same failure in Onimusha: Way of the Sword (PPSA27836, #5769) on an RTX 3080, running it with a local stack of the open stencil replay changes, and opened #9427 with the same fix; its test case is the second commit here, with them as its author, as they agreed there. @akkadbakkad89 hit it in Assassin's Creed Shadows (PPSA20397, #8674) on an RTX 3070, in a local stack with #9317, #9393, #9904, #9905 and #9906 (see Tested). No title is known to reach this on main alone. The RTX 5090 used here lacks VK_EXT_shader_stencil_export and has the pipeline library, so on main every replayed stencil export there whose shader uses an image and reads a guest buffer throws.

The shader reads the offsets from push constants only when its layout puts the shader data there, and from the shader data buffer otherwise (EmitShaderDataDwordLoad). For a shader with stencil references, buildPrepare now counts only the stencilReferenceDword words before the reference as push constant shader data and, when there are none, writes the offsets to the shader data buffer. Shaders without stencil references keep the current rule.

applyShaderDataPatches and the draw cache's verify comparison also index push bytes by user data slot. For such a shader they reach only the reference word, which replay rewrites before every pass, so they are unchanged.

No console reference applies: replay emulates a missing Vulkan extension on the host. Not measured on a console.

Tested

Gentoo Linux, kernel 7.2.8, GCC 16.2.1, glibc 2.43, Release, BUILD_TESTING=ON, NVIDIA GeForce RTX 5090 (595.99.02). The branch was first tested on main 8727ddb29 and is now rebased onto main 4777caca3; the runs below are on 4777caca3 unless a bullet says otherwise.

  • The first commit adds a case at the end of core/libs/prx/libSceAgcDriver/tests/execution/StencilReplay.cpp, which removes StencilExportEXT from the target so that every device replays. A pixel shader image_loads a 64x1 32_FLOAT texture of 1.0 and buffer_load_dwords through two V#s in user data over one array: the stencil V# starts 4 bytes in (0x30 + x at column x) and the other at the start, so the stencil V# needs a 4-byte offset. It exports the stencil V#'s value as stencil and the texel as color. The case checks that the replayed draw colors every pixel with the texel and that an EQUAL 0x35 probe passes exactly column 5. On main 8727ddb29, a temporary print (since removed) showed where the offset goes: in agc_driver_stencil_replay (pipeline library on) the push block is the reference alone and the offset is shader data byte 64; in agc_driver_stencil_replay_no_gpl (APS5_NO_GPL=1) 17 shader data words precede the reference in push constants and the offset is push byte 84.
  • The second commit is @TheSovietWaffle's case from #9427 (62a5b6cea), with its lines unchanged. It changes a copy of the finite stencil export shader of the earlier cases to read its color with s_buffer_load_dword through a buffer descriptor in user data, and passes 4 as a new optional Draw argument, pixelPushBytes, which shrinks the fragment push range to the reference dword, so its shader data is in a buffer with or without the pipeline library. The replayed draw must color every pixel from the buffer.
  • With ShaderResources.cpp from main, agc_driver_stencil_replay and agc_driver_stencil_replay_no_gpl both fail with AGC graphics: guest buffer offset lies outside the shader's push constants: the second commit's case, which runs before the first commit's, fails in both because its shader data is in a buffer either way. With the first commit's test file alone, agc_driver_stencil_replay fails the same way and agc_driver_stencil_replay_no_gpl passes, since without the pipeline library that case's shader data fits in push constants.
  • On main 8727ddb29, before the second commit: with a local change that skips writing guest buffer offsets to the shader data buffer (a continue before the write in ShaderResources::buildComplete), agc_driver_stencil_replay fails with pixel (5, 0) is 64, expected drawn: the EQUAL 0x35 probe passes column 6, which read the word before its own. agc_driver_stencil_replay_no_gpl, whose offset is in push constants, passes.
  • With ANYPS5_NO_SHADER_CACHE=1, agc_driver_stencil_replay and agc_driver_stencil_replay_no_gpl pass in 20 of 20 runs each (ctest --repeat until-fail:20).
  • Tests selected by tools/select_tests.py: 1130, of which 1110 passed, 3 failed and 17 skipped. The skips are the 13 video_out_flip_* tests, video_out_frame_dump_queue, video_out_frame_dump_wait and video_out_telemetry_caption (no Vulkan surface under the offscreen SDL video driver), and agc_driver_stencil_ref_export (the device lacks VK_EXT_shader_stencil_export). The failures are agc_driver_sample_order, agc_driver_sample_order_grid_reference and agc_driver_sample_order_recipe_depth_locations; they fail with the same messages with ShaderResources.cpp from main, as #9056 describes.
  • Paired run on main and on this branch with ctest -V, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ANYPS5_NO_SHADER_CACHE=1 and ANYPS5_REQUIRE_VULKAN=1, of 20 focused tests: agc_driver_stencil_* (6), agc_driver_sample_mask_depth_stencil, agc_masked_select, agc_driver_graphics, agc_driver_draw_cache_relocation, agc_driver_draw_cache_reuse* (4), agc_driver_prepared_graphics* (4), agc_driver_prepared_unregistered_graphics and guest_buffer_reuse. On both, 19 pass and agc_driver_stencil_ref_export skips. Neither log has was not found but was requested by env var VK_INSTANCE_LAYERS or a VUID- line, and both have the same 10 layer warnings (Undefined-Value-ShaderOutputNotConsumed, 9 of them the -DynamicRendering form).
  • tools/check_compile.py --base upstream/main: 2 translation units compile.
  • Windows: both changed files pass x86_64-w64-mingw32-g++ 16.2 -fsyntax-only -Wall -Wextra with the same warnings as their main versions. This is a syntax check, not a Windows build or run.
  • tools/check_conventions.py passes against main.
  • Monster Hunter Wilds (PPSA24191 01.041.040), 2026-10-24, RTX 5090, no network. The base is main 1e20650e8 with #10304 (e0d6e062a9) merged; without it the title stops earlier on main, at guest buffer has no GPU owner in a compute dispatch. On top are #9317 (d02c6280f5, merged) and each follow-up's own commit (#9904, #9393, #9905 and #9906, cherry-picked). None of the 7 runs stopped on the recompiler refusal that main with #10304 stops on (stencil reference export emulation requires a replay-safe pixel shader with late tests).
    • Without this PR, the first replayed draw of an unbounded stencil export (Stencil replay: a draw replays all 256 stencil reference values ...) threw AGC graphics: guest buffer offset lies outside the shader's push constants in 1 of 2 runs.
    • With this PR (15803c7f1a) merged as well, no run had the push-constant error. In 2 of 5 runs, that draw got past buildPrepare, and the run then stopped at a later stencil replay check, stencil replay refuses depth or stencil feedback reads.
    • The other 4 runs (1 without this PR, 3 with it) stopped before that draw, on sample-preserving guest publication of native multisample depth is not implemented.
  • Other runs: @ycbuzi ran 895a93e59 (the first commit before this rebase) merged onto main b77bd58806, on Windows 11 with an RTX 4070 SUPER (driver 616.92, MinGW-w64 GCC 15.2.0): agc_driver_stencil_replay and agc_driver_stencil_replay_no_gpl passed on both of 2 repeats (comment below). On #9427, its own equivalent buildPrepare change (62a5b6cea on main a6dcea927) with the second commit's case was run by @TheSovietWaffle on Windows 10 (RTX 3080, AMD RDNA 2 iGPU) and by @jotitadev on Linux (RTX 3070, lavapipe): agc_driver_stencil_replay fails without the change and passes with it.
  • @blawesom ran head 15803c7f1a (clean against main f075f91737) on CachyOS with an AMD Radeon RX 9070 XT (RADV, Mesa 26.2.4):
    • The 20 focused tests above pass on main and on this branch under the layer, with no VUID- line.
    • With ShaderResources.cpp from main, both agc_driver_stencil_replay tests fail with AGC graphics: guest buffer offset lies outside the shader's push constants.
    • On RADV, agc_driver_stencil_ref_export runs instead of skipping.
  • @akkadbakkad89 ran Assassin's Creed Shadows on Windows 11 with an RTX 3070 (base not stated), with this PR on top of #9317, #9393, #9904, #9905 and #9906. Their #8674 update also describes local relaxations of the single-sample and sampled depth-surface checks in their in-title runs.
    • In the run before this PR was added, shader 0x407321e400 failed with AGC graphics: guest buffer offset lies outside the shader's push constants.
    • With this PR, a later run reached the replay of shader 0x407325e400 and stopped at a later check (stencil replay refuses sampled depth-surface feedback). 0x407321e400 didn't come up in that run.
  • Pull requests that change the lines this one changes in ShaderResources.cpp:

Not run on macOS or a console; on Windows only as above.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none (PPSA24191 #7972, PPSA27836 #5769 and PPSA20397 #8674 reach this only with other changes that are not on main: the open stencil replay changes, and for PPSA24191 also #10304; for PPSA20397, see Tested)
  • GPUs tested: NVIDIA GeForce RTX 5090, driver 595.99.02, Gentoo Linux (kernel 7.2.8); NVIDIA GeForce RTX 4070 SUPER, driver 616.92, Windows 11 (@ycbuzi: 895a93e59 on main b77bd58806, the two stencil replay tests); AMD Radeon RX 9070 XT, RADV (Mesa 26.2.4), CachyOS (kernel 7.2.10) (@blawesom: 15803c7f1a, the 20 focused tests with the layer); not run on Intel or lavapipe (see Tested for #9427's runs)
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4940484267 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8615). Originally posted by [Lindamea1](https://github.com/Lindamea1) on 2026-10-20T18:30:05Z. --- ### What On a device without `VK_EXT_shader_stencil_export`, a pixel shader that exports stencil is drawn by [replay](https://github.com/boykopovar/AnyPS5/blob/8727ddb29e7f51d1717b8fd5b264595ac6649718/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp#L1735-L1772), which passes the reference in a [push constant word after the shader data](https://github.com/boykopovar/AnyPS5/blob/8727ddb29e7f51d1717b8fd5b264595ac6649718/core/shader/recompiler/Recompiler.cpp#L1109-L1112). When the shader data is not in push constants, that word is the whole push block (`stencilReferenceDword` 0): [`BindingAllocator::Allocate`](https://github.com/boykopovar/AnyPS5/blob/8727ddb29e7f51d1717b8fd5b264595ac6649718/core/shader/recompiler/Optimization/src/BindingAllocator.cpp#L105-L122) gives a shader data buffer to any shader with an image under registration modules, which [follow the pipeline library](https://github.com/boykopovar/AnyPS5/blob/8727ddb29e7f51d1717b8fd5b264595ac6649718/core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp#L3651), and to shader data larger than the stage push range. [`ShaderResources::buildPrepare`](https://github.com/boykopovar/AnyPS5/blob/8727ddb29e7f51d1717b8fd5b264595ac6649718/core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp#L1971-L1979) took any non-empty push block to mean the guest buffer offsets are in push constants, so such a shader that reads a guest buffer fails with `AGC graphics: guest buffer offset lies outside the shader's push constants` (byte 64 against a 4-byte block in the first commit's test case). Found while bringing up Monster Hunter Wilds (PPSA24191, #7972) on NVIDIA. On `main` `1e20650e8` with #10304 and the open stencil replay changes (#9317 with #9904, #9393, #9905 and #9906), the title's first replayed draw of an unbounded stencil export throws this error. With this PR, the run gets past it and stops at a later stencil replay check (see Tested). @TheSovietWaffle found the same failure in Onimusha: Way of the Sword (PPSA27836, #5769) on an RTX 3080, running it with a local stack of the open stencil replay changes, and opened #9427 with the same fix; its test case is the second commit here, with them as its author, as they agreed there. @akkadbakkad89 hit it in Assassin's Creed Shadows (PPSA20397, #8674) on an RTX 3070, in a local stack with #9317, #9393, #9904, #9905 and #9906 (see Tested). No title is known to reach this on `main` alone. The RTX 5090 used here lacks `VK_EXT_shader_stencil_export` and has the pipeline library, so on `main` every replayed stencil export there whose shader uses an image and reads a guest buffer throws. The shader reads the offsets from push constants only when its layout puts the shader data there, and from the shader data buffer otherwise ([`EmitShaderDataDwordLoad`](https://github.com/boykopovar/AnyPS5/blob/8727ddb29e7f51d1717b8fd5b264595ac6649718/core/shader/recompiler/SpirvBackend/src/SpirvMemory/SpirvBufferAccess.cpp#L35-L50)). For a shader with stencil references, `buildPrepare` now counts only the `stencilReferenceDword` words before the reference as push constant shader data and, when there are none, writes the offsets to the shader data buffer. Shaders without stencil references keep the current rule. [`applyShaderDataPatches`](https://github.com/boykopovar/AnyPS5/blob/8727ddb29e7f51d1717b8fd5b264595ac6649718/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRelocate.cpp#L253-L265) and the draw cache's [verify comparison](https://github.com/boykopovar/AnyPS5/blob/8727ddb29e7f51d1717b8fd5b264595ac6649718/core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCapture.cpp#L192-L198) also index push bytes by user data slot. For such a shader they reach only the reference word, which replay [rewrites before every pass](https://github.com/boykopovar/AnyPS5/blob/8727ddb29e7f51d1717b8fd5b264595ac6649718/core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp#L1745-L1754), so they are unchanged. No console reference applies: replay emulates a missing Vulkan extension on the host. Not measured on a console. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Gentoo Linux, kernel 7.2.8, GCC 16.2.1, glibc 2.43, Release, `BUILD_TESTING=ON`, NVIDIA GeForce RTX 5090 (595.99.02). The branch was first tested on `main` 8727ddb29 and is now rebased onto `main` 4777caca3; the runs below are on 4777caca3 unless a bullet says otherwise. - The first commit adds a case at the end of `core/libs/prx/libSceAgcDriver/tests/execution/StencilReplay.cpp`, which removes `StencilExportEXT` from the target so that every device replays. A pixel shader `image_load`s a 64x1 32_FLOAT texture of 1.0 and `buffer_load_dword`s through two V#s in user data over one array: the stencil V# starts 4 bytes in (0x30 + x at column x) and the other at the start, so the stencil V# needs a 4-byte offset. It exports the stencil V#'s value as stencil and the texel as color. The case checks that the replayed draw colors every pixel with the texel and that an EQUAL 0x35 probe passes exactly column 5. On `main` 8727ddb29, a temporary print (since removed) showed where the offset goes: in `agc_driver_stencil_replay` (pipeline library on) the push block is the reference alone and the offset is shader data byte 64; in `agc_driver_stencil_replay_no_gpl` (`APS5_NO_GPL=1`) 17 shader data words precede the reference in push constants and the offset is push byte 84. - The second commit is @TheSovietWaffle's case from #9427 (62a5b6cea), with its lines unchanged. It changes a copy of the finite stencil export shader of the earlier cases to read its color with `s_buffer_load_dword` through a buffer descriptor in user data, and passes 4 as a new optional `Draw` argument, `pixelPushBytes`, which shrinks the fragment push range to the reference dword, so its shader data is in a buffer with or without the pipeline library. The replayed draw must color every pixel from the buffer. - With `ShaderResources.cpp` from `main`, `agc_driver_stencil_replay` and `agc_driver_stencil_replay_no_gpl` both fail with `AGC graphics: guest buffer offset lies outside the shader's push constants`: the second commit's case, which runs before the first commit's, fails in both because its shader data is in a buffer either way. With the first commit's test file alone, `agc_driver_stencil_replay` fails the same way and `agc_driver_stencil_replay_no_gpl` passes, since without the pipeline library that case's shader data fits in push constants. - On `main` 8727ddb29, before the second commit: with a local change that skips writing guest buffer offsets to the shader data buffer (a `continue` before the write in `ShaderResources::buildComplete`), `agc_driver_stencil_replay` fails with `pixel (5, 0) is 64, expected drawn`: the EQUAL 0x35 probe passes column 6, which read the word before its own. `agc_driver_stencil_replay_no_gpl`, whose offset is in push constants, passes. - With `ANYPS5_NO_SHADER_CACHE=1`, `agc_driver_stencil_replay` and `agc_driver_stencil_replay_no_gpl` pass in 20 of 20 runs each (`ctest --repeat until-fail:20`). - Tests selected by `tools/select_tests.py`: 1130, of which 1110 passed, 3 failed and 17 skipped. The skips are the 13 `video_out_flip_*` tests, `video_out_frame_dump_queue`, `video_out_frame_dump_wait` and `video_out_telemetry_caption` (no Vulkan surface under the offscreen SDL video driver), and `agc_driver_stencil_ref_export` (the device lacks `VK_EXT_shader_stencil_export`). The failures are `agc_driver_sample_order`, `agc_driver_sample_order_grid_reference` and `agc_driver_sample_order_recipe_depth_locations`; they fail with the same messages with `ShaderResources.cpp` from `main`, as #9056 describes. - Paired run on `main` and on this branch with `ctest -V`, `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `ANYPS5_NO_SHADER_CACHE=1` and `ANYPS5_REQUIRE_VULKAN=1`, of 20 focused tests: `agc_driver_stencil_*` (6), `agc_driver_sample_mask_depth_stencil`, `agc_masked_select`, `agc_driver_graphics`, `agc_driver_draw_cache_relocation`, `agc_driver_draw_cache_reuse*` (4), `agc_driver_prepared_graphics*` (4), `agc_driver_prepared_unregistered_graphics` and `guest_buffer_reuse`. On both, 19 pass and `agc_driver_stencil_ref_export` skips. Neither log has `was not found but was requested by env var VK_INSTANCE_LAYERS` or a `VUID-` line, and both have the same 10 layer warnings (`Undefined-Value-ShaderOutputNotConsumed`, 9 of them the `-DynamicRendering` form). - `tools/check_compile.py --base upstream/main`: 2 translation units compile. - Windows: both changed files pass `x86_64-w64-mingw32-g++` 16.2 `-fsyntax-only -Wall -Wextra` with the same warnings as their `main` versions. This is a syntax check, not a Windows build or run. - `tools/check_conventions.py` passes against `main`. - Monster Hunter Wilds (PPSA24191 01.041.040), 2026-10-24, RTX 5090, no network. The base is `main` `1e20650e8` with #10304 (`e0d6e062a9`) merged; without it the title stops earlier on `main`, at `guest buffer has no GPU owner` in a compute dispatch. On top are #9317 (`d02c6280f5`, merged) and each follow-up's own commit (#9904, #9393, #9905 and #9906, cherry-picked). None of the 7 runs stopped on the recompiler refusal that `main` with #10304 stops on (`stencil reference export emulation requires a replay-safe pixel shader with late tests`). - Without this PR, the first replayed draw of an unbounded stencil export (`Stencil replay: a draw replays all 256 stencil reference values ...`) threw `AGC graphics: guest buffer offset lies outside the shader's push constants` in 1 of 2 runs. - With this PR (`15803c7f1a`) merged as well, no run had the push-constant error. In 2 of 5 runs, that draw got past `buildPrepare`, and the run then stopped at a later stencil replay check, `stencil replay refuses depth or stencil feedback reads`. - The other 4 runs (1 without this PR, 3 with it) stopped before that draw, on `sample-preserving guest publication of native multisample depth is not implemented`. - Other runs: @ycbuzi ran 895a93e59 (the first commit before this rebase) merged onto `main` b77bd58806, on Windows 11 with an RTX 4070 SUPER (driver 616.92, MinGW-w64 GCC 15.2.0): `agc_driver_stencil_replay` and `agc_driver_stencil_replay_no_gpl` passed on both of 2 repeats (comment below). On #9427, its own equivalent `buildPrepare` change (62a5b6cea on `main` a6dcea927) with the second commit's case was run by @TheSovietWaffle on Windows 10 (RTX 3080, AMD RDNA 2 iGPU) and by @jotitadev on Linux (RTX 3070, lavapipe): `agc_driver_stencil_replay` fails without the change and passes with it. - @blawesom ran head `15803c7f1a` (clean against `main` `f075f91737`) on CachyOS with an AMD Radeon RX 9070 XT (RADV, Mesa 26.2.4): - The 20 focused tests above pass on `main` and on this branch under the layer, with no `VUID-` line. - With `ShaderResources.cpp` from `main`, both `agc_driver_stencil_replay` tests fail with `AGC graphics: guest buffer offset lies outside the shader's push constants`. - On RADV, `agc_driver_stencil_ref_export` runs instead of skipping. - @akkadbakkad89 ran Assassin's Creed Shadows on Windows 11 with an RTX 3070 (base not stated), with this PR on top of #9317, #9393, #9904, #9905 and #9906. Their #8674 update also describes local relaxations of the single-sample and sampled depth-surface checks in their in-title runs. - In the run before this PR was added, shader `0x407321e400` failed with `AGC graphics: guest buffer offset lies outside the shader's push constants`. - With this PR, a later run reached the replay of shader `0x407325e400` and stopped at a later check (`stencil replay refuses sampled depth-surface feedback`). `0x407321e400` didn't come up in that run. - Pull requests that change the lines this one changes in `ShaderResources.cpp`: - #9427, the same fix. @TheSovietWaffle closed it in favour of this one, which carries its test case as the second commit. - #7642 and #9508, which add `!shader.program->dataAddressPush` to the same `if (!push.empty())` condition and conflict with `main`. - #10193, which is stacked on #7642 and carries that change. - None of the other open pull requests the overlap comment could not compare (#6192, #6194, #6202, #6223, #6412, #6481, #7484, #7618, #7689, #8998, #9400, #9592, #9674, #9897, #10194, #10256) change these lines. Not run on macOS or a console; on Windows only as above. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: <!-- #PR, or none --> none - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none (PPSA24191 #7972, PPSA27836 #5769 and PPSA20397 #8674 reach this only with other changes that are not on `main`: the open stencil replay changes, and for PPSA24191 also #10304; for PPSA20397, see Tested) - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> NVIDIA GeForce RTX 5090, driver 595.99.02, Gentoo Linux (kernel 7.2.8); NVIDIA GeForce RTX 4070 SUPER, driver 616.92, Windows 11 (@ycbuzi: 895a93e59 on `main` b77bd58806, the two stencil replay tests); AMD Radeon RX 9070 XT, RADV (Mesa 26.2.4), CachyOS (kernel 7.2.10) (@blawesom: `15803c7f1a`, the 20 focused tests with the layer); not run on Intel or lavapipe (see Tested for #9427's runs) - [x] AI-assisted: <!-- yes / no --> yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ycbuzi commented 2026-10-21 07:46:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ycbuzi on 2026-10-21T07:46:28Z.


Windows run of 895a93e59a merged onto main b77bd58806 (8ddb86bb40, clean), one of the hosts the description lists as not run. Windows 11 Home 10.0.26200, MinGW-w64 GCC 15.2.0 (ucrt-posix-seh r7), Release, BUILD_TESTING=ON. GPU: NVIDIA GeForce RTX 4070 SUPER, driver 616.92, picked with ANYPS5_GPU=4070 (the machine also has a GTX 1650 SUPER).

Built libSceAgcDriver and agc_driver_stencil_replay_tests with no errors or warnings; ctest --repeat until-fail:2 on agc_driver_stencil_replay and agc_driver_stencil_replay_no_gpl: each passes on both repeats, neither skipped. Not run: macOS, a console, a title.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6310835748 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8615#issuecomment-6310835748). Originally posted by [ycbuzi](https://github.com/ycbuzi) on 2026-10-21T07:46:28Z. --- Windows run of 895a93e59a merged onto `main` b77bd58806 (8ddb86bb40, clean), one of the hosts the description lists as not run. Windows 11 Home 10.0.26200, MinGW-w64 GCC 15.2.0 (ucrt-posix-seh r7), Release, `BUILD_TESTING=ON`. GPU: NVIDIA GeForce RTX 4070 SUPER, driver 616.92, picked with `ANYPS5_GPU=4070` (the machine also has a GTX 1650 SUPER). Built `libSceAgcDriver` and `agc_driver_stencil_replay_tests` with no errors or warnings; `ctest --repeat until-fail:2` on `agc_driver_stencil_replay` and `agc_driver_stencil_replay_no_gpl`: each passes on both repeats, neither skipped. Not run: macOS, a console, a title.
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!8615
No description provided.