Searched refs:cmdBufAllocInfo (Results 1 – 1 of 1) sorted by relevance
2304 … VkCommandBufferAllocateInfo cmdBufAllocInfo = { VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO }; in InitVulkan() local2305 cmdBufAllocInfo.commandBufferCount = 1; in InitVulkan()2306 cmdBufAllocInfo.commandPool = m_CommandPool; in InitVulkan()2307 cmdBufAllocInfo.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; in InitVulkan()2308 res = vkAllocateCommandBuffers(m_Device, &cmdBufAllocInfo, &m_CommandBuffer); in InitVulkan()