Enable primitive restart for rendering strip-topology meshes. Refs #862

This commit is contained in:
baldurk
2018-02-15 17:07:38 +00:00
parent ea929668a7
commit 56e87514f6
@@ -138,6 +138,11 @@ MeshDisplayPipelines VulkanDebugManager::CacheMeshDisplayPipelines(VkPipelineLay
false,
};
if(IsStrip(primary.topology))
{
ia.primitiveRestartEnable = true;
}
VkRect2D scissor = {{0, 0}, {16384, 16384}};
VkPipelineViewportStateCreateInfo vp = {