Shader tests: use a local Agility SDK #121

Open
Artking175 wants to merge 1 commit from upstream-pr/121 into main
Artking175 commented 2026-11-25 13:06:12 +00:00 (Migrated from github.com)
First-time contributor

Imported from Zettrox/ztrx. Originally posted by Artking175 on 2026-11-25T12:58:12Z.


Enable an opt-in DirectX Agility SDK for the Windows MSVC shader unit-test executable. The README documents how to set VICTORY_TEST_AGILITY_SDK_VERSION at build time and put the matching runtime in a D3D12 folder beside the test executable. The default build uses the system D3D12 runtime. An ignored test reports shader model support for hardware and WARP separately.

Related to #21, which adds Agility SDK support to the application executable.

Verification

  • Windows 10 22H2, RTX 2060: the hardware adapter reported Shader Model 6.5 with the system runtime and 6.6 with Agility SDK 1.608.2. WARP reported 6.2 with both runtimes.
  • Windows shader tests with this change on main: 210 passed, 0 failed, 3 ignored.
  • Windows shader tests with this change on #80 + #86: 221 passed, 0 failed, 3 ignored. All 22 GPU tests that previously failed on this machine passed.
  • macOS shader tests: 170 passed, 0 failed, 2 ignored. Windows x64 Clippy and the asset policy check also passed.
<!-- greyfinch-sync:Zettrox/ztrx:issue:6605012354 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/pull/121). Originally posted by [Artking175](https://github.com/Artking175) on 2026-11-25T12:58:12Z. --- Enable an opt-in DirectX Agility SDK for the Windows MSVC shader unit-test executable. The README documents how to set `VICTORY_TEST_AGILITY_SDK_VERSION` at build time and put the matching runtime in a `D3D12` folder beside the test executable. The default build uses the system D3D12 runtime. An ignored test reports shader model support for hardware and WARP separately. Related to #21, which adds Agility SDK support to the application executable. ### Verification - Windows 10 22H2, RTX 2060: the hardware adapter reported Shader Model 6.5 with the system runtime and 6.6 with Agility SDK 1.608.2. WARP reported 6.2 with both runtimes. - Windows shader tests with this change on main: 210 passed, 0 failed, 3 ignored. - Windows shader tests with this change on #80 + #86: 221 passed, 0 failed, 3 ignored. All 22 GPU tests that previously failed on this machine passed. - macOS shader tests: 170 passed, 0 failed, 2 ignored. Windows x64 Clippy and the asset policy check also passed.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/121:upstream-pr/121'
git switch 'upstream-pr/121'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/121'
git switch 'upstream-pr/121'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/121'
git switch 'upstream-pr/121'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/121'
git switch 'main'
git merge --squash 'upstream-pr/121'
git switch 'main'
git merge --ff-only 'upstream-pr/121'
git switch 'main'
git merge 'upstream-pr/121'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
Zettrox/ztrx!121
No description provided.