From 48ba1f3f241123ca4950fed5965fe78bb804849c Mon Sep 17 00:00:00 2001 From: wildcard Date: Wed, 4 Feb 2026 19:15:10 +0100 Subject: [vk, cmake] Bump minimum VulkanTools to 1.4.317 and add UnifiedImageLayouts (#3318) It seems too easy, the specification does not state anything more to be done for it towork. Requires performance testing on android. Co-authored-by: DraVee Co-authored-by: crueter Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3318 Reviewed-by: DraVee Reviewed-by: CamilleLaVey Co-authored-by: wildcard Co-committed-by: wildcard --- src/video_core/vulkan_common/vulkan_device.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/video_core/vulkan_common/vulkan_device.cpp') diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 0b3aea6d2e..ab4e5b1b65 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -1230,6 +1230,10 @@ void Device::RemoveUnsuitableExtensions() { } RemoveExtensionFeatureIfUnsuitable(extensions.custom_border_color, features.custom_border_color, VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME); + // VK_KHR_unified_image_layouts + extensions.unified_image_layouts = features.unified_image_layouts.unifiedImageLayouts; + RemoveExtensionFeatureIfUnsuitable(extensions.unified_image_layouts, features.unified_image_layouts, + VK_KHR_UNIFIED_IMAGE_LAYOUTS_EXTENSION_NAME); // VK_EXT_depth_bias_control extensions.depth_bias_control = -- cgit v1.2.3