Check shader test expectations on 16-lane adapters #78

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

@⁠Yoshi-233 on GitHub · 2026-11-25 13:34 UTC · original
Yoshi-233:test/check-unsupported-wave-widths → main · +83 −40 · 3 files · 1 commits · open

On this Windows machine D3D12 reports wave sizes of 32–32 for the RTX 4070 Ti SUPER and 16–16 for the Intel UHD 770. At 71652a2 several lane tests obtain the expected values on NVIDIA and then fail when the translator refuses the same fixture on Intel. If Intel is enumerated first, that failure also prevents the test from reaching the next adapter.

Check the specific ShaderError::Unsupported and its offset when a fixture needs a wave width the adapter cannot provide. A shader that emits without a fixed wave size still goes through the usual checks. On 32- and 64-lane targets the tests continue to require successful translation and check the dispatched values. The synthetic 16-lane target exercises both sides of this distinction without requiring an Intel adapter.

Verification

  • Built the victory-shader library test binary with Rust 1.98.1 and ran it serially on native Windows with both physical adapters. Main reported 251 passed, 15 failed and 6 ignored. This branch reported 262 passed, 4 failed and 6 ignored. Exactly 11 existing tests changed from failed to passed.
  • The suite checked 21 expected translation refusals on the UHD 770. The divergent read-loop ran on the RTX for both console wave32 and console wave64, with every lane returning the expected value.
  • The four remaining failures are the native-wave64 VALU tests addressed separately by #52. The staged asset check passed for all three changed files.
  • I also applied this patch and #72 to the exact head of #52 (144d4a6) in a temporary checkout. The same Windows shader suite reported 266 passed, 0 failed and 6 ignored. Four of those 266 reported an internal skip because the selected adapter lacks native wave64. The combined checkout also passed the full 185-file asset check and all four xtask tests.
**@⁠Yoshi-233** on GitHub · 2026-11-25 13:34 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/78) `Yoshi-233:test/check-unsupported-wave-widths` → `main` · +83 −40 · 3 files · 1 commits · open On this Windows machine D3D12 reports wave sizes of 32–32 for the RTX 4070 Ti SUPER and 16–16 for the Intel UHD 770. At `71652a2` several lane tests obtain the expected values on NVIDIA and then fail when the translator refuses the same fixture on Intel. If Intel is enumerated first, that failure also prevents the test from reaching the next adapter. Check the specific `ShaderError::Unsupported` and its offset when a fixture needs a wave width the adapter cannot provide. A shader that emits without a fixed wave size still goes through the usual checks. On 32- and 64-lane targets the tests continue to require successful translation and check the dispatched values. The synthetic 16-lane target exercises both sides of this distinction without requiring an Intel adapter. ## Verification - Built the `victory-shader` library test binary with Rust 1.98.1 and ran it serially on native Windows with both physical adapters. Main reported 251 passed, 15 failed and 6 ignored. This branch reported 262 passed, 4 failed and 6 ignored. Exactly 11 existing tests changed from failed to passed. - The suite checked 21 expected translation refusals on the UHD 770. The divergent read-loop ran on the RTX for both console wave32 and console wave64, with every lane returning the expected value. - The four remaining failures are the native-wave64 VALU tests addressed separately by #52. The staged asset check passed for all three changed files. - I also applied this patch and #72 to the exact head of #52 (`144d4a6`) in a temporary checkout. The same Windows shader suite reported 266 passed, 0 failed and 6 ignored. Four of those 266 reported an internal skip because the selected adapter lacks native wave64. The combined checkout also passed the full 185-file asset check and all four xtask tests.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:35:08 +00:00
Author
Owner

@⁠ySKELLETONX on GitHub · 2026-11-25 16:35 UTC · original

Tested on an RX 7600 XT 16 GB (RDNA3, Navi 33), driver 32.0.32015.2008, Windows 11 Pro build 26300, Rust 1.98.1, at 3a11067: cargo test -p victory-shader --lib --locked: 266 passed, 0 failed, 6 ignored, hardware dispatch tests included (main at 01aadd1: 266 passed). Workspace tests only; not run in the title.

**@⁠ySKELLETONX** on GitHub · 2026-11-25 16:35 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/78#issuecomment-7168234159) Tested on an RX 7600 XT 16 GB (RDNA3, Navi 33), driver 32.0.32015.2008, Windows 11 Pro build 26300, Rust 1.98.1, at `3a11067`: `cargo test -p victory-shader --lib --locked`: **266 passed, 0 failed, 6 ignored**, hardware dispatch tests included (`main` at `01aadd1`: 266 passed). Workspace tests only; not run in the title.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/78/head:github-bot/gh-78'
git switch 'github-bot/gh-78'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-78'
git switch 'github-bot/gh-78'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-78'
git switch 'github-bot/gh-78'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-78'
git switch 'main'
git merge --squash 'github-bot/gh-78'
git switch 'main'
git merge --ff-only 'github-bot/gh-78'
git switch 'main'
git merge 'github-bot/gh-78'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.