Enable D3D12 Agility SDK for Windows GPU and shader unit tests #530

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

@⁠flavor1337 on GitHub · 2026-11-28 00:10 UTC · original
flavor1337:nvidia-latest-validation → main · +130 −1 · 6 files · 1 commits · open

Summary

Adds conditional D3D12 Agility SDK support to the victory-gpu and victory-shader unit-test executables on Windows 10.

The standalone tests previously used the system D3D12 runtime, reporting Shader Model 6.5 instead of 6.8.

Test Environment

  • OS: Windows 10 Home (19045)
  • CPU: AMD Ryzen 5 5600G
  • GPU: NVIDIA RTX 5070 12GB
  • Driver: 621.14
  • RAM: 32GB DDR4-3600
  • Rust: 1.98.1
  • Agility SDK: 1.614.1
  • Streamline: 2.14.16

Test Results

Tested against commits 0cef07e9 and df2daaf.

Test Result
Shader failures resolved 34/34
Depth-bounds pipeline Passed
Original patched workspace 1056 passed, 0 failed
Newer patched workspace 1064 passed, 1 failed
Latest GPU tests 424 passed, 0 failed
Latest shader tests 288 passed, 0 failed

Both workspace runs reported 46 ignored tests.

Workspace tests were performed with:

  • VICTORY_D3D12_ADAPTER=NVIDIA
  • VICTORY_INDIRECT_REST=1

Agility SDK 1.614.1 was staged in target/debug/D3D12/ before compilation.

Additional Hardware Validation

  • Shader Model 6.8 verified
  • DLSS Super Resolution passed
  • NVIDIA Reflex initialized
  • 2x, 4x and 6x Frame Generation passed
  • 30/30 repeated diagnostic runs passed
  • Hardware-accelerated GPU scheduling enabled

All diagnostics were performed without game files.

Known Limitations

  • SDK version is currently fixed at 614.
  • SDK must be staged before compilation.
  • Some inherited comments reference the original fork's installation procedure.
  • Two budgeting tests require VICTORY_INDIRECT_REST=1.
  • windows_own_runtime_tells_its_version fails on df2daaf because the native Windows runtime reports version 2 rather than the expected minimum of 4.
  • Some hardware-specific subtests were skipped internally.
  • Streamline emitted nonfatal synchronization and resource alignment warnings.
  • Actual gameplay remains untested.

Attribution

Adapted from Aerodymeus's Windows 10 D3D12 Agility SDK implementation, commit 30c5f91, adjusted for NVIDIA's SDK version 614.

Submitted for review to improve Windows 10 test compatibility. Feedback and suggestions are welcome.

**@⁠flavor1337** on GitHub · 2026-11-28 00:10 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/530) `flavor1337:nvidia-latest-validation` → `main` · +130 −1 · 6 files · 1 commits · open ## Summary Adds conditional D3D12 Agility SDK support to the victory-gpu and victory-shader unit-test executables on Windows 10. The standalone tests previously used the system D3D12 runtime, reporting Shader Model 6.5 instead of 6.8. ## Test Environment - OS: Windows 10 Home (19045) - CPU: AMD Ryzen 5 5600G - GPU: NVIDIA RTX 5070 12GB - Driver: 621.14 - RAM: 32GB DDR4-3600 - Rust: 1.98.1 - Agility SDK: 1.614.1 - Streamline: 2.14.16 ## Test Results Tested against commits 0cef07e9 and df2daaf. | Test | Result | |---|---| | Shader failures resolved | 34/34 | | Depth-bounds pipeline | Passed | | Original patched workspace | 1056 passed, 0 failed | | Newer patched workspace | 1064 passed, 1 failed | | Latest GPU tests | 424 passed, 0 failed | | Latest shader tests | 288 passed, 0 failed | Both workspace runs reported 46 ignored tests. Workspace tests were performed with: - VICTORY_D3D12_ADAPTER=NVIDIA - VICTORY_INDIRECT_REST=1 Agility SDK 1.614.1 was staged in target/debug/D3D12/ before compilation. ## Additional Hardware Validation - Shader Model 6.8 verified - DLSS Super Resolution passed - NVIDIA Reflex initialized - 2x, 4x and 6x Frame Generation passed - 30/30 repeated diagnostic runs passed - Hardware-accelerated GPU scheduling enabled All diagnostics were performed without game files. ## Known Limitations - SDK version is currently fixed at 614. - SDK must be staged before compilation. - Some inherited comments reference the original fork's installation procedure. - Two budgeting tests require VICTORY_INDIRECT_REST=1. - windows_own_runtime_tells_its_version fails on df2daaf because the native Windows runtime reports version 2 rather than the expected minimum of 4. - Some hardware-specific subtests were skipped internally. - Streamline emitted nonfatal synchronization and resource alignment warnings. - Actual gameplay remains untested. ## Attribution Adapted from Aerodymeus's Windows 10 D3D12 Agility SDK implementation, commit 30c5f91, adjusted for NVIDIA's SDK version 614. Submitted for review to improve Windows 10 test compatibility. Feedback and suggestions are welcome.
Adapted from Aerodymeus's Windows 10 Agility SDK implementation, commit 30c5f91, using NVIDIA's SDK version 614.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 00:11:17 +00:00
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/build.rs
  • crates/victory-gpu/src/lib.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-530'
git switch 'github-bot/gh-530'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-530'
git switch 'github-bot/gh-530'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-530'
git switch 'main'
git merge --squash 'github-bot/gh-530'
git switch 'main'
git merge --ff-only 'github-bot/gh-530'
git switch 'main'
git merge 'github-bot/gh-530'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!530
No description provided.