mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
anv: Enable Vulkan 1.4 for SDK 37+
Enable Vulkan 1.4 for SDK 37+ to satisfy the VRA17 (Vulkan Requirement for Android 17). Signed-off-by: Tim Van Patten <timvp@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40593>
This commit is contained in:
parent
dd3e153a10
commit
1e04e7ee74
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,9 @@
|
|||
#endif
|
||||
|
||||
#ifdef ANDROID_STRICT
|
||||
#if ANDROID_API_LEVEL >= 33
|
||||
#if ANDROID_API_LEVEL >= 37
|
||||
#define ANV_API_VERSION VK_MAKE_VERSION(1, 4, VK_HEADER_VERSION)
|
||||
#elif ANDROID_API_LEVEL >= 33
|
||||
#define ANV_API_VERSION VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION)
|
||||
#else
|
||||
#define ANV_API_VERSION VK_MAKE_VERSION(1, 1, VK_HEADER_VERSION)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue