Check shader test expectations on 16-lane adapters #78
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/78"
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 Belobug/VIctory-Belobug-AMD. Originally posted by Yoshi-233 on 2026-11-25T13:34:24Z.
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
71652a2several 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::Unsupportedand 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
victory-shaderlibrary 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.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.Imported from Belobug/VIctory-Belobug-AMD. Originally posted by ySKELLETONX on 2026-11-25T16:35:51Z.
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 (mainat01aadd1: 266 passed). Workspace tests only; not run in the title.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.