nir: Add lower_rotate flag and set to true in all drivers
[mesa.git] / src / freedreno / ir3 / ir3_nir.c
index 437f196bbe0504221748f41baa0dd2808bc3ef80..6a4c60b0c1f148f4f3b9cac7f3e2cf5da7cb741f 100644 (file)
@@ -55,6 +55,7 @@ static const nir_shader_compiler_options options = {
                .lower_bitfield_insert_to_shifts = true,
                .lower_bitfield_extract_to_shifts = true,
                .use_interpolated_input_intrinsics = true,
                .lower_bitfield_insert_to_shifts = true,
                .lower_bitfield_extract_to_shifts = true,
                .use_interpolated_input_intrinsics = true,
+               .lower_rotate = true,
 };
 
 /* we don't want to lower vertex_id to _zero_based on newer gpus: */
 };
 
 /* we don't want to lower vertex_id to _zero_based on newer gpus: */
@@ -79,6 +80,7 @@ static const nir_shader_compiler_options options_a6xx = {
                .lower_bitfield_insert_to_shifts = true,
                .lower_bitfield_extract_to_shifts = true,
                .use_interpolated_input_intrinsics = true,
                .lower_bitfield_insert_to_shifts = true,
                .lower_bitfield_extract_to_shifts = true,
                .use_interpolated_input_intrinsics = true,
+               .lower_rotate = true,
 };
 
 const nir_shader_compiler_options *
 };
 
 const nir_shader_compiler_options *