mirror of https://github.com/AxioDL/boo.git
Enable PrimitiveRestart in vulkan
This commit is contained in:
parent
c7d878a755
commit
505700419b
|
@ -2254,7 +2254,7 @@ public:
|
||||||
assemblyInfo.pNext = nullptr;
|
assemblyInfo.pNext = nullptr;
|
||||||
assemblyInfo.flags = 0;
|
assemblyInfo.flags = 0;
|
||||||
assemblyInfo.topology = PRIMITIVE_TABLE[int(m_prim)];
|
assemblyInfo.topology = PRIMITIVE_TABLE[int(m_prim)];
|
||||||
assemblyInfo.primitiveRestartEnable = VK_FALSE;
|
assemblyInfo.primitiveRestartEnable = VK_TRUE;
|
||||||
|
|
||||||
VkPipelineViewportStateCreateInfo viewportInfo = {};
|
VkPipelineViewportStateCreateInfo viewportInfo = {};
|
||||||
viewportInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO;
|
viewportInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO;
|
||||||
|
|
Loading…
Reference in New Issue