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 #endif
#undef INIT_FUNC #undef INIT_FUNC
VmaAllocatorCreateInfo allocatorInfo = {}; VmaAllocatorCreateInfo allocatorInfo = {};
allocatorInfo.vulkanApiVersion = VK_API_VERSION_1_0;
allocatorInfo.physicalDevice = gpu; allocatorInfo.physicalDevice = gpu;
allocatorInfo.instance = Instance;
allocatorInfo.device = Device; allocatorInfo.device = Device;
allocatorInfo.pVulkanFunctions = &vulkanFunctions; allocatorInfo.pVulkanFunctions = &vulkanFunctions;
VALIDATE_VULKAN_RESULT(vmaCreateAllocator(&allocatorInfo, &Allocator)); VALIDATE_VULKAN_RESULT(vmaCreateAllocator(&allocatorInfo, &Allocator));

View File

@@ -1,4 +1,4 @@
Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved. Copyright (c) 2017-2021 Advanced Micro Devices, Inc. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

File diff suppressed because it is too large Load Diff