Mesa (main): zink: hook up sync2 extension

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 8 20:16:38 UTC 2022


Module: Mesa
Branch: main
Commit: b7e05c56a43bfca4f4caf8a12655fe9432c75aaf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b7e05c56a43bfca4f4caf8a12655fe9432c75aaf

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Fri Apr  8 10:19:18 2022 -0400

zink: hook up sync2 extension

Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15827>

---

 src/gallium/drivers/zink/zink_device_info.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/gallium/drivers/zink/zink_device_info.py b/src/gallium/drivers/zink/zink_device_info.py
index fa650635d41..a2989b557ed 100644
--- a/src/gallium/drivers/zink/zink_device_info.py
+++ b/src/gallium/drivers/zink/zink_device_info.py
@@ -66,6 +66,9 @@ EXTENSIONS = [
     Extension("VK_KHR_external_memory"),
     Extension("VK_KHR_external_memory_fd"),
     Extension("VK_KHR_external_semaphore_fd"),
+    Extension("VK_KHR_synchronization2",
+              alias="sync2",
+              features=True),
     Extension("VK_EXT_external_memory_dma_buf"),
     Extension("VK_EXT_queue_family_foreign"),
     Extension("VK_KHR_swapchain_mutable_format"),
@@ -238,6 +241,7 @@ REPLACEMENTS = {
     "ROBUSTNESS2": "ROBUSTNESS_2",
     "PROPERTIES_PROPERTIES": "PROPERTIES",
     "EXTENDED_DYNAMIC_STATE2": "EXTENDED_DYNAMIC_STATE_2",
+    "SYNCHRONIZATION2": "SYNCHRONIZATION_2",
 }
 
 



More information about the mesa-commit mailing list