From 5f5f5019bd2ed93da2cd0bcfae1e3b83de93ba74 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 10 Dec 2019 14:22:25 -0600 Subject: [PATCH] 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 --- 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