From fb65285629caa14580ff8e2c2eed88226da239fe Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 22 Jan 2021 12:15:33 +0100 Subject: [PATCH] docs/zink: add GL 4.2 requirements Reviewed-by: Hoe Hao Cheng Part-of: --- docs/drivers/zink.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/drivers/zink.rst b/docs/drivers/zink.rst index d9d75b29367..49a86254d0a 100644 --- a/docs/drivers/zink.rst +++ b/docs/drivers/zink.rst @@ -128,6 +128,23 @@ are required: * `maxImageDimension2D` ≥ 16384 * `maxViewports` ≥ 16 +OpenGL 4.2 +^^^^^^^^^^ + +For OpenGL 4.2 support, Vulkan 1.1 is required, plus the following additional +requirements needs to be supported: + +* ``VkPhysicalDeviceVulkan11Features``: + + * ``shaderDrawParameters`` + +* Formats features: + + * ```VK_FORMAT_BC7_UNORM_BLOCK```: ```VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``` + * ```VK_FORMAT_BC7_SRGB_BLOCK```: ```VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``` + * ```VK_FORMAT_BC6H_SFLOAT_BLOCK```: ```VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``` + * ```VK_FORMAT_BC6H_UFLOAT_BLOCK```: ```VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``` + Debugging ---------