Mesa (master): zink: do not require VK_KHR_external_memory

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Dec 2 19:03:19 UTC 2020


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

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Dec  2 17:21:12 2020 +0100

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 <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7882>

---

 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 019e70d6ef7..31c87b82e97 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"),



More information about the mesa-commit mailing list