AGC (RTX 5090, Windows): agc_driver_pixel_interlock fails: pipeline uses dynamic color write mask #24655

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

Imported from boykopovar/AnyPS5. Originally posted by haadeej084 on 2026-11-20T22:22:18Z.


What happens

agc_driver_pixel_interlock fails with:

AGC graphics: pixel interlock: a primitive-ordered pixel shader's pipeline took the dynamic color write mask

The test asserts that a pipeline with a CapabilityFragmentShaderPixelInterlockEXT pixel shader must not use VK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT. On the RTX 5090 (Blackwell), dynamicColorWriteMask is enabled by the device, but the FragmentInterlock(shaders) gate in Pipeline.cpp:519 and :1180 should disable it for interlock pipelines. The gate scans the SPIR-V for the interlock capability, so the most likely root cause is that the recompiled pixel shader does not emit CapabilityFragmentShaderPixelInterlockEXT in its capability list, or emits it at an unexpected position.

This is different from the closed #3087, which was VK_ERROR_DEVICE_LOST on vkDeviceWaitIdle.

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
ctest --test-dir build -R "^agc_driver_pixel_interlock$" --output-on-failure

Context

  • The RTX 5090 reports fragmentShaderPixelInterlock support and RasterOrderGroupUsable() returns true (the test does not skip).
  • Subgroup size is 32 (Blackwell native), pipelineLibrary=1.
  • With Vulkan validation layer 1.4.357, the test does not get far enough to produce VUID errors — it fails on the assertion before the validation layer can observe any spec violation.
  • All other pixel tests (pixel_wave_reduction, pixel_row_reduction, pixel_lds_read_modify_write) pass on this GPU.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6520668060 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/24655). Originally posted by [haadeej084](https://github.com/haadeej084) on 2026-11-20T22:22:18Z. --- ### What happens `agc_driver_pixel_interlock` fails with: ``` AGC graphics: pixel interlock: a primitive-ordered pixel shader's pipeline took the dynamic color write mask ``` The test asserts that a pipeline with a `CapabilityFragmentShaderPixelInterlockEXT` pixel shader must not use `VK_DYNAMIC_STATE_COLOR_WRITE_MASK_EXT`. On the RTX 5090 (Blackwell), `dynamicColorWriteMask` is enabled by the device, but the `FragmentInterlock(shaders)` gate in `Pipeline.cpp:519` and `:1180` should disable it for interlock pipelines. The gate scans the SPIR-V for the interlock capability, so the most likely root cause is that the recompiled pixel shader does not emit `CapabilityFragmentShaderPixelInterlockEXT` in its capability list, or emits it at an unexpected position. This is different from the closed #3087, which was `VK_ERROR_DEVICE_LOST` on `vkDeviceWaitIdle`. ### 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 ctest --test-dir build -R "^agc_driver_pixel_interlock$" --output-on-failure ``` ### Context - The RTX 5090 reports `fragmentShaderPixelInterlock` support and `RasterOrderGroupUsable()` returns true (the test does not skip). - Subgroup size is 32 (Blackwell native), `pipelineLibrary=1`. - With Vulkan validation layer 1.4.357, the test does not get far enough to produce VUID errors — it fails on the assertion before the validation layer can observe any spec violation. - All other pixel tests (pixel_wave_reduction, pixel_row_reduction, pixel_lds_read_modify_write) pass on this GPU. 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#24655
No description provided.