Mesa (master): anv: Unconditionally advertise Vulkan 1.1

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Dec 11 21:04:45 UTC 2019


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

Author: Jason Ekstrand <jason at jlekstrand.net>
Date:   Tue Dec 10 14:22:25 2019 -0600

anv: Unconditionally advertise Vulkan 1.1

Vulkan 1.1 requires VK_KHR_external_fence which requires syncobj support
to be actually usable.  However, it doesn't strictly require that we
support any external handle types.  We should be able to advertise 1.1
even on old kernels that don't have syncobj support.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 src/intel/vulkan/anv_extensions.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/intel/vulkan/anv_extensions.py b/src/intel/vulkan/anv_extensions.py
index 66752535cf5..7ce36ac5309 100644
--- a/src/intel/vulkan/anv_extensions.py
+++ b/src/intel/vulkan/anv_extensions.py
@@ -53,10 +53,7 @@ API_PATCH_VERSION = 102
 # available.
 API_VERSIONS = [
     ApiVersion('1.0',   True),
-
-    # DRM_IOCTL_SYNCOBJ_WAIT is required for VK_KHR_external_fence which is a
-    # required core feature in Vulkan 1.1
-    ApiVersion('1.1',   'device->has_syncobj_wait'),
+    ApiVersion('1.1',   True),
 ]
 
 MAX_API_VERSION = None # Computed later




More information about the mesa-commit mailing list