AGC (RTX 5090, Windows): agc_driver_stencil_replay fails: "stencil replay refuses sampled depth-surface feedback" #24627

Closed
opened 2026-11-20 21:33:43 +00:00 by haadeej084 · 0 comments
haadeej084 commented 2026-11-20 21:33:43 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by haadeej084 on 2026-11-20T21:33:43Z.


What happens

Three agc_driver_stencil_replay test variants fail on the RTX 5090. The stencil replay records 256 passes per triangle and instance because the pixel shader's stencil export is not bounded, and then it refuses the draw because of "sampled depth-surface feedback":

[src/Draw.cpp:3903 operator()] Stencil replay: a draw replays all 256 stencil reference values because its pixel shader's export is not bounded, recording 256 passes per triangle and instance
AGC graphics: stencil replay refuses sampled depth-surface feedback

Title, test or build step

  • agc_driver_stencil_replay (Failed)
  • agc_driver_stencil_replay_no_gpl (Failed)
  • agc_driver_stencil_replay_unsuppressed (Failed)

AnyPS5 commit

main 223b1645d2 (Merge pull request #24052)

System

Windows 11 Home 10.0.26200, 13th Gen Intel Core i7-13700KF, NVIDIA GeForce RTX 5090 (10de:2b85, 32 GB, Blackwell), driver 610.88, WinLibs GCC 15.2.0 UCRT posix-seh r7, Ninja, Release, BUILD_TESTING=ON.

Steps to reproduce

set ANYPS5_REQUIRE_VULKAN=1
set ANYPS5_NO_SHADER_CACHE=1
set ANYPS5_GPU=RTX 5090
ctest --test-dir build -R "^agc_driver_stencil_replay" --output-on-failure

Context

Other stencil tests on the same system:

  • 17/21 stencil tests pass
  • stencil_plane_memory fails (known, #22427)
  • stencil_ref_export is skipped
  • All stencil_copy_draw, stencil_known_replace, stencil_logic_operations, stencil_null_feedback pass

There are open PRs (#24572, #24379) working on stencil replay for indirect draws and triangle strips. This may be a related pre-existing issue.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6520038349 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/24627). Originally posted by [haadeej084](https://github.com/haadeej084) on 2026-11-20T21:33:43Z. --- ### What happens Three `agc_driver_stencil_replay` test variants fail on the RTX 5090. The stencil replay records 256 passes per triangle and instance because the pixel shader's stencil export is not bounded, and then it refuses the draw because of "sampled depth-surface feedback": ``` [src/Draw.cpp:3903 operator()] Stencil replay: a draw replays all 256 stencil reference values because its pixel shader's export is not bounded, recording 256 passes per triangle and instance AGC graphics: stencil replay refuses sampled depth-surface feedback ``` ### Title, test or build step - `agc_driver_stencil_replay` (Failed) - `agc_driver_stencil_replay_no_gpl` (Failed) - `agc_driver_stencil_replay_unsuppressed` (Failed) ### AnyPS5 commit `main` `223b1645d2` (Merge pull request #24052) ### System Windows 11 Home 10.0.26200, 13th Gen Intel Core i7-13700KF, NVIDIA GeForce RTX 5090 (`10de:2b85`, 32 GB, Blackwell), driver 610.88, WinLibs GCC 15.2.0 UCRT posix-seh r7, Ninja, Release, `BUILD_TESTING=ON`. ### Steps to reproduce ``` set ANYPS5_REQUIRE_VULKAN=1 set ANYPS5_NO_SHADER_CACHE=1 set ANYPS5_GPU=RTX 5090 ctest --test-dir build -R "^agc_driver_stencil_replay" --output-on-failure ``` ### Context Other stencil tests on the same system: - 17/21 stencil tests pass - `stencil_plane_memory` fails (known, #22427) - `stencil_ref_export` is skipped - All `stencil_copy_draw`, `stencil_known_replace`, `stencil_logic_operations`, `stencil_null_feedback` pass There are open PRs (#24572, #24379) working on stencil replay for indirect draws and triangle strips. This may be a related pre-existing issue. AI-assisted: yes.
Sign in to join this conversation.
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#24627
No description provided.