summaryrefslogtreecommitdiff
path: root/src/amd/vulkan/radv_extensions.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/vulkan/radv_extensions.py')
-rw-r--r--src/amd/vulkan/radv_extensions.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py
index a5127b33a34..d29c0e0009c 100644
--- a/src/amd/vulkan/radv_extensions.py
+++ b/src/amd/vulkan/radv_extensions.py
@@ -368,8 +368,13 @@ radv_physical_device_api_version(struct radv_physical_device *dev)
{
uint32_t override = vk_get_version_override();
uint32_t version = VK_MAKE_VERSION(1, 0, 68);
- if (dev->rad_info.has_syncobj_wait_for_submit)
- version = ${MAX_API_VERSION.c_vk_version()};
+ if (dev->rad_info.has_syncobj_wait_for_submit) {
+ if (ANDROID) {
+ version = VK_MAKE_VERSION(1, 1, 107);
+ } else {
+ version = ${MAX_API_VERSION.c_vk_version()};
+ }
+ }
return override ? MIN2(override, version) : version;
}