mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
vn/android: Only limit advertised Vulkan version in strict mode
Signed-off-by: Chris Spencer <spencercw@gmail.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25101>
This commit is contained in:
parent
30788edbcc
commit
3c618d23d1
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
|||
#define VN_MIN_RENDERER_VERSION VK_API_VERSION_1_1
|
||||
|
||||
/* max advertised version at both instance and device levels */
|
||||
#if defined(ANDROID) && ANDROID_API_LEVEL < 33
|
||||
#if defined(ANDROID_STRICT) && ANDROID_API_LEVEL < 33
|
||||
#define VN_MAX_API_VERSION VK_MAKE_VERSION(1, 1, VK_HEADER_VERSION)
|
||||
#else
|
||||
#define VN_MAX_API_VERSION VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue