AGC (NVIDIA RTX 5090, Windows): agc_driver_f16_to_f32_unpack and agc_driver_sdwa_move_selectors fail with "shader binding layout failed: descriptor set must be 0" #24618

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

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


What happens

Two agc_driver tests fail immediately after the Vulkan device is ready. Both hit the same shader recompiler error: ShaderRecompiler::Recompile: shader binding layout failed: descriptor set must be 0. The tests never reach their GPU work.

Title, test or build step

  • agc_driver_f16_to_f32_unpack
  • agc_driver_sdwa_move_selectors

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.

Host report

Selected GPU name=NVIDIA GeForce RTX 5090 vendor=0x10de device=0x2b85 subgroup=32
Memory heap 0 size=32190.0 MiB flags=0x1
Memory heap 1 size=65455.1 MiB flags=0x0
Memory heap 2 size=214.0 MiB flags=0x1
single-wave wave64 compute spans two full 32-lane subgroups: 1

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_f16_to_f32_unpack|agc_driver_sdwa_move_selectors)$" -V --output-on-failure

Both fail in under 0.3 s, every run. No GPU work is dispatched — the recompiler aborts before the draw.

Log

Both tests print the same error after the float-controls probe:

ShaderRecompiler::Recompile: shader binding layout failed: descriptor set must be 0

agc_driver_f16_to_f32_unpack additionally dumps its RecompileRequest: blob (a base64-encoded shader IR). agc_driver_sdwa_move_selectors does the same.

What was checked

  • Reproduced identically on main 223b1645d2 and on fix-shader-nvidia-sext-utof (#21159, ca2b6ba242), ruling out that PR.
  • All other SDWA tests pass on the same machine (the SDWA destination suite is 4/4).
  • No other agc_driver test reports this error — the remaining 1453 passed or failed for a different reason.
  • No VUID- validation errors (validation layer 1.4.357 was not loaded for this run, but agc_driver_sdwa_destination was run with it and was clean).

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6519633106 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/24618). Originally posted by [haadeej084](https://github.com/haadeej084) on 2026-11-20T21:04:52Z. --- ### What happens Two agc_driver tests fail immediately after the Vulkan device is ready. Both hit the same shader recompiler error: `ShaderRecompiler::Recompile: shader binding layout failed: descriptor set must be 0`. The tests never reach their GPU work. ### Title, test or build step - `agc_driver_f16_to_f32_unpack` - `agc_driver_sdwa_move_selectors` ### 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`. ### Host report ``` Selected GPU name=NVIDIA GeForce RTX 5090 vendor=0x10de device=0x2b85 subgroup=32 Memory heap 0 size=32190.0 MiB flags=0x1 Memory heap 1 size=65455.1 MiB flags=0x0 Memory heap 2 size=214.0 MiB flags=0x1 single-wave wave64 compute spans two full 32-lane subgroups: 1 ``` ### 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_f16_to_f32_unpack|agc_driver_sdwa_move_selectors)$" -V --output-on-failure ``` Both fail in under 0.3 s, every run. No GPU work is dispatched — the recompiler aborts before the draw. ### Log Both tests print the same error after the float-controls probe: ``` ShaderRecompiler::Recompile: shader binding layout failed: descriptor set must be 0 ``` `agc_driver_f16_to_f32_unpack` additionally dumps its `RecompileRequest:` blob (a base64-encoded shader IR). `agc_driver_sdwa_move_selectors` does the same. ### What was checked - Reproduced identically on `main` `223b1645d2` and on `fix-shader-nvidia-sext-utof` (#21159, `ca2b6ba242`), ruling out that PR. - All other SDWA tests pass on the same machine (the SDWA destination suite is 4/4). - No other agc_driver test reports this error — the remaining 1453 passed or failed for a different reason. - No `VUID-` validation errors (validation layer 1.4.357 was not loaded for this run, but `agc_driver_sdwa_destination` was run with it and was clean). 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#24618
No description provided.