From c905e74842d783e4532f12e21b681324d9a83a69 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 9 Jul 2021 12:16:10 +0200 Subject: [PATCH] docs: update zink requirements We currently require VK_EXT_line_rasterization with *all* optional features to render all kinds of lines required. Because some (if not all) of these can be emulated, let's make the list explicit, so it's easy to remove items as we implement emulation. Reviewed-By: Mike Blumenkrantz Part-of: --- docs/drivers/zink.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/drivers/zink.rst b/docs/drivers/zink.rst index 43a39c0f2bf..70aa7509562 100644 --- a/docs/drivers/zink.rst +++ b/docs/drivers/zink.rst @@ -39,6 +39,14 @@ Here's a list of those requirements: * `VK_KHR_maintenance1`_ * `VK_EXT_custom_border_color`_ * `VK_EXT_provoking_vertex`_ + * `VK_EXT_line_rasterization`_, with the following ``VkPhysicalDeviceLineRasterizationFeaturesEXT``: + + * ``rectangularLines`` + * ``bresenhamLines`` + * ``smoothLines`` + * ``stippledRectangularLines`` + * ``stippledBresenhamLines`` + * ``stippledSmoothLines`` In addition to this, `VK_KHR_external_memory`_ is required to support the DRI code-path. @@ -270,3 +278,4 @@ questions, don't hesitate to visit `#zink on OFTC .. _VK_KHR_sampler_mirror_clamp_to_edge: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_KHR_sampler_mirror_clamp_to_edge.html .. _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