Repository navigation
Run on the Agility SDK's Direct3D 12 runtime when it is next to the exe - #1
Open
CocoBeans64 wants to merge 2 commits into
Open
CocoBeans64 wants to merge 2 commits into
CocoBeans64 wants to merge 2 commits into
Conversation
victory.exe exports D3D12SDKVersion (614) and D3D12SDKPath (.\D3D12\), so a D3D12Core.dll the user puts there replaces a system runtime whose shader model is too low (Windows 10: SM 6.5 on hardware, 6.2 on WARP). Without it, the system's runtime is used as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GGm9fCf2Phoiu3hDZPYKiv
The host device logs its highest shader model; below 6.6 it is an error that says nothing will be drawn and points to the Agility SDK's runtime. The README's new Windows 10 section says where to get it and put it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GGm9fCf2Phoiu3hDZPYKiv
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.
Why
On Windows 10 the system Direct3D 12 runtime caps the shader model below what the title's pipelines need (SM 6.6, heap-indexed root signatures):
the device supports SM 0x65 onlythe device supports SM 0x62 onlyNothing is drawn (
drawn=0, every pipeline refused with root signature flagsc01).What
victory.exeexportsD3D12SDKVersion(614) andD3D12SDKPath(.\D3D12\) throughapps/victory/build.rs(/EXPORT:…,DATA, MSVC only). AD3D12Core.dllfrom the user's own download ofMicrosoft.Direct3D.D3D121.614.x placed inD3D12\next to the executable replaces the system runtime. Without it, or on a system whose runtime is newer, the system runtime is used as before. No Microsoft binary is added to the repository (target\is ignored).Tested
ffe310e), Windows 10 19045 with Agility 1.614.1 and WARP 1.0.22: no root signature refused, 0 draws dropped, menus at 15 fps on WARP.cargo fmt --checkandcargo xtask policypass on Linux; the Windows build, clippy and tests are what this pull request's CI checks.Generated by Claude Code