From f6099903c1c072e09b737e22e3f7d32fcde3117e Mon Sep 17 00:00:00 2001 From: C Stout Date: Thu, 11 Jul 2024 19:53:01 -0700 Subject: [PATCH] vulkan/runtime: add spirv_info_h to vulkan_lite_runtime_header_gen_deps spirv_info_h was added to idep_vulkan_lite_runtime_headers but it's also needed for building libvulkan_lite_runtime. Without this patch, from a clean meson setup (tested with: -Dvulkan-drivers=freedreno -Dgallium-drivers= -Dplatforms=wayland) ninja -C build src/vulkan/runtime/libvulkan_lite_runtime.a In file included from ../src/vulkan/runtime/vk_physical_device.c:24: ../src/vulkan/runtime/vk_physical_device.h:32:10: fatal error: compiler/spirv/spirv_info.h: No such file or directory Fixes: 1759c0eba77 ("vulkan: add helper to fill out spirv caps automatically") Part-of: --- src/vulkan/runtime/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/runtime/meson.build b/src/vulkan/runtime/meson.build index 5d4037e47de..dcf33b635a8 100644 --- a/src/vulkan/runtime/meson.build +++ b/src/vulkan/runtime/meson.build @@ -184,6 +184,7 @@ vulkan_lite_runtime_files += [ # as a runtime library dep to ensure header gen order vulkan_lite_runtime_header_gen_deps = declare_dependency( sources : [ + spirv_info_h, vk_cmd_enqueue_entrypoints[0], vk_cmd_queue[1], vk_common_entrypoints[0],