Shader host: select a hardware adapter for testing on hybrid systems #197
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!197
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@GeaorgeAyvazov on GitHub · 2026-11-24 22:27 UTC · original
GeaorgeAyvazov:shader/test-adapter-selection→main· +34 −1 · 2 files · 2 commits · openA 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.