docs: name two Windows environment traps in the build notes #3540
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3540
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3538"
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?
@KelboLive on GitHub · 2026-11-30 02:32 UTC · original
KelboLive:docs/windows-environment-gotchas→main· +2 −0 · 1 files · 1 commits · merged 2026-11-30 09:02 UTCChange
Two entries in the existing Windows build notes list, each one a trap that costs a contributor time
because the failure looks like a test bug rather than an environment one:
find_programtakes its hints from<repo>/out/tools/spirv/binand$env:VULKAN_SDK\BinbeforePATH, and CMake caches the result, so a tree configured on a host with aVulkan SDK keeps that SDK's
spirv-crossaftertools/setup-spirv-tools.ps1has built the pinned one.The
spirv_minlod_*tests then keep skipping with a message that says the tool lacks MinLod support.dxgi.dllmakesxmem_shim_exportsreport a failure against a correct
xmem.dll, and can stallstartup_indirect_mesh_request_hardware.Phrased without naming a specific tool, per the note on #3513.
Both follow the section's existing shape: symptom, cause, what to do, and how it was measured.
Verification
The SPIR-V claim was measured on this host rather than inferred from
CMakeLists.txt, by running the sameminloddriver against both tools with Vulkan SDK 1.4.363.0 present:The overlay claim was measured by closing the injector:
startup_indirect_mesh_request_hardwarepasses in0.49 s with a clean process, and a
GetModuleHandleW(L"dxgi.dll")probe already sawdxgi.dllmapped in afresh console process while the injector was running.
Scope
Documentation only, no behavior change. Two notes that were considered and left out:
regression the check exists to catch, so it does not belong in the build notes.
TEMPused to makestartup_run_presetreportFAIL: --print output. #3510 merged a fixthat compares the resolved path; re-checked here with
TEMPset toC:\Users\ADMINI~1\..., where thefixture now prints
OK: 12 preset choices, staging and controlsand exits 0. The trap is gone, so it isnot documented.
github-bot referenced this pull request2026-11-30 16:25:43 +00:00