mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
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:
parent
2b781693c7
commit
5e992e8969
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue