Module: Mesa
Branch: master
Commit: 04d65d2b76e2751435d3e932fbd18329491fcda3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=04d65d2b76e2751435d3e932fbd18329491fcda3

Author: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl>
Date:   Tue Feb  6 01:40:00 2018 +0100

radv: Enable vulkan 1.1.0 for configurations that can support it.

Reviewed-by: Dave Airlie <airl...@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 f59f5e30e7..5818948417 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);
 }
 """)

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to