Repository navigation
Conversation
The module the test runs flags 64-bit atomics on typed resources and heap handles, and the runtime rejects the pipeline where the device says it does not run those (options 9's typed bit; NVIDIA's drivers do not, WARP's device does). The host asks, and the test skips such a device: WARP still checks the lowering word for word. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
|
This is the same change as #1857 (Ingenioeren, opened about an hour earlier). It touches the same two files, A data point on "fails on NVIDIA": on an RTX 3070 (Ampere, driver 616.56, Windows 11), AI-assisted (Claude Code). |
|
Closing in favor of #1857, the same change opened an hour earlier. Data point for whoever reads the skip later: on this machine the gate Side note: the PR's failing CI check is main's own — the Tests step |
Problem
image_atomics_of_64_bitsfails on NVIDIA hardware: the PSO creationreturns
E_INVALIDARGbefore anything runs. WARP runs the very sameshader and it matches the reference — the emitted DXIL is well formed.
The shader's module flags 64-bit atomics on typed resources and heap
handles (SM 6.6's
dx.op.atomicBinOp.i64/atomicCompareExchange.i64over an
R32G32_UINTtexture UAV). The runtime rejects pipelines whosemodule claims a capability the device does not report:
WARP's device reports all of them.
Fix
The host asks the device (
Host::atomic64_typed(), D3D12 options 9 and11) and the test skips one that lacks the capability — the same shape as
wave-length gates elsewhere (#1857, #1858). WARP still checks the
lowering word for word.
Testing
image_atomics_of_64_bitspasses (hardware skipped, WARP equal).exactly the ones open PRs Shader: the ray test's triangle multiplies stay apart from their adds #1903 (BVH) and Shader: the packed dot over an inline constant is taken by hand from … #1896 (packed dot) fix, plus
two pre-existing (
arithmetic_matches_the_hardware,stride_tests).cargo clippy -p victory-shader --all-targets: clean.