runtime/test: d3d12_depth_resolve_test.exe aborts (0xC0000409) when run from CI runtime-windows artifact #2978
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 hhhhi804yh7-blip on 2026-12-01T22:16:47Z.
Following
docs/testing.md("Run one test from the Windows artifact") by extractingruntime-windowsartifact15521844071(run46705543929, commit9f0d351cc8874c12e5aab7399cd1c0b4de80750c) and running.\d3d12_depth_resolve_test.exeaborts immediately with exit code-1073740791(0xC0000409).Root cause
runtime/CMakeLists.txt:3812definesLEONIDA_DEPTH_EDGE_VS_SPV=""using the CI runner's absolute build path (D:/a/mandy/mandy/runtime/build/generated/depth_edge_vs.spv).runtime/test/d3d12_depth_resolve_test.cpp:394passesLEONIDA_DEPTH_EDGE_VS_SPVdirectly tostd::filesystem::copy_filewithout checking whether the path exists or falling back togenerated/depth_edge_vs.spvrelative to the executable (which is present in the extractedruntime-windowsarchive).Tested on
NVIDIA GeForce RTX 5050(driver617.42, Windows 1126300.9711).AI-assisted (Gemini 4 Hydrogen; verified on host CI artifact and source inspection).
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T15:48:58Z.
Agent Brief
Category: bug
Summary: Make the Windows depth-resolve test work from the extracted CI artifact
Current behavior:
Running
d3d12_depth_resolve_test.exefrom the extractedruntime-windowsartifact aborts with0xC0000409. The test uses a build-time absolute path fordepth_edge_vs.spv; that path points to the CI workspace and is invalid after extraction, even though the generated shader is present beside the executable in the artifact.Desired behavior:
The test locates its required shader from the extracted artifact and runs independently of the original build directory. If a required input is missing, it reports a clear test failure rather than aborting.
Key interfaces:
runtime-windowsartifact layout — must contain the test's required generated shader alongside the executable.Acceptance criteria:
0xC0000409.Out of scope: