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 authored and Baldur Karlsson committed 2022-08-29 14:59:14 +01:00
1 parent 50526c44f1
commit ed4c3756d0
14 files changed
+33 -66

No files matched your search

@@ -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
------------------------