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>
(cherry picked from commit 567cff487c)
This commit is contained in:
Yiwei Zhang 2025-08-10 18:29:18 -07:00 committed by Eric Engestrom
parent 2b781693c7
commit 5e992e8969
2 changed files with 2 additions and 1 deletions

View file

@ -3544,7 +3544,7 @@
"description": "vulkan/util: add missing vulkan header",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -156,6 +156,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 */