1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Upgrade Vulkan memory allocator

This commit is contained in:
Pedro J. Estébanez
2021-08-13 00:02:20 +02:00
parent 554312a3b2
commit 7b7e17a626
12 changed files with 2955 additions and 999 deletions

View File

@@ -8794,6 +8794,7 @@ void RenderingDeviceVulkan::initialize(VulkanContext *p_context, bool p_local_de
memset(&allocatorInfo, 0, sizeof(VmaAllocatorCreateInfo));
allocatorInfo.physicalDevice = p_context->get_physical_device();
allocatorInfo.device = device;
allocatorInfo.instance = p_context->get_instance();
vmaCreateAllocator(&allocatorInfo, &allocator);
}