From: Jason Ekstrand Date: Tue, 10 Dec 2019 20:22:25 +0000 (-0600) Subject: anv: Unconditionally advertise Vulkan 1.1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f5f5019bd2ed93da2cd0bcfae1e3b83de93ba74;p=mesa.git 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 --- 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