Shader tests: the permute test skips a device with shorter waves #1858

Open
github-bot wants to merge 1 commit from github-bot/gh-1858 into main AGit
Owner

@⁠kais7654 on GitHub · 2026-11-24 23:32 UTC · original
kais7654:shader/skip-unsupported → main · +37 −1 · 2 files · 1 commits · open

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.

**@⁠kais7654** on GitHub · 2026-11-24 23:32 UTC · [original](https://github.com/Marvisak/VIctory/pull/1858) `kais7654:shader/skip-unsupported` → `main` · +37 −1 · 2 files · 1 commits · open 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.
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, and the test fails instead of skipping. The test host now asks
the device's wave lane counts (`D3D12_FEATURE_DATA_D3D12_OPTIONS1`,
`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 (#1829), untouched.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:46:43 +00:00
Author
Owner

@⁠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 current main.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:37 UTC · [original](https://github.com/Marvisak/VIctory/pull/1858#issuecomment-7149759604) <!-- victory-triage v1 head=2abb2301ed6bcf1c4066f4c5147ea03b6ee43a56 verdict=needs-rebase at=2026-11-25T01:37:14Z --> 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 current `main`. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠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 2abb230 applied cleanly onto current main ccfb029.

  • 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.

**@⁠Headache3318** on GitHub · 2026-11-25 01:40 UTC · [original](https://github.com/Marvisak/VIctory/pull/1858#issuecomment-7149821216) Tested on Linux (Arch, kernel 7.3.5, 3× RTX 4090 driver 620.73.04), Rust 1.98.1 (pinned). PR head `2abb230` applied cleanly onto current `main` `ccfb029`. - `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.
This pull request has changes conflicting with the target branch.
  • crates/victory-shader/src/emit/host.rs
  • crates/victory-shader/src/emit/synthetic_tests.rs
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.
git fetch -u origin '+refs/pull/1858/head:github-bot/gh-1858'
git switch 'github-bot/gh-1858'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1858'
git switch 'github-bot/gh-1858'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1858'
git switch 'github-bot/gh-1858'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1858'
git switch 'main'
git merge --squash 'github-bot/gh-1858'
git switch 'main'
git merge --ff-only 'github-bot/gh-1858'
git switch 'main'
git merge 'github-bot/gh-1858'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1858
No description provided.