Depth-resolve test: fall back to generated/depth_edge_vs.spv #3359
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!3359
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3359"
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?
@MoonEyes on GitHub · 2026-12-03 16:19 UTC · original
ProjectLeonida:fix/depth-resolve-spv-path→main· +5 −2 · 1 files · 2 commits · merged 2026-12-03 17:55 UTCClaimed in the coordination issue as: #2978 (claim comment in #3312)
Fixes: #2978
What and why
d3d12_depth_resolve_testcopiedLEONIDA_DEPTH_EDGE_VS_SPV, an absolute path baked in on the CI runner, with a throwingstd::filesystem::copy_file. Run from the extractedruntime-windowsartifact, the path does not exist and the test aborts with 0xC0000409. It now goes throughvktest::shader_fixture_path(keeps the compiled path if it exists, elsegenerated/<name>relative to the working directory, as the other d3d12 tests do) andtestfiles::copy_file, so a truly missing file prints both paths and exits 1.CMakeLists.txtis unchanged.Tested
python -I scripts/check_no_game_data.py,test_docs_*(59), the fivetests/test_cmake_*.pyfiles andcmake -S runtimeconfigure on Linux.docs/testing.mdread by hand against the MSVC build.GPUs tested: n/a
AI-assisted: yes. Written with Claude Sonnet 5.5; independently reviewed read-only by Claude Opus 5.5 (verdict OK, line wrap applied).
Checklist
mainand merges cleanly.finding:in #3312 for a follow-up.Generated by Claude Code
@Kal0s-design on GitHub · 2026-12-03 17:14 UTC · original
Ran natively on Windows 11, head
01c6d923amerged into currentmain(fba6f09ce, clean merge).No findings. Red/green reproduced with MSVC (CMake + Ninja, RelWithDebInfo). The fixture
depth_edge_vs.spvisn't in the checkout; it's compiled by glslangValidator into the build'sgenerated/. To mimic the extracted artifact I hid the build'sgenerated/and ran the exe from a folder holding a copy of it asgenerated/.d3d12_depth_resolve_testmaingenerated/<name>in cwdcopy_file)cannot copy ...names the missing fileNo new MSVC warnings in the touched file. The
maincolumn was measured on the previousmain(717b90233); nothing underruntime/changed between the two.Not checked: a real downloaded CI artifact (simulated as above), CTest itself.
GPUs tested: one NVIDIA desktop card (native Vulkan), plus WARP for the host comparisons.
AI-assisted: yes (Claude Code).