Mesa (main): zink: support multidraw

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 22 13:17:15 UTC 2021


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Wed Jan 20 14:23:20 2021 -0500

zink: support multidraw

Reviewed-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11498>

---

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

diff --git a/src/gallium/drivers/zink/zink_device_info.py b/src/gallium/drivers/zink/zink_device_info.py
index 94feeaf4f69..dc0a62a3ee1 100644
--- a/src/gallium/drivers/zink/zink_device_info.py
+++ b/src/gallium/drivers/zink/zink_device_info.py
@@ -161,6 +161,11 @@ EXTENSIONS = [
     Extension("VK_KHR_shader_float16_int8",
               alias="shader_float16_int8",
               features=True),
+    Extension("VK_EXT_multi_draw",
+              alias="multidraw",
+	      features=True,
+	      properties=True,
+	      conditions=["$feats.multiDraw"]),
     Extension("VK_KHR_push_descriptor",
         alias="push",
         properties=True),



More information about the mesa-commit mailing list