mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-08 21:31:36 +00:00
Don't enable primitive restart unless we're drawing a strip topology
This commit is contained in:
1 file changed
+1
-1
@@ -138,7 +138,7 @@ MeshDisplayPipelines VulkanDebugManager::CacheMeshDisplayPipelines(VkPipelineLay
|
||||
false,
|
||||
};
|
||||
|
||||
ia.primitiveRestartEnable = primary.allowRestart;
|
||||
ia.primitiveRestartEnable = primary.allowRestart && IsStrip(primary.topology);
|
||||
|
||||
VkRect2D scissor = {{0, 0}, {16384, 16384}};
|
||||
|
||||
|
||||
Reference in new issue
Block a user