Fix temporary memory allocation for VkImageFormatListCreateInfoKHR

This commit is contained in:
Philip Rebohle
2018-11-01 20:45:27 +01:00
committed by Baldur Karlsson
parent 4281e89764
commit 8b1e802489
+2
View File
@@ -406,6 +406,8 @@ size_t GetNextPatchSize(const void *pNext)
memSize += sizeof(VkImageSwapchainCreateInfoKHR);
else if(next->sType == VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV)
memSize += sizeof(VkDedicatedAllocationImageCreateInfoNV);
else if(next->sType == VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR)
memSize += sizeof(VkImageFormatListCreateInfoKHR);
// VkBufferCreateInfo
else if(next->sType == VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO)