From c722045dadb0028211695df528956b82981b75d9 Mon Sep 17 00:00:00 2001 From: "Matias N. Goldberg" Date: Fri, 20 Dec 2024 16:35:01 -0300 Subject: [PATCH] [Vk] Fix validation error by requesting VK_AMD_shader_trinary_minmax --- RenderSystems/Vulkan/src/OgreVulkanDevice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RenderSystems/Vulkan/src/OgreVulkanDevice.cpp b/RenderSystems/Vulkan/src/OgreVulkanDevice.cpp index 69cf48092e..547225d3c1 100644 --- a/RenderSystems/Vulkan/src/OgreVulkanDevice.cpp +++ b/RenderSystems/Vulkan/src/OgreVulkanDevice.cpp @@ -885,6 +885,8 @@ namespace Ogre deviceExtensions.push_back( VK_KHR_16BIT_STORAGE_EXTENSION_NAME ); else if( extensionName == VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME ) deviceExtensions.push_back( VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME ); + else if( extensionName == VK_AMD_SHADER_TRINARY_MINMAX_EXTENSION_NAME ) + deviceExtensions.push_back( VK_AMD_SHADER_TRINARY_MINMAX_EXTENSION_NAME ); } deviceExtensions.push_back( VK_KHR_SWAPCHAIN_EXTENSION_NAME );