mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 15:53:35 +01:00
We don't use primitiveRestart for anything, let's not enable it. It has costs on some hardware.
This commit is contained in:
1 parent
b426d12a17
commit
e57770977b
1 file changed
+1
-1
@@ -309,7 +309,7 @@ VkPipeline Vulkan2D::GetPipeline(VkRenderPass rp, VkShaderModule vs, VkShaderMod
|
||||
VkPipelineInputAssemblyStateCreateInfo inputAssembly = { VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO };
|
||||
inputAssembly.flags = 0;
|
||||
inputAssembly.topology = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP;
|
||||
inputAssembly.primitiveRestartEnable = true;
|
||||
inputAssembly.primitiveRestartEnable = false;
|
||||
|
||||
VkVertexInputAttributeDescription attrs[2];
|
||||
int attributeCount = 2;
|
||||
|
||||
Reference in new issue
Block a user