agc_driver_gds_integer_atomics64 tests fail instead of skipping without shaderBufferInt64Atomics #16927

Closed
opened 2026-11-07 23:25:15 +00:00 by gabichuuuuu · 0 comments
gabichuuuuu commented 2026-11-07 23:25:15 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by gabichuuuuu on 2026-11-07T23:25:15Z.


On a device without shaderBufferInt64Atomics, all 9 agc_driver_gds_integer_atomics64* tests fail instead of skipping. main 302864d48c, Windows 11 x64, WinLibs GCC 15.2.0 r7, Release, Intel iGPU (driver 101.70xx), ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 ctest -R '^agc_driver_gds':

agc_driver_gds_integer_atomics64                    Failed
agc_driver_gds_integer_atomics64_exchanges          Failed
agc_driver_gds_integer_atomics64_contention         Failed
agc_driver_gds_integer_atomics64_bounds             Failed
agc_driver_gds_integer_atomics64_requirements       Failed
agc_driver_gds_integer_atomics64_alignment          Failed
agc_driver_gds_integer_atomics64_coherence          Failed
agc_driver_gds_integer_atomics64_exchange-contention Failed
agc_driver_gds_integer_atomics64_copied             Failed

Each one stops with ShaderRecompiler::Recompile: SPIR-V module emission failed: 64-bit GDS atomics need shaderBufferInt64Atomics. The other GDS tests pass on the same device, and all twelve pass on an NVIDIA GPU, which has the feature.

The refusal itself is right; GdsIntegerAtomics64.cpp:577-579 even checks that a target without the feature gets it. The tests just don't account for running on such a device: main (line 703-704) skips only when there is no Vulkan device at all, then compiles for the device's real target. Returning VulkanTestSkipped when the opened device lacks shaderBufferInt64Atomics (keeping the CPU-side refusal check, which builds its own target), would make them skip on these GPUs as the other feature-gated tests do.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6265356736 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/16927). Originally posted by [gabichuuuuu](https://github.com/gabichuuuuu) on 2026-11-07T23:25:15Z. --- On a device without `shaderBufferInt64Atomics`, all 9 `agc_driver_gds_integer_atomics64*` tests fail instead of skipping. `main` `302864d48c`, Windows 11 x64, WinLibs GCC 15.2.0 r7, Release, Intel iGPU (driver 101.70xx), `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 ctest -R '^agc_driver_gds'`: ``` agc_driver_gds_integer_atomics64 Failed agc_driver_gds_integer_atomics64_exchanges Failed agc_driver_gds_integer_atomics64_contention Failed agc_driver_gds_integer_atomics64_bounds Failed agc_driver_gds_integer_atomics64_requirements Failed agc_driver_gds_integer_atomics64_alignment Failed agc_driver_gds_integer_atomics64_coherence Failed agc_driver_gds_integer_atomics64_exchange-contention Failed agc_driver_gds_integer_atomics64_copied Failed ``` Each one stops with `ShaderRecompiler::Recompile: SPIR-V module emission failed: 64-bit GDS atomics need shaderBufferInt64Atomics`. The other GDS tests pass on the same device, and all twelve pass on an NVIDIA GPU, which has the feature. The refusal itself is right; `GdsIntegerAtomics64.cpp:577-579` even checks that a target without the feature gets it. The tests just don't account for running on such a device: `main` (line 703-704) skips only when there is no Vulkan device at all, then compiles for the device's real target. Returning `VulkanTestSkipped` when the opened device lacks `shaderBufferInt64Atomics` (keeping the CPU-side refusal check, which builds its own target), would make them skip on these GPUs as the other feature-gated tests do. 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#16927
No description provided.