radv: Enable vulkan 1.1.0 for configurations that can support it.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 6 Feb 2018 00:40:00 +0000 (01:40 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 7 Mar 2018 20:18:35 +0000 (21:18 +0100)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_extensions.py

index f59f5e30e780983f16bccd1e3eb9038fd09e0b3f..5818948417111436bd3d0e159d4550e3d444821d 100644 (file)
@@ -272,6 +272,8 @@ VkResult radv_EnumerateInstanceVersion(
 uint32_t
 radv_physical_device_api_version(struct radv_physical_device *dev)
 {
+    if (!ANDROID && dev->rad_info.has_syncobj_wait_for_submit)
+        return VK_MAKE_VERSION(1, 1, 0);
     return VK_MAKE_VERSION(1, 0, 68);
 }
 """)