GPU tests: skip mesh_dispatch test when no SM 6.6 GPU is available #73
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/74"
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 ivall/xcl. Originally posted by certified-retart on 2026-11-23T00:53:18Z.
gpu::recomp::mesh_dispatch::tests::gpu_dispatch_matches_native_wave64_referencecheckeddxc::location()before compiling, then calledrunner::dispatch(...).unwrap()without checkingrunner::adapter().On a machine without an SM 6.6 D3D12 runtime (for example Windows 10 22H2 build 19045 with inbox
D3D12Core.dll10.0.19041.5794, even with an RTX 5070, or a headless runner), every other recompiler GPU test skips cleanly viarunner::skip_test("no GPU")while this test panics:This adds the same
runner::adapter()check before DXC compilation (matchinggpu_ready_wave32()ingpu/recomp/tests.rs) so it printsSKIPPED ...: no GPUand honorsXCL_REQUIRE_GPU.Validation
Windows 10 Pro
10.0.19045, RTX 5070 (XCL_ADAPTER=0), Rust 1.100.0x86_64-pc-windows-msvc, DXC 1.9.2602.17:cargo test --workspace -- --test-threads=2failed ongpu_dispatch_matches_native_wave64_reference(no SM 6.6).cargo test --workspace -- --test-threads=2passed (372 passed, 0 failed, 34 ignored,43SKIPPED ...: no GPU).XCL_REQUIRE_GPU=mesh cargo test -p xcl --lib gpu_dispatch_matches_native_wave64_referencefails as expected (no GPU, but XCL_REQUIRE_GPU=mesh).Imported from ivall/xcl. Originally posted by ivall on 2026-11-23T10:29:29Z.
Merged. Tested on Windows 11 with an RX 9070 (RDNA4):
cargo test --workspacegreen with the retail samples (shader pack, console DLLs, texture archive), also withXCL_SPLIT_WAVE64=1(the 32-lane split path forced on RDNA). Unicorn Overlord and XDefiant run with this round merged. Thanks!