From: Samuel Pitoiset Date: Tue, 15 Oct 2019 07:00:19 +0000 (+0200) Subject: radv: update VK_EXT_scalar_block_layout for Vulkan 1.2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4eed4e548aac35182ba39cf86f8838507bcef6f;p=mesa.git radv: update VK_EXT_scalar_block_layout for Vulkan 1.2 Promoted to Vulkan 1.2 with the EXT 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 ff13daf9851..20db56d4562 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1044,9 +1044,9 @@ void radv_GetPhysicalDeviceFeatures2( features->geometryStreams = !pdevice->use_ngg_streamout; break; } - case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT: { - VkPhysicalDeviceScalarBlockLayoutFeaturesEXT *features = - (VkPhysicalDeviceScalarBlockLayoutFeaturesEXT *)ext; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES: { + VkPhysicalDeviceScalarBlockLayoutFeatures *features = + (VkPhysicalDeviceScalarBlockLayoutFeatures *)ext; features->scalarBlockLayout = pdevice->rad_info.chip_class >= GFX7; break; }