Shader tests: the permute test skips a device with shorter waves #1858
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!1858
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1858"
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?
@kais7654 on GitHub · 2026-11-24 23:32 UTC · original
kais7654:shader/skip-unsupported→main· +37 −1 · 2 files · 1 commits · openThe permute test's program declares the console's wave of 32, which a device with smaller waves refuses; its pipeline then fails for a known reason (the debug layer: "Shader wants wave lane count of 32 but maximum wave lane count for device is 16" on Intel, "is 4" on WARP — issue #1829), and the test fails instead of skipping. The test host now asks the device's wave lane counts (D3D12_FEATURE_DATA_D3D12_OPTIONS1, new Host::wave_lanes()), and the permute test skips a device whose WaveLaneCountMax is under 32. A device that refuses for no stated reason keeps failing the test.
On this machine (GeForce RTX 5070 + WARP fallback): the permute ran on the GeForce; WARP (4 lanes) skipped with the new message. The repo's other GPU test failures are the documented ones of #1829, untouched.
Note: #1857 (Ingenioeren, same minute) covers the 64-bit image atomics skip of #1829 — this PR deliberately leaves that test alone.
@Marvisak on GitHub · 2026-11-25 01:37 UTC · original
Automated triage for the maintainers.
Needs rebase. This pull request conflicts with
main(conflicting:crates/victory-shader/src/emit/synthetic_tests.rs). It will be reviewed once it is rebased onto the currentmain.Generated by Claude Code
@Headache3318 on GitHub · 2026-11-25 01:40 UTC · original
Tested on Linux (Arch, kernel 7.3.5, 3× RTX 4090 driver 620.73.04), Rust 1.98.1 (pinned). PR head
2abb230applied cleanly onto currentmainccfb029.cargo test -p victory-shader --locked: 118 passed, 0 failed, 1 ignored. All tests pass.cargo clippy -p victory-shader --all-targets -- -D warnings: 3 errors in test code (pre-existing on main, which has 4). The PR does not introduce new clippy warnings.Not tested: Windows MSVC build, the title itself. AI-assisted.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.