Skip cs_6_5 BVH fixtures on adapters below Shader Model 6.5 #98
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/99"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by rasptum on 2026-11-21T15:57:14Z.
## Change
Seven BVH and buffer-operation tests fail on Windows 10 WARP instead of skipping. Their fixtures are compiled as
cs_6_5. The Windows 10 22H2 in-box WARP (10.0.19041) reports Shader Model 6.2, soCreateComputePipelineStatereturnsE_INVALIDARG(0x80070057):--bvh-wave64,--bvh-differentialand the DXR operations already query the shader model and return 77. This applies the same pattern to the sevencs_6_5operations:offscreen_checkprintsshader_model_capped_at_6_5=0x..and returns 77 when the adapter is below SM 6.5. The WARP variants now accept 77 as a skip. The hardware variants already did.Adapters at SM 6.5 or higher take the same path as before. On
windows-2025CI, WARP reports SM 6.5 or higher, so these tests still run there.package-gpu-check.ps1still requiresbvh_waves_warp,bvh_atomics_warpandbvh_packed_warpto PASS, so a CI WARP that dropped below SM 6.5 would still fail the job and not skip silently.The released
gpu-check-v0.1.0package has the same failure on Windows 10:.\Run-GpuCheck.ps1 -Backend warpreportsbvh_waves_warp - FAILwith the same HRESULT.Verification
Commit
27567faon88fd8c5, Windows 10 22H2 (19045.6466), VS Build Tools 17.14, MSVC 14.44.35207, Windows SDK 10.0.26100 (DXC 1.7.2308).b7f7e3f, unmodified)27567fa)buffer_ops,reads,waves,hits,packed,numeric,atomics)shader_model_capped_at_6_5=0x62Debug layer unavailable on both (Graphics Tools not installed). Full suite after the change: 74 of 75 pass or skip. The remaining failure,
shader_metadata_probe, is separate and caused by the SDK's DXC version: #98.Evidence and follow-up
No new fixtures. The change only adds a capability query before existing ones.
Running these seven tests on Windows 10 WARP would need a newer WARP (the
Microsoft.Direct3D.WARPpackage) or the app-local Agility SDK path. That is a possible follow-up. I haven't tested it.AI-assisted (Claude Code); built and run locally on the configuration above.