anv: Unconditionally advertise Vulkan 1.1
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 10 Dec 2019 20:22:25 +0000 (14:22 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 11 Dec 2019 18:52:08 +0000 (18:52 +0000)
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@intel.com>
src/intel/vulkan/anv_extensions.py

index 66752535cf50560457149fd7d81b7c51eca49bc9..7ce36ac5309365e586f46c00eebaccc75ea37d94 100644 (file)
@@ -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