summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-02-06 01:40:00 +0100
committerBas Nieuwenhuizen <[email protected]>2018-03-07 21:18:35 +0100
commit04d65d2b76e2751435d3e932fbd18329491fcda3 (patch)
tree48136a3fb437b4325d327ed1a7ba6501a2f194df /src
parent0168eaaa427f592a367094bf67927ff6f5cb7dfe (diff)
radv: Enable vulkan 1.1.0 for configurations that can support it.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_extensions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_extensions.py b/src/amd/vulkan/radv_extensions.py
index f59f5e30e78..58189484171 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);
}
""")