Tests on Windows 10: skip four tests that need shader model 6.6 / ID3D12Device10 / an SM 6.6 WARP (#1999) #3283
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3283
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3283"
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?
@lerapeurdu62280-debug on GitHub · 2026-11-26 15:45 UTC · original
lerapeurdu62280-debug:test/skip-without-sm66→main· +37 −4 · 4 files · 2 commits · openWhat and why
On Windows 10 without the Agility SDK (#2460 is still open), the host's D3D12 runtime stops at shader model 6.5 and has no
ID3D12Device10. Threevictory-gputests fail on every such PC, and the suite takes a minute longer:compute_view_marks_rebind_after_depth_twin_conversionroot signature: Unsupported bit-flag set (root signature flags c00), thenE_INVALIDARG.CBV_SRV_UAV_HEAP_DIRECTLY_INDEXEDandSAMPLER_HEAP_DIRECTLY_INDEXEDneed 6.6.depth_bounds_control_a_title_drawc01). The test then waits 60 s for the pipeline before failing.a_texture_written_in_one_format_reads_in_another_through_a_placed_viewCreateCommittedResource3the R32_UINT texture is not castable, so the R9G9B9E5 view gets a texture of its own with the memory's unordered access, which the host refuses (no host texture … format: 67 … flags: 4,E_INVALIDARG).texture_atreturnsNone, and the test panics withround 0: a placed texture. #1999 reports this test failing on another Windows 10 PC (RX 7800 XT).The repository already handles this for 6.6 (
placed_uav_dispatch_writes_its_texture: "placed UAV dispatch needs SM 6.6"; the shader crate's "no SM 6.6 device; skipped"). This PR does the same for the three tests:Host::agility_runtime()(#[cfg(test)]) checks shader model 6.6 andID3D12Device10, and prints why when one is missing.A fourth test, in
victory-shader:pops_wait_loop_exits_immediately_for_inactive_lanesdidHost::new(true).expect("WARP host"). Windows 10's WARP stops at shader model 6.2 (the device supports SM 0x62 only), with or without the Agility SDK, so it failed on every run. It now skips like the other WARP tests (no SM 6.6 warp device; skipped).This only skips tests. The runtime itself still needs #2460 on Windows 10: without it every root signature the host makes is refused, which this PR does not touch.
Tested (Windows 10 Pro 19045, AMD RX 6600, Adrenalin 32.0.21045, Rust 1.98.1)
ID3D12Device10.cargo test -p victory-gpu --locked: 231 passed, 0 failed in 2.6 s. Onmain: 229 passed, 3 failed, 62 s.--all-features: 246 passed, 0 failed.-D warnings, default and--all-features: clean.target\debug\D3D12\, #2878 merged locally on top of this PR), the runtime has 6.6 andID3D12Device10: the threevictory-gputests run and pass on the RX 6600 (231 passed, no "skipped" line).victory-shadergoes from 214 passed / 88 failed to 302 passed, 0 failed (3 ignored) with the WARP test skipped (its only failure there was the WARP one).AI-assisted: yes (Claude Code)
🤖 Generated with Claude Code
@Dukestar69 on GitHub · 2026-11-26 15:47 UTC · original · approved these changes
Reviewed the diff and verified locally on Windows 11 x64 (RTX 5090):
Host::agility_runtime()cleanly checks bothD3D_SHADER_MODEL_6_6andID3D12Device10so Windows 10 hosts without the Agility SDK skip the three tests that require them while Windows 11 / Agility hosts still execute all three.cargo test -p victory-gpu --lib draw:: -- --test-threads=1(RTX 5090): 20 passed, 0 failed.cargo test -p victory-gpu --lib pipeline::depth_bounds_test:: -- --test-threads=1(RTX 5090): 2 passed, 0 failed.cargo clippy -p victory-gpu --all-targets -- -D warnings: clean.cargo xtask policy: 191 files ok.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
@Dukestar69 on GitHub · 2026-11-26 15:47 UTC · original · approved these changes
Reviewed the diff and verified locally on Windows 11 x64 (RTX 5090):
Host::agility_runtime()cleanly checks bothD3D_SHADER_MODEL_6_6andID3D12Device10so Windows 10 hosts without the Agility SDK skip the three tests that require them while Windows 11 / Agility hosts still execute all three.cargo test -p victory-gpu --lib draw:: -- --test-threads=1(RTX 5090): 20 passed, 0 failed.cargo test -p victory-gpu --lib pipeline::depth_bounds_test:: -- --test-threads=1(RTX 5090): 2 passed, 0 failed.cargo clippy -p victory-gpu --all-targets -- -D warnings: clean.cargo xtask policy: 191 files ok.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
GPU tests: skip three tests that need shader model 6.6 / ID3D12Device10 on Windows 10 without the Agility SDK (#1999)to Tests on Windows 10: skip four tests that need shader model 6.6 / ID3D12Device10 / an SM 6.6 WARP (#1999)pops_wait_loop_exits_immediately_for_inactive_lanes took a WARP device for granted (`expect("WARP host")`). Windows 10's WARP stops at shader model 6.2, with or without the Agility SDK, so it failed there on every run. It now skips as the other WARP tests do ("no SM 6.6 warp device; skipped"). Co-Authored-By: Claude Opus 5.5 <[email protected]>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.