Mesa (master): r600/sfn: lower rotate ALU ops

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 20 09:42:30 UTC 2020


Module: Mesa
Branch: master
Commit: 55cc712991824c7aa1ac89905c153eebc781a592
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=55cc712991824c7aa1ac89905c153eebc781a592

Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Sun Jul  5 16:36:11 2020 +0200

r600/sfn: lower rotate ALU ops

Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5963>

---

 src/gallium/drivers/r600/r600_pipe_common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/drivers/r600/r600_pipe_common.c b/src/gallium/drivers/r600/r600_pipe_common.c
index ac59ae55389..8fa9aa89d97 100644
--- a/src/gallium/drivers/r600/r600_pipe_common.c
+++ b/src/gallium/drivers/r600/r600_pipe_common.c
@@ -1191,6 +1191,7 @@ const struct nir_shader_compiler_options r600_nir_fs_options = {
 	.lower_int64_options = 0,
 	.lower_extract_byte = true,
 	.lower_extract_word = true,
+        .lower_rotate = true,
 	.max_unroll_iterations = 32,
 	.lower_all_io_to_temps = true,
 	.vectorize_io = true,
@@ -1211,6 +1212,7 @@ const struct nir_shader_compiler_options r600_nir_options = {
 	.lower_int64_options = 0,
 	.lower_extract_byte = true,
 	.lower_extract_word = true,
+        .lower_rotate = true,
 	.max_unroll_iterations = 32,
 	.vectorize_io = true,
 	.has_umad24 = true,



More information about the mesa-commit mailing list