Update VulkanMemoryAllocator to 3.0.0-development (2021-02-16)

This commit is contained in:
Wojtek Figat
2021-02-17 11:00:48 +01:00
parent 7cc5560adf
commit d6546fb41c
3 changed files with 3612 additions and 1256 deletions

View File

@@ -1825,7 +1825,9 @@ bool GPUDeviceVulkan::Init()
#endif
#undef INIT_FUNC
VmaAllocatorCreateInfo allocatorInfo = {};
allocatorInfo.vulkanApiVersion = VK_API_VERSION_1_0;
allocatorInfo.physicalDevice = gpu;
allocatorInfo.instance = Instance;
allocatorInfo.device = Device;
allocatorInfo.pVulkanFunctions = &vulkanFunctions;
VALIDATE_VULKAN_RESULT(vmaCreateAllocator(&allocatorInfo, &Allocator));