radv: rename VK_KHR_shader_float16_int8 structs/constants
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Oct 2019 08:29:46 +0000 (10:29 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 15 Oct 2019 10:13:53 +0000 (12:13 +0200)
Trivial change.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_device.c

index cf57a441481d0a454c32bd6161e57476dc8f971c..773cae3da37ea812c765858b918fb62ae5a4d2fb 100644 (file)
@@ -966,9 +966,9 @@ void radv_GetPhysicalDeviceFeatures2(
                        features->storagePushConstant8 = enabled;
                        break;
                }
-               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR: {
-                       VkPhysicalDeviceFloat16Int8FeaturesKHR *features =
-                               (VkPhysicalDeviceFloat16Int8FeaturesKHR*)ext;
+               case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR: {
+                       VkPhysicalDeviceShaderFloat16Int8FeaturesKHR *features =
+                               (VkPhysicalDeviceShaderFloat16Int8FeaturesKHR*)ext;
                        features->shaderFloat16 = pdevice->rad_info.chip_class >= GFX8 && !pdevice->use_aco;
                        features->shaderInt8 = !pdevice->use_aco;
                        break;