Skip to content

Commit

Permalink
[Vk] Fix validation error by requesting VK_AMD_shader_trinary_minmax
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Dec 20, 2024
1 parent 345c94c commit c722045
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RenderSystems/Vulkan/src/OgreVulkanDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit c722045

Please sign in to comment.