Enable primitive restart for list topologies

This is supported by OpenGL, and on Vulkan with
VK_EXT_primitive_topology_list_restart.  On Vulkan, all drivers are
known to support this even without
VK_EXT_primitive_topology_list_restart.  On D3D, primitive restart is
only supported for strip topologies.

Previously, RenderDoc specifically disabled primitive restart for
non-strip topologies.  In this change, that is no longer done.  If the
app enables primitive restart, so will RenderDoc behave accordingly.  It
would be the responsibility of the app to avoid primitive restart if the
API doesn't allow it.
This commit is contained in:
Shahbaz Youssefi
2022-08-23 13:48:18 -04:00
committed by Baldur Karlsson
parent 50526c44f1
commit ed4c3756d0
14 changed files with 33 additions and 66 deletions
@@ -30,8 +30,6 @@ Vertex Inputs
.. autofunction:: renderdoc.VertexOffset
.. autofunction:: renderdoc.PatchList_Count
.. autofunction:: renderdoc.PatchList_Topology
.. autofunction:: renderdoc.SupportsRestart
.. autofunction:: renderdoc.IsStrip
Shader Resource Bindings
------------------------