zink: do not require VK_KHR_external_memory
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 2 Dec 2020 16:21:12 +0000 (17:21 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 2 Dec 2020 18:54:07 +0000 (18:54 +0000)
commit59a6705ccef1f8a7b1e7f6486e33603c6d6b7606
tree2e8c5a7dc15c962cc04cf0464a90fc024411d9eb
parentb1224143aa0f8daf0e62d44a8f2fde8080c654cf
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@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7882>
src/gallium/drivers/zink/zink_device_info.py