Mesa (master): zink: hook up VK_EXT_provoking_vertex

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Apr 26 20:30:51 UTC 2021


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue Apr 20 16:32:50 2021 -0400

zink: hook up VK_EXT_provoking_vertex

ideally we would want to require transformFeedbackPreservesTriangleFanProvokingVertex,
but as there is no fallback path, any amount of provoking vertex support
is still better than none, so tests related to this will continue to fail
for that hardware (intel)

Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10458>

---

 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 8754bc786be..61b8d28bba3 100644
--- a/src/gallium/drivers/zink/zink_device_info.py
+++ b/src/gallium/drivers/zink/zink_device_info.py
@@ -64,6 +64,11 @@ EXTENSIONS = [
     Extension("VK_KHR_maintenance2"),
     Extension("VK_KHR_external_memory"),
     Extension("VK_KHR_external_memory_fd"),
+    Extension("VK_EXT_provoking_vertex",
+       alias="pv",
+       features=True,
+       properties=True,
+       conditions=["$feats.provokingVertexLast"]),
     Extension("VK_EXT_shader_viewport_index_layer"),
     Extension("VK_EXT_post_depth_coverage"),
     Extension("VK_KHR_driver_properties",



More information about the mesa-commit mailing list