aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_get.c
diff options
context:
space:
mode:
authorSagar Ghuge <[email protected]>2019-06-03 17:11:57 -0700
committerSagar Ghuge <[email protected]>2019-07-01 10:14:22 -0700
commit456557a837ea005763283b6cbd172fe3b9c7e8f4 (patch)
treea24514b5ca5eef508d28957a93a0b8b61fac67bb /src/gallium/drivers/radeonsi/si_get.c
parent1e92e83856b1ef8a827a63359d59ed7883ed4994 (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/gallium/drivers/radeonsi/si_get.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_get.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c
index 3ed90c79cba..dae5a55a3da 100644
--- a/src/gallium/drivers/radeonsi/si_get.c
+++ b/src/gallium/drivers/radeonsi/si_get.c
@@ -503,6 +503,7 @@ static const struct nir_shader_compiler_options nir_options = {
.lower_unpack_unorm_4x8 = true,
.lower_extract_byte = true,
.lower_extract_word = true,
+ .lower_rotate = true,
.optimize_sample_mask_in = true,
.max_unroll_iterations = 32,
};