From: Samuel Pitoiset Date: Tue, 15 Oct 2019 08:21:20 +0000 (+0200) Subject: radv: update VK_KHR_uniform_buffer_standard_layout for Vulkan 1.2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fab0aa9182133b3a40001191f2746aaac4ef1b81;p=mesa.git radv: update VK_KHR_uniform_buffer_standard_layout for Vulkan 1.2 Promoted to Vulkan 1.2 with the KHR suffix omitted. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 7a74cd98946..7f9e1b3e4b6 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1134,9 +1134,9 @@ void radv_GetPhysicalDeviceFeatures2( features->ycbcrImageArrays = true; break; } - case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR: { - VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR *features = - (VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR *)ext; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES: { + VkPhysicalDeviceUniformBufferStandardLayoutFeatures *features = + (VkPhysicalDeviceUniformBufferStandardLayoutFeatures *)ext; features->uniformBufferStandardLayout = true; break; }