Repository navigation
Runtime: deduplicate root_sig CTest and add opt-in Vulkan-Headers fetch - #1044
Conversation
|
Static verification of
The red |
quackottu
left a comment
There was a problem hiding this comment.
Tested a97ac60 on NVIDIA GeForce RTX 5070, driver 621.24, Windows 11 Pro (26300), VS 2022 Build Tools, Vulkan SDK 1.4.363.0, with LEONIDA_VK_VALIDATION=1 and LEONIDA_D3D12=vulkan: pass
ctest -C RelWithDebInfo: 100% tests passed, 0 tests failed out of 32- 37 test programs in the build pass with 0 validation errors
d3d12_clear_testfails (R8G8B8A8_UNORM/SNORM 0.5 ties and a D16 clear byte differ from WARP) exactly as onmain4a36bb1 here, so not from this PR; #521 addresses it
Implicit Vulkan layers (overlays) were off through an empty VK_IMPLICIT_LAYER_PATH.
|
Tested a97ac60 on Windows: pass. Windows 11 Home 10.0.26300, MSVC 14.44.35207, Windows SDK 10.0.26100, Vulkan SDK 1.4.363.0, Ninja RelWithDebInfo (
AI-assisted (Claude Code). No game files. |
Claimed in the coordination issue as: RT-61
What
Two small, self-contained runtime CMake cleanups in
runtime/CMakeLists.txt(plus a one-line doc note inruntime/README.md):root_sig_testCTest registration:runtime/CMakeLists.txtregistered the sameroot_sig_testexecutable twice under CTest — once asroot_sig_testand once asroot_sig. Keeproot_sig, matching every other CTest name in the file (loader,pe_loader,device_proxy,xmem,xgameruntime,root_signature,root_signature_oracle, etc.).-DLEONIDA_VULKAN_HEADERS_FETCH=ON(defaultOFF): mirrors the existing-DLEONIDA_SDL3_FETCH=ONpattern so contributors without a full LunarG Vulkan SDK can still build the Vulkan test tools (vk_*) and D3D12-over-Vulkan COM targets (gta6rt_d3d12_com,d3d12_*_test) with a single configure flag.-DLEONIDA_VULKAN_HEADERS_FETCH=ON(or-DFETCHCONTENT_SOURCE_DIR_VULKANHEADERS=<path>for an offline copy) is passed.Vulkan-Headersvulkan-sdk-1.4.363.0commit (6802bb4733b63ed5efd3adb308a6c885ef180ea1) already used in.github/workflows/runtime.yml, withURL_HASH SHA256=...verification andVULKAN_HEADERS_ENABLE_{TESTS,INSTALL,MODULE}=OFF.runtime/README.mdto mention the flag.Tracked in #1006 (carried over from #634): #1006 (comment)
Tested
Windows 11 x64, MSVC 19.51 (VS 2026 Build Tools), Ninja,
RelWithDebInfo, NVIDIA GeForce RTX 3060 Ti (driver32.0.16.2124),VULKAN_SDKunset and-DCMAKE_DISABLE_FIND_PACKAGE_Vulkan=ONto force both code paths:LEONIDA_VULKAN_HEADERS_FETCH=OFF):-DLEONIDA_VULKAN_HEADERS_FETCH=ON.-DLEONIDA_VULKAN_HEADERS_FETCH=ON):KhronosGroup/Vulkan-Headers6802bb47...(vulkan-sdk-1.4.363.0), builds all 172/172 targets includinggta6rt,gta6rt_d3d12_com,vk_*, andd3d12_*_test.gameinputdisabled without SDL3;root_sigruns once instead of twice).No game files. AI-assisted.
Checklist
LEONIDA_VULKAN_HEADERS_FETCHis opt-in (OFFby default) and hash-checked