Update VulkanMemoryAllocator to 3.0.0-development (2021-02-16)
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
4864
Source/ThirdParty/VulkanMemoryAllocator/vk_mem_alloc.h
vendored
4864
Source/ThirdParty/VulkanMemoryAllocator/vk_mem_alloc.h
vendored
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user