summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
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/freedreno
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/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/a2xx/ir2_nir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
index 5becd522615..8226d271a38 100644
--- a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
+++ b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c
@@ -40,6 +40,7 @@ static const nir_shader_compiler_options options = {
.lower_all_io_to_temps = true,
.vertex_id_zero_based = true, /* its not implemented anyway */
.lower_bitshift = true,
+ .lower_rotate = true,
};
const nir_shader_compiler_options *