File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 11#define VMA_IMPLEMENTATION
2+ #define VMA_VULKAN_VERSION 1000000
23
34#include " util/atomic.hpp"
45#include " Utilities/mutex.h"
Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ namespace vk
167167 allocatorInfo.physicalDevice = pdev;
168168 allocatorInfo.device = dev;
169169 allocatorInfo.instance = inst;
170+ allocatorInfo.vulkanApiVersion = VK_API_VERSION_1_0;
170171
171172 std::vector<VkDeviceSize> heap_limits;
172173 const auto vram_allocation_limit = g_cfg.video .vk .vram_allocation_limit * 0x100000ull ;
Original file line number Diff line number Diff line change 88#pragma clang diagnostic push
99#pragma clang diagnostic ignored "-Wnullability-completeness"
1010#endif
11+ #define VMA_VULKAN_VERSION 1000000
1112#include " 3rdparty/GPUOpen/VulkanMemoryAllocator/include/vk_mem_alloc.h"
1213#ifdef __clang__
1314#pragma clang diagnostic pop
You can’t perform that action at this time.
0 commit comments