From 59a6705ccef1f8a7b1e7f6486e33603c6d6b7606 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 2 Dec 2020 17:21:12 +0100 Subject: [PATCH] zink: do not require VK_KHR_external_memory This is only required for the DRI-path. For the swrast code-path, we don't need this. We also don't need to explicitly test for it in the DRI-path, because we test for KHR_external_memory_fd, which depends on KHR_external_memory. So no implementation will expose the former without the latter. Fixes: f1432fd3e2d ("zink: generate extension infrastructure using a python script") Reviewed-by: Hoe Hao Cheng Part-of: --- src/gallium/drivers/zink/zink_device_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_device_info.py b/src/gallium/drivers/zink/zink_device_info.py index 019e70d..31c87b8 100644 --- a/src/gallium/drivers/zink/zink_device_info.py +++ b/src/gallium/drivers/zink/zink_device_info.py @@ -58,7 +58,7 @@ import sys def EXTENSIONS(): return [ Extension("VK_KHR_maintenance1", required=True), - Extension("VK_KHR_external_memory", required=True), + Extension("VK_KHR_external_memory"), Extension("VK_KHR_external_memory_fd"), Extension("VK_KHR_vulkan_memory_model"), Extension("VK_EXT_conditional_rendering", alias="cond_render", have_feature="conditionalRendering"), -- 2.7.4