Shader tests: the permute test skips a device with shorter waves #1856
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from Marvisak/VIctory. Originally posted by kais7654 on 2026-11-24T23:32:48Z.
The 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.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T23:52:20Z.
Review: APPROVED
Tested locally on macOS arm64 (rustc 1.98.1): PR head merged cleanly into current main (
70564ae), cargo test -p victory-shader --locked → 118 passed, 0 failed. GPU execution tests are #[cfg(all(test, windows))] and run only on Windows.Permute test skips devices with shorter waves: test-harness capability gate — same theme as #1857.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T01:37:15Z.
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
Imported from Marvisak/VIctory. Originally posted by Headache3318 on 2026-11-25T01:40:21Z.
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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.