Repository navigation
victory: run on Windows 10 with the Agility SDK runtime - #2
Open
CocoBeans64 wants to merge 1 commit into
Open
CocoBeans64 wants to merge 1 commit into
CocoBeans64 wants to merge 1 commit into
Conversation
Windows 10's own Direct3D 12 runtime stops at shader model 6.5 on the GPU
(6.2 on WARP), so every title pipeline was refused and nothing was drawn.
The executable now exports D3D12SDKVersion (614) and D3D12SDKPath
(".\D3D12\"): with D3D12Core.dll from the Microsoft.Direct3D.D3D12
package in that folder, the loader uses it and the device reports SM 6.6.
Without the folder, or on a newer Windows, the system runtime is used.
The README says how to set it up.
Tested on Windows 10 22H2 (19045.7846), RX 6800 XT, driver
32.0.21045.5002: the title reaches the world (intro, a playable stretch,
next cutscene) with no crash; WARP 1.0.22 next to the exe also gives SM 6.6.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CocoBeans64
pushed a commit
that referenced
this pull request
Nov 25, 2026
) RDNA2 flushes denormal operands of the legacy multiplies to zero, so 0 x anything = 0 also holds for them. The lowering only tested for an exact float zero, whose result also depends on the host's denormal mode. Test the exponent bits instead. Follow-up to #2.
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.
Summary
victory.exenow exportsD3D12SDKVersion(614) andD3D12SDKPath(.\D3D12\), set byapps/victory/build.rs(/EXPORT:…,DATA, MSVC only). WithD3D12Core.dllfrom the NuGet packageMicrosoft.Direct3D.D3D121.614.x in that folder, the loader uses it and the device reports SM 6.6. Without the folder, or on a newer Windows, the system runtime is used: no change.Test
dumpbin /exports target\diag\victory.exelists both symbols; the loaded modules showtarget\diag\D3D12\D3D12Core.dll.translate --pipelinesno longer stops on "the device supports SM 0x65 only" (GPU) / "0x62" (WARP); 22,117 pipelines created on WARP.🤖 Generated with Claude Code