From 5335bb6c39e7641c80193ff98e95fa21d5e66876 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 26 Nov 2019 14:05:13 +0100 Subject: [PATCH] radv: update VK_KHR_shader_float16_int8 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 4d566b460a0..554f2d60e79 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1093,9 +1093,9 @@ void radv_GetPhysicalDeviceFeatures2( features->storagePushConstant8 = enabled; break; } - case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR: { - VkPhysicalDeviceShaderFloat16Int8FeaturesKHR *features = - (VkPhysicalDeviceShaderFloat16Int8FeaturesKHR*)ext; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES: { + VkPhysicalDeviceShaderFloat16Int8Features *features = + (VkPhysicalDeviceShaderFloat16Int8Features*)ext; features->shaderFloat16 = pdevice->rad_info.chip_class >= GFX8 && !pdevice->use_aco; features->shaderInt8 = !pdevice->use_aco; break; -- 2.30.2