docs: document zink GL 4.3 requirements
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 15 Mar 2021 16:21:38 +0000 (17:21 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Mar 2021 14:07:42 +0000 (14:07 +0000)
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9602>

docs/drivers/zink.rst

index 2491d59..04177d1 100644 (file)
@@ -153,6 +153,27 @@ supported:
    * ``VK_FORMAT_BC6H_SFLOAT_BLOCK``: ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``
    * ``VK_FORMAT_BC6H_UFLOAT_BLOCK``: ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``
 
+OpenGL 4.3
+^^^^^^^^^^
+
+For OpenGL 4.3 support, the following additional requirements needs to be
+supported:
+
+* ``VkPhysicalDeviceFeatures``:
+
+  * ``robustBufferAccess``
+  * ``multiViewport``
+
+* Formats features:
+
+   * ``VK_FORMAT_R8G8B8A8_UNORM``: ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``
+   * ``VK_FORMAT_R8G8B8A8_SRGB``: ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``
+   * ``VK_FORMAT_R16_UNORM``: ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``
+   * ``VK_FORMAT_R16G16_UNORM``: ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``
+   * ``VK_FORMAT_R16_SNORM``: ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``
+   * ``VK_FORMAT_R16G16_SNORM``: ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``
+   * ``VK_FORMAT_D32_SFLOAT_S8_UINT``: ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``
+
 Debugging
 ---------