Repository navigation
Windows 10 support: load the D3D12 Agility SDK runtime from a D3D12 folder - #26
Open
Schrubbdiwupp wants to merge 1 commit into
Open
Schrubbdiwupp wants to merge 1 commit into
Schrubbdiwupp wants to merge 1 commit into
Conversation
Windows 10's built-in Direct3D 12 refuses the root signatures with directly indexed descriptor heaps (Shader Model 6.6) that every translated shader uses, so the layer stopped at require_direct_heaps. victory.exe now exports D3D12SDKVersion (620) and D3D12SDKPath (.\D3D12\): Direct3D 12 then loads Microsoft's Agility SDK runtime from a D3D12 folder beside the exe. Windows 11 is unchanged. - apps/victory/src/agility.rs, build.rs: the two exports (/EXPORT:...,DATA) - scripts/get-d3d12.ps1: fetches D3D12Core.dll 1.620.2 from nuget.org, kept only when validly signed by Microsoft; /agility/ is git-ignored - build-launcher.ps1 -Package copies agility\D3D12 into the release - the Windows 10 error message and the README say how to fix it Tested on Windows 10 22H2 (19045), RTX 5070 Ti: shaders translate, the pipelines compile and the title runs. By Schrubbdiwupp & TARS Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On Windows 10, the built-in Direct3D 12 refuses the root signatures with directly indexed descriptor heaps (Shader Model 6.6) that every translated shader uses (
Unsupported bit-flag set (root signature flags c00)), so foxhound stops atrequire_direct_heaps. This PR makesvictory.exeexportD3D12SDKVersion(620) andD3D12SDKPath(.\D3D12\). With those exports, Direct3D 12 loads Microsoft's Agility SDK runtime from aD3D12folder beside the exe. Windows 11 is unchanged.apps/victory/src/agility.rs+build.rs: the two exports (/EXPORT:...,DATA)scripts/get-d3d12.ps1: fetchesD3D12Core.dll1.620.2 from nuget.org and keeps it only if it is validly signed by Microsoft. Nothing of Microsoft's is committed (/agility/is git-ignored).build-launcher.ps1 -Packagecopiesagility\D3D12into the release folderTested: Windows 10 22H2 (19045), RTX 5070 Ti, Ryzen 7 5800X. The shaders translate, the ~83k pipelines compile, and the title runs.
dumpbin /exports victory.exelists both symbols.cargo xtask policypasses. Pre-existing fmt/clippy findings outside these files are untouched. The linker now prints "Creating library victory.lib" because the exe has exports; that is expected.— Schrubbdiwupp & TARS 🐾
🤖 Generated with Claude Code