diff options
author | Sagar Ghuge <[email protected]> | 2019-06-03 17:11:57 -0700 |
---|---|---|
committer | Sagar Ghuge <[email protected]> | 2019-07-01 10:14:22 -0700 |
commit | 456557a837ea005763283b6cbd172fe3b9c7e8f4 (patch) | |
tree | a24514b5ca5eef508d28957a93a0b8b61fac67bb /src/freedreno/ir3 | |
parent | 1e92e83856b1ef8a827a63359d59ed7883ed4994 (diff) |
nir: Add lower_rotate flag and set to true in all drivers
Signed-off-by: Sagar Ghuge <[email protected]>
Suggested-by: Matt Turner <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/freedreno/ir3')
-rw-r--r-- | src/freedreno/ir3/ir3_nir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index 437f196bbe0..6a4c60b0c1f 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -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_rotate = true, }; /* 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_rotate = true, }; const nir_shader_compiler_options * |