Fix native D3D12 runtime version assertion on Windows 10 #533

Closed
github-bot wants to merge 1 commit from github-bot/gh-533 into main AGit
Owner

@⁠flavor1337 on GitHub · 2026-11-28 00:26 UTC · original
flavor1337:win10-native-runtime-fix → main · +2 −2 · 1 files · 1 commits · closed without merging

Summary

Fixes an incorrect minimum SDK version assumption in the
windows_own_runtime_tells_its_version unit test.

On Windows 10 build 19045, the native D3D12Core.dll exports
SDK version 2, while the existing test requires at least 4.

The existing os_runtime() function already accommodates
version 2. This change verifies that the returned version
matches the detected native SDK version capped at 614.

No production runtime behavior is changed.

Test Environment

  • Windows 10 Home, build 19045
  • D3D12Core.dll: 10.0.19041.7291
  • Native D3D12 SDK version: 2
  • GPU: NVIDIA RTX 5070 12GB
  • CPU: AMD Ryzen 5 5600G
  • NVIDIA driver: 621.14
  • Base commit: 64d4931

Validation

  • Original regression test: FAILED
  • Corrected regression test: PASSED
  • Application unit tests: 23 passed, 0 failed
  • Native Direct3D fallback: PASSED
  • Native Shader Model: 6.5
  • Diagnostic exit code: 0

Native runtime initialization was verified without a
locally installed Agility SDK.

Scope

Unit-test correction only. No changes to rendering,
shader translation or runtime selection logic.

Independent of PR #530.

**@⁠flavor1337** on GitHub · 2026-11-28 00:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/533) `flavor1337:win10-native-runtime-fix` → `main` · +2 −2 · 1 files · 1 commits · closed without merging ## Summary Fixes an incorrect minimum SDK version assumption in the windows_own_runtime_tells_its_version unit test. On Windows 10 build 19045, the native D3D12Core.dll exports SDK version 2, while the existing test requires at least 4. The existing os_runtime() function already accommodates version 2. This change verifies that the returned version matches the detected native SDK version capped at 614. No production runtime behavior is changed. ## Test Environment - Windows 10 Home, build 19045 - D3D12Core.dll: 10.0.19041.7291 - Native D3D12 SDK version: 2 - GPU: NVIDIA RTX 5070 12GB - CPU: AMD Ryzen 5 5600G - NVIDIA driver: 621.14 - Base commit: 64d4931 ## Validation - Original regression test: FAILED - Corrected regression test: PASSED - Application unit tests: 23 passed, 0 failed - Native Direct3D fallback: PASSED - Native Shader Model: 6.5 - Diagnostic exit code: 0 Native runtime initialization was verified without a locally installed Agility SDK. ## Scope Unit-test correction only. No changes to rendering, shader translation or runtime selection logic. Independent of PR #530.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 00:28:40 +00:00
github-bot closed this pull request 2026-11-28 02:54:49 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-28 02:50 UTC · original

Merged into main (8fc2254) and shipped in v2026.11.27.10. The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

**@⁠trustno1-coder** on GitHub · 2026-11-28 02:50 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/533#issuecomment-7232623271) Merged into main (8fc2254) and shipped in [v2026.11.27.10](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.10). The commit keeps you as its author, so it counts toward the contributors list. GitHub shows this as closed rather than merged only because the commits were applied on top of the newest main (new commit IDs). Thank you!

Pull request closed

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!533
No description provided.