docs/zink: use vk-feat role for features

This gives us links to the features, instead of just mentioning them.

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21813>
This commit is contained in:
Erik Faye-Lund
2023-03-09 14:23:14 +01:00
committed by Marge Bot
parent 923a41ac99
commit 33d7592489

View File

@@ -37,10 +37,10 @@ Here's a list of those requirements:
* Vulkan 1.0
* ``VkPhysicalDeviceFeatures``:
* ``logicOp``
* ``fillModeNonSolid``
* ``alphaToOne``
* ``shaderClipDistance``
* :vk-feat:`logicOp`
* :vk-feat:`fillModeNonSolid`
* :vk-feat:`alphaToOne`
* :vk-feat:`shaderClipDistance`
* Device extensions:
@@ -52,12 +52,12 @@ Here's a list of those requirements:
* :ext:`VK_EXT_provoking_vertex`
* :ext:`VK_EXT_line_rasterization`, with the following ``VkPhysicalDeviceLineRasterizationFeaturesEXT``:
* ``rectangularLines``
* ``bresenhamLines``
* ``smoothLines``
* ``stippledRectangularLines``
* ``stippledBresenhamLines``
* ``stippledSmoothLines``
* :vk-feat:`rectangularLines`
* :vk-feat:`bresenhamLines`
* :vk-feat:`smoothLines`
* :vk-feat:`stippledRectangularLines`
* :vk-feat:`stippledBresenhamLines`
* :vk-feat:`stippledSmoothLines`
* :ext:`VK_KHR_swapchain_mutable_format`
* :ext:`VK_EXT_border_color_swizzle`
@@ -67,7 +67,7 @@ In addition to this, :ext:`VK_KHR_external_memory` is required to support the
DRI code-path.
We also require either the :ext:`VK_EXT_scalar_block_layout` extension or
Vulkan 1.2, with the ``scalarBlockLayout`` feature.
Vulkan 1.2, with the :vk-feat:`scalarBlockLayout` feature.
OpenGL 3.0
^^^^^^^^^^
@@ -78,7 +78,7 @@ supported:
* ``VkPhysicalDeviceFeatures``:
* ``independentBlend``
* :vk-feat:`independentBlend`
* Device extensions:
@@ -101,9 +101,9 @@ supported, although some of these might not actually get verified:
* ``VkPhysicalDeviceFeatures``:
* ``depthClamp``
* ``geometryShader``
* ``shaderTessellationAndGeometryPointSize``
* :vk-feat:`depthClamp`
* :vk-feat:`geometryShader`
* :vk-feat:`shaderTessellationAndGeometryPointSize`
* Device extensions:
@@ -117,7 +117,7 @@ supported, although some of these might not actually get verified:
* ``VkPhysicalDeviceFeatures``:
* ``dualSrcBlend``
* :vk-feat:`dualSrcBlend`
* Device extensions:
@@ -131,9 +131,9 @@ supported:
* ``VkPhysicalDeviceFeatures``:
* ``sampleRateShading``
* ``tessellationShader``
* ``imageCubeArray``
* :vk-feat:`sampleRateShading`
* :vk-feat:`tessellationShader`
* :vk-feat:`imageCubeArray`
* Device extensions:
@@ -153,7 +153,7 @@ supported:
* ``VkPhysicalDeviceFeatures``:
* ``multiViewport``
* :vk-feat:`multiViewport`
* ``VkPhysicalDeviceLimits``
@@ -184,7 +184,7 @@ supported:
* ``VkPhysicalDeviceVulkan11Features``:
* ``shaderDrawParameters``
* :vk-feat:`shaderDrawParameters`
* For Vulkan 1.1 and below:
@@ -200,7 +200,7 @@ supported:
* ``VkPhysicalDeviceFeatures``:
* ``robustBufferAccess``
* :vk-feat:`robustBufferAccess`
* Formats requiring ``VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT``:
@@ -232,7 +232,7 @@ OpenGL 4.5
For OpenGL 4.5 support, the following additional ``VkPhysicalDeviceFeatures``
are required to be supported
* ``shaderCullDistance``
* :vk-feat:`shaderCullDistance`
OpenGL 4.6
^^^^^^^^^^
@@ -242,8 +242,8 @@ are required to be supported
* ``VkPhysicalDeviceFeatures``:
* ``samplerAnisotropy``
* ``depthBiasClamp``
* :vk-feat:`samplerAnisotropy`
* :vk-feat:`depthBiasClamp`
* Device extensions: