summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_shader.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/amd/vulkan/radv_shader.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/amd/vulkan/radv_shader.c')
-rw-r--r--src/amd/vulkan/radv_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index 0ec0d67e3b6..3c3f761ca89 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -74,6 +74,7 @@ static const struct nir_shader_compiler_options nir_options = {
.lower_ffma = true,
.lower_fpow = true,
.lower_mul_2x32_64 = true,
+ .lower_rotate = true,
.max_unroll_iterations = 32
};