From 567cff487cdfe9f653152cc01c1e3a856f3f41ed Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Sun, 10 Aug 2025 18:29:18 -0700 Subject: [PATCH] vulkan/util: add missing vulkan header Unlike features, property members do need Vulkan header. Currently it relies on the fact that vk_physical_device.h has included some other headers that include vulkan.h before this. Cc: mesa-stable Reviewed-by: Lucas Fryzek Acked-by: Konstantin Seurer Part-of: --- src/vulkan/util/vk_physical_device_properties_gen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/util/vk_physical_device_properties_gen.py b/src/vulkan/util/vk_physical_device_properties_gen.py index 89d40692d0b..712d570063d 100644 --- a/src/vulkan/util/vk_physical_device_properties_gen.py +++ b/src/vulkan/util/vk_physical_device_properties_gen.py @@ -151,6 +151,7 @@ TEMPLATE_H = Template(COPYRIGHT + """ #ifndef VK_PROPERTIES_H #define VK_PROPERTIES_H +#include "vulkan/vulkan.h" #if DETECT_OS_ANDROID #include "vulkan/vk_android_native_buffer.h" #endif /* DETECT_OS_ANDROID */