r600/sfn: lower rotate ALU ops
authorGert Wollny <gert.wollny@collabora.com>
Sun, 5 Jul 2020 14:36:11 +0000 (16:36 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 20 Jul 2020 09:32:51 +0000 (09:32 +0000)
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5963>

src/gallium/drivers/r600/r600_pipe_common.c

index ac59ae5538908ed5ff9a160bf55963c3ce3b79d7..8fa9aa89d9766a0452c459f5097f5964901825e0 100644 (file)
@@ -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,