Repository navigation
Conversation
…ailure When create_pc_device returns null on the default (non-Vulkan) path, the host has no usable D3D12 device (Wine without working vkd3d, a VM, a headless box). Print one SKIP line and return 77 like the other D3D12 tests, so ctest reports a skip. The Vulkan paths are unchanged: a null device there still fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TEST validation — ApproveValidated on CPU (no GPU, no game files). Test code only — no new test binaries. What changed: Modifies Verification: Author tested on Linux Wine 10.0 (built-in d3d12, can't create a device) with clang-cl 21 + xwin cross build:
Consistency: Follows existing skip patterns ( Consistency: Follows existing skip patterns ( Overlap: Touches Recommendation: Approve / merge. Clean, minimal, fully CPU-validatable via Wine/headless. |
|
Tested eb934c6 on NVIDIA GeForce RTX 5070 Ti, driver 617.42, Windows 11 build 26300, VS 2022 Build Tools (MSVC 19.44), Windows SDK 10.0.26100, Vulkan SDK 1.4.363.0, RelWithDebInfo: pass. Built Synthetic inputs only, no game files. AI-assisted (Claude Code). |
|
Tested
I read the whole diff first: nothing outside the stated scope (no clipboard, process, network or registry code). No game files used. AI-assisted (Claude Code). |
|
Tested eb934c6 on Windows 11 Pro 10.0.26300, MSVC 14.51 (VS Build Tools 2026), Windows SDK 10.0.26100, NVIDIA GeForce RTX 4060 / 621.24, Khronos Vulkan headers via Merged onto main dde82f2 (clean), full runtime build, Note for the merge: #8160 adds the same "no PC D3D12 device → 77" skip to the same two tests, plus AI-assisted (Claude Code). No game files. |
|
Tested
AI-assisted: yes (Claude ran the build and tests; results checked by me). |
Claim: #7913 (from my finding)
Depends on: nothing. Overlaps #5812 (same two files, a different case: the Windows 10 resource refusal); the hunks don't touch.
bvh_builder_testandfsr_dispatch_testmap a package DLL and thencheck(pc != nullptr, "PC D3D12 device created"). When the host has no PC D3D12 device that check FAILs and the test exits 1. That happens on Wine without a working vkd3d, in a VM, or on a headless host. The other D3D12 tests printSKIPand return 77 in that case (allocator_proxy_test,d3d12_bundle_test,d3d12_clear_formats_test). WithoutLEONIDA_GAME_DIRboth tests skip before reaching the check, so only contributors with the package see this.Change (+13 lines, test code only):
create_pc_device(...)prints oneSKIPline and returns 77. The skip only fires when no earlier check has failed, so a real failure still exits 1.LEONIDA_BVH_DEVICE=vulkanandLEONIDA_FSR_DEVICE=vulkan.LEONIDA_BVH_HARDWARE=1, and the Windows 10 block fsr_dispatch, bvh_builder: report a skip, not a failure or a pass, on Windows 10 hosts #5812 edits.SKIP_RETURN_CODE 77is already set for both tests (runtime/CMakeLists.txt:962,:979).Tested. Linux, Wine 10.0 (Ubuntu build, built-in d3d12, which can't create a device here), clang-cl 21 + xwin cross build of
maindde82f2, withLEONIDA_GAME_DIRset to my own verified 1.0.2.1 package DLLs. Counts only:mainbvh_builder_testfsr_dispatch_testfsr_dispatch_test,LEONIDA_FSR_DEVICE=vulkanLEONIDA_GAME_DIRunsetNot run on native Windows, where a PC device exists and the new branch is never taken.
scripts/check_no_game_data.pyis clean on both files.AI-assisted (Claude Code, Sonnet subagent, reviewed and re-run).
🤖 Generated with Claude Code