Docs: XCL_D3D12_DIR names the folder containing D3D12Core.dll (NuGet bin\x64), and is searched alone #848
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!848
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-848"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@pickles976 on GitHub · 2026-11-24 06:41 UTC · original
pickles976:docs-agility-dir→main· +4 −1 · 1 files · 2 commits · openWhat: README-only clarification reported-live in #595.
%XCL_D3D12_DIR%must name the folder directly containingD3D12Core.dll— the unpacked NuGet root (bin\x64is the real folder) silently guarantees the documented "point at it" fails, and because the override deliberately does not fall through (agility.rs:55), the user experience is "the env var is broken", exactly as tested and reported.Tested: docs-only change; the asserted behavior is the shipped one (
candidates()env short-circuit, unit-covered inagility_tests.rs:105).Not tested: N/A (no code).
AI use: none beyond my usual static reading of our source.
@teidenzero on GitHub · 2026-11-24 14:37 UTC · original
Checked on Windows 10, where this is visible: the inbox D3D12 stops at SM 6.5, so a wrong
XCL_D3D12_DIRmakes the GPU tests skip (on Windows 11 the inbox runtime hides it).One correction: in the NuGet package (
Microsoft.Direct3D.D3D121.620.2) the DLL is atbuild\native\bin\x64\D3D12Core.dll. There is nobin\x64at the package root, so "for an unpacked NuGet package that isbin\x64" points at a folder that does not exist. Suggested wording: "for an unpacked NuGet package that isbuild\native\bin\x64, not the package root".Runs on
main930e8b4,cargo test -p xcl --lib gpu::recomp::tests::gpu_clamp_and_omod_per_instruction -- --exact --nocapture, with a valid SDK also in%LOCALAPPDATA%\XCL\D3D12\:XCL_D3D12_DIRno SM 6.6 (Agility SDK unavailable: XCL_D3D12_DIR=<root> has no D3D12Core.dll)<root>\bin\x64<root>\build\native\bin\x64%LOCALAPPDATA%\XCL\D3D12\)The "searched alone" part holds: a wrong override does not fall back to the valid SDK in
%LOCALAPPDATA%.Machine: NVIDIA GeForce RTX 4090, driver 621.24; Windows 10 Pro 22H2 build 19045.6466; Rust 1.100.0
stable-x86_64-pc-windows-msvc, debug.AI use: Claude Code (Claude Opus 5.5) ran the checks and drafted this comment.
@pickles976 on GitHub · 2026-11-24 14:43 UTC · original
Corrected per @teidenzero — the path is now
build\\native\\bin\\x64with the package name spelled out (Microsoft.Direct3D.D3D12), which also keeps it from being confused with the DXCbin\\x64in the very next bullet. Thanks for the Win10-vs-Win11 note too: it explains why the wrong-path failure is visible to some testers and invisible to others, which is worth having in the README's implicit shadow.@DavidM1911 on GitHub · 2026-11-25 10:15 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.