diff options
| author | owenjbendon-creator <281052257+owenjbendon-creator@users.noreply.github.com> | 2026-11-28 03:17:47 +0000 |
|---|---|---|
| committer | owenjbendon-creator <281052257+owenjbendon-creator@users.noreply.github.com> | 2026-11-28 03:17:47 +0000 |
| commit | 99bb9dadfec165b4e8017fb7008696db28a71b19 (patch) | |
| tree | 077b097836beeb7d3a981d53d9ee0d17b9a9da6d /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | 02f71ccfe78160997a02950607be583af87e1180 (diff) | |
d3d12: Windows 10 runs the D3D12 runtime with the Agility SDK (D3D12-RUNTIME-WIN10-AGILITY)
Windows 10's own Direct3D 12 stops at shader model 6.5 and refuses the
heap-directly-indexed root signatures every translated pipeline uses, so on
Windows 10 leonida.exe made no host pipeline at all.
leonida.exe now exports D3D12SDKVersion and D3D12SDKPath (.\D3D12\), so
Windows loads Microsoft's newer runtime from a D3D12 folder beside it.
D3D12SDKVersion is set first thing in main to the version of the
D3D12Core.dll that is there (a mismatch makes Windows refuse Direct3D 12,
0x887E0003), or to Windows' own runtime's without one, so nothing changes on
Windows 11. d3d12.dll is delay-loaded so that Windows reads the version main
set. Get-D3D12.cmd (scripts\get-d3d12.ps1) fetches Agility SDK 1.614.1 from
nuget.org with pinned SHA-256s and a Microsoft signature check, and
play-nvidia.ps1 stops with that hint on Windows 10 without the folder.
Ported from trustno1-coder/VIctory-NVIDIA (GPL-3.0-or-later), commits
10862a6, e69e39c, f3534e6 and 0f0ada1 there.
Tested on Windows 10 Pro 22H2 (19045), RTX 3090, driver 610.88, Ryzen 7
9800X3D: `leonida warm --used --again --limit 30` made 30 of 30 host
pipelines with D3D12\D3D12Core.dll (1.620) beside the exe, and 30 of 30 had
no host pipeline without it. New tests: agility::tests (version and export
parsing, Windows' own runtime: it exports D3D12SDKVersion 2 on Windows 10
22H2) and tests/agility.rs (the exe exports both symbols; d3d12.dll is
delay-loaded, not imported).
Written with AI assistance (Claude).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions