upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/lua-modding.md
diff options
context:
space:
mode:
authorCourtyard Games <317425574+CourtyardGames@users.noreply.github.com>2026-11-23 17:26:31 +0000
committerCh1mpleo <vietanh051203@gmail.com>2026-11-25 19:35:41 +0700
commit48ac7764b278694437182a2cc4dce261cb0fda4e (patch)
tree1148c9c51810396b2be69717ee69e34e10d3cb64 /docs/lua-modding.md
parent0d80bc5df7c873f40965f34f185cb96913786765 (diff)
runtime: stop the configure when Vulkan headers are too old for the Windows runtime
Any vulkan/vulkan.h used to be accepted, so headers that are too old (conda-forge's vulkan-headers resolves to 1.3.231 next to llvm-tools) configured fine and then failed deep in the build: d3d12_com.h(42) "'calibrated': unknown override specifier" and 100+ errors in d3d12_vulkan_device.cpp, or VkPhysicalDevicePipelineBinaryFeaturesKHR in vk_harness.cpp. runtime/cmake/vulkan_headers_version.cmake reads VK_HEADER_VERSION from the headers Vulkan::Headers points at (FetchContent's $<BUILD_INTERFACE:...> unwrapped) and fails with the found and needed versions and how to fix it. The minimum, 294, is measured by building the whole Windows runtime against Khronos header tags: v1.3.294 and SDK 1.4.304.0 build all 555 targets, SDK 1.3.280.0 all but vk_harness, 1.3.231 stops in the D3D12 layer. Only Windows-runtime configures check, so the portable Linux/macOS tool builds keep accepting older distribution headers. tests/test_cmake_vulkan_headers_version.py runs the module with cmake -P on stub headers and checks that the FetchContent and CI pins meet the minimum. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/lua-modding.md')
0 files changed, 0 insertions, 0 deletions