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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user