From fab0aa9182133b3a40001191f2746aaac4ef1b81 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 15 Oct 2019 10:21:20 +0200 Subject: 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 --- src/amd/vulkan/radv_device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- cgit v1.2.3