From 36597fae5c79ad6b310e4ed8c00e8acfa38b5aca Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Thu, 18 Jul 2024 01:15:25 -0700 Subject: [PATCH] Enable `VkPhysicalDeviceFeatures::shaderImageGatherExtended` by default since MoltenVK supports it --- lvk/vulkan/VulkanClasses.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lvk/vulkan/VulkanClasses.cpp b/lvk/vulkan/VulkanClasses.cpp index 220f02d782..b88aca7817 100644 --- a/lvk/vulkan/VulkanClasses.cpp +++ b/lvk/vulkan/VulkanClasses.cpp @@ -4809,6 +4809,7 @@ lvk::Result lvk::VulkanContext::initContext(const HWDeviceDesc& desc) { .textureCompressionBC = VK_TRUE, #endif .fragmentStoresAndAtomics = VK_TRUE, + .shaderImageGatherExtended = VK_TRUE, }; VkPhysicalDeviceVulkan11Features deviceFeatures11 = { .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES,