radv: sort the shader capabilities alphabetically
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Apr 2019 07:13:37 +0000 (09:13 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Apr 2019 07:14:22 +0000 (09:14 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_shader.c

index 898195a..a967709 100644 (file)
@@ -226,11 +226,13 @@ radv_shader_compile_to_nir(struct radv_device *device,
                                .descriptor_array_dynamic_indexing = true,
                                .device_group = true,
                                .draw_parameters = true,
+                               .float16 = true,
                                .float64 = true,
                                .gcn_shader = true,
                                .geometry_streams = true,
                                .image_read_without_format = true,
                                .image_write_without_format = true,
+                               .int8 = true,
                                .int16 = true,
                                .int64 = true,
                                .multiview = true,
@@ -238,6 +240,7 @@ radv_shader_compile_to_nir(struct radv_device *device,
                                .runtime_descriptor_array = true,
                                .shader_viewport_index_layer = true,
                                .stencil_export = true,
+                               .storage_8bit = true,
                                .storage_16bit = true,
                                .storage_image_ms = true,
                                .subgroup_arithmetic = true,
@@ -250,9 +253,6 @@ radv_shader_compile_to_nir(struct radv_device *device,
                                .transform_feedback = true,
                                .trinary_minmax = true,
                                .variable_pointers = true,
-                               .storage_8bit = true,
-                               .int8 = true,
-                               .float16 = true,
                        },
                        .ubo_ptr_type = glsl_vector_type(GLSL_TYPE_UINT, 2),
                        .ssbo_ptr_type = glsl_vector_type(GLSL_TYPE_UINT, 2),