From 41fe75acb7c7f73c575a91056cd0a62e4881f016 Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Fri, 26 Jan 2024 06:34:12 -0800 Subject: [PATCH] renderer_vulkan: Pass physical device API version to VMA instead of instance version. (#7390) --- src/video_core/renderer_vulkan/vk_instance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/vk_instance.cpp b/src/video_core/renderer_vulkan/vk_instance.cpp index c2a62c4da..2303df203 100644 --- a/src/video_core/renderer_vulkan/vk_instance.cpp +++ b/src/video_core/renderer_vulkan/vk_instance.cpp @@ -629,7 +629,7 @@ void Instance::CreateAllocator() { .device = *device, .pVulkanFunctions = &functions, .instance = *instance, - .vulkanApiVersion = vk::enumerateInstanceVersion(), + .vulkanApiVersion = properties.apiVersion, }; const VkResult result = vmaCreateAllocator(&allocator_info, &allocator);