0u // VkFenceCreateFlags flags;
};
- const vk::Unique<vk::VkFence> fence = vk::createFence(vk, vkDevice, &fenceParams);
+ const vk::Unique<vk::VkFence> fence(vk::createFence(vk, vkDevice, &fenceParams));
VK_CHECK(vk.resetFences(vkDevice, 1, &fence.get()));
if (vk.queueBindSparse(queue, 1, &bindSparseInfo, *fence) != VK_SUCCESS)
+1.0f, // float maxDepthBounds;
};
- const VkPipelineTessellationStateCreateInfo* pTessCreateInfo = DE_NULL;
- VkPipelineTessellationStateCreateInfo tessStateCreateInfo;
- if(m_patchControlPoints > 0)
+ const VkPipelineTessellationStateCreateInfo* pTessCreateInfo = DE_NULL;
+ const VkPipelineTessellationStateCreateInfo tessStateCreateInfo =
{
- tessStateCreateInfo =
- {
VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO, // VkStructureType sType;
DE_NULL, // const void* pNext;
0u, // VkPipelineTessellationStateCreateFlags flags;
m_patchControlPoints, // deUint32 patchControlPoints;
- };
+ };
+ if (m_patchControlPoints > 0)
pTessCreateInfo = &tessStateCreateInfo;
- }
const VkGraphicsPipelineCreateInfo graphicsPipelineParams =
{