[Mesa-dev] [PATCH 16/16] radv: Enable vulkan 1.1.0 for configurations that can support it.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Wed Mar 7 14:47:44 UTC 2018


Reviewed-by: Dave Airlie <airlied at redhat.com>
---
 src/amd/vulkan/radv_extensions.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py
index 4e6aa88d80..6d77fb308d 100644
--- a/src/amd/vulkan/radv_extensions.py
+++ b/src/amd/vulkan/radv_extensions.py
@@ -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);
 }
 """)
-- 
2.16.1



More information about the mesa-dev mailing list