Depth-resolve test: fall back to generated/depth_edge_vs.spv #3359
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T16:19:45Z.
Claimed 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
Imported from ubiquitarianism/leonida. Originally posted by Kal0s-design on 2026-12-03T17:14:35Z.
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).