zink: Enable the VK_EXT_depth_clip_enable extension.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 8 Jun 2022 16:25:54 +0000 (18:25 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 21 Jun 2022 15:44:54 +0000 (15:44 +0000)
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16929>

docs/drivers/zink.rst
src/gallium/drivers/zink/zink_device_info.py

index fb4588a..bd82ca4 100644 (file)
@@ -83,13 +83,18 @@ are required:
 OpenGL 3.2
 ^^^^^^^^^^
 
-For OpenGL 3.2 support, the following additional ``VkPhysicalDeviceFeatures``
-are required to be supported, although some of these might not actually get
-verified:
+For OpenGL 3.2 support, the following additional requirements must be
+supported, although some of these might not actually get verified:
+
+* ``VkPhysicalDeviceFeatures``:
+
+  * ``depthClamp``
+  * ``geometryShader``
+  * ``shaderTessellationAndGeometryPointSize``
+
+* Device extensions:
 
-* ``depthClamp``
-* ``geometryShader``
-* ``shaderTessellationAndGeometryPointSize``
+  * `VK_EXT_depth_clip_enable`_
 
 OpenGL 3.3
 ^^^^^^^^^^
@@ -311,3 +316,4 @@ questions, don't hesitate to visit `#zink on OFTC
 .. _VK_EXT_custom_border_color: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_EXT_custom_border_color.html
 .. _VK_EXT_provoking_vertex: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_EXT_provoking_vertex.html
 .. _VK_EXT_line_rasterization: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_EXT_line_rasterization.html
+.. _VK_EXT_depth_clip_enable: https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VK_EXT_depth_clip_enable.html
index 15b5ef4..24ccc4e 100644 (file)
@@ -241,6 +241,9 @@ EXTENSIONS = [
         features=True,
         properties=True,
         conditions=["$feats.descriptorBindingPartiallyBound"]),
+    Extension("VK_EXT_depth_clip_enable",
+        alias="depth_clip_enable",
+        features=True),
 ]
 
 # constructor: Versions(device_version(major, minor, patch), struct_version(major, minor))