mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't enable primitive restart unless we're drawing a strip topology
This commit is contained in:
@@ -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