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 <lfryzek@igalia.com>
Acked-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36702>
This commit is contained in:
Yiwei Zhang 2025-08-10 18:29:18 -07:00 committed by Marge Bot
parent 23d7c3fbd5
commit 567cff487c

View file

@ -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 */