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