Shader host: select a hardware adapter for testing on hybrid systems #197
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/197"
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 fxceless/victory-fork. Originally posted by GeaorgeAyvazov on 2026-11-24T22:27:15Z.
A hybrid laptop can run the shader tests on the integrated adapter even when testing results intended for the discrete GPU. Allow Host::new(false) to select a hardware DXGI adapter by case-insensitive name substring via VICTORY_SHADER_ADAPTER. Leaving it unset keeps the Windows default; explicit WARP runs keep their existing path. This covers the shader validation/test host only.
Verified on a laptop with Iris Xe and RTX 3070 Ti. The wave32 mask-join test on this branch returned all 32 mask bits on the selected NVIDIA adapter (the default run had returned only 16). On a local integration branch including #78, #171 and #182, the default shader library suite with the selector set to NVIDIA passed 213 tests with two opt-in tests ignored. Hardware-specific differences on Intel still merit investigation. Code and testing assisted by OpenAI Codex.
test result: FAILED. 204 passed; 6 failed; 2 ignored; 0 measured; 0 filtered out; finished in 6.90s#356View 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.