From caeecf2aead8668b266d8720c1e2a4aae96265fe Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Mon, 1 Jun 2026 16:19:04 +0200 Subject: [PATCH] Update Vulkan API to 1.4 on macOS and iOS --- Source/Engine/GraphicsDevice/Vulkan/Mac/MacVulkanPlatform.h | 1 + Source/Engine/GraphicsDevice/Vulkan/iOS/iOSVulkanPlatform.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Source/Engine/GraphicsDevice/Vulkan/Mac/MacVulkanPlatform.h b/Source/Engine/GraphicsDevice/Vulkan/Mac/MacVulkanPlatform.h index a4f7b0a3f..9643b5628 100644 --- a/Source/Engine/GraphicsDevice/Vulkan/Mac/MacVulkanPlatform.h +++ b/Source/Engine/GraphicsDevice/Vulkan/Mac/MacVulkanPlatform.h @@ -6,6 +6,7 @@ #if GRAPHICS_API_VULKAN && PLATFORM_MAC +#define VULKAN_API_VERSION VK_API_VERSION_1_4 #define VULKAN_BACK_BUFFERS_COUNT 3 // General/Validation Error:0 VK_ERROR_INITIALIZATION_FAILED: Could not create MTLCounterSampleBuffer for query pool of type VK_QUERY_TYPE_TIMESTAMP. Reverting to emulated behavior. (Error code 0): Cannot allocate sample buffer diff --git a/Source/Engine/GraphicsDevice/Vulkan/iOS/iOSVulkanPlatform.h b/Source/Engine/GraphicsDevice/Vulkan/iOS/iOSVulkanPlatform.h index d1c5f64ad..f0f1d98a0 100644 --- a/Source/Engine/GraphicsDevice/Vulkan/iOS/iOSVulkanPlatform.h +++ b/Source/Engine/GraphicsDevice/Vulkan/iOS/iOSVulkanPlatform.h @@ -6,6 +6,7 @@ #if GRAPHICS_API_VULKAN && PLATFORM_IOS +#define VULKAN_API_VERSION VK_API_VERSION_1_4 #define VULKAN_BACK_BUFFERS_COUNT 3 // General/Validation Error:0 VK_ERROR_INITIALIZATION_FAILED: Could not create MTLCounterSampleBuffer for query pool of type VK_QUERY_TYPE_TIMESTAMP. Reverting to emulated behavior. (Error code 0): Cannot allocate sample buffer