From 2ff97847d198e27647460af199a44e29fe433b86 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 23 Oct 2020 09:00:43 +0200 Subject: [PATCH] docs: document zink's gl > 3.0 requirements The new versions of OpenGL exposed by Zink requires additional Vulkan features, so let's document them. Reviewed-By: Mike Blumenkrantz Part-of: --- docs/drivers/zink.rst | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/docs/drivers/zink.rst b/docs/drivers/zink.rst index dc27766..974a82f 100644 --- a/docs/drivers/zink.rst +++ b/docs/drivers/zink.rst @@ -53,6 +53,41 @@ required to be exposed and fully supported: * `VK_EXT_transform_feedback`_ * `VK_EXT_conditional_rendering`_ + +OpenGL 3.1 +^^^^^^^^^^ + +For OpenGL 3.1 support, the following additional ``VkPhysicalDeviceLimits`` +are required: + +* ``maxPerStageDescriptorSamplers`` ≥ 16 + +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: + +* ``depthClamp`` +* ``geometryShader`` +* ``shaderTessellationAndGeometryPointSize`` + +OpenGL 3.3 +^^^^^^^^^^ + +For OpenGL 3.3 support, the following additional ``VkPhysicalDeviceFeatures`` +are required to be supported, although some of these might not actually get +verified: + +* ``VkPhysicalDeviceFeatures`` + + * ``occlusionQueryPrecise`` + +* Device extensions: + + * ``VK_EXT_vertex_attribute_divisor`` + Debugging --------- -- 2.7.4