Mesa (master): r600/sfn: Lower *sign opcodes in nir

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Sep 16 08:36:17 UTC 2020


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

Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Sun Sep  6 23:39:46 2020 +0200

r600/sfn: Lower *sign opcodes in nir

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

---

 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 8965f27a4a4..43bad116358 100644
--- a/src/gallium/drivers/r600/r600_pipe_common.c
+++ b/src/gallium/drivers/r600/r600_pipe_common.c
@@ -1186,6 +1186,8 @@ const struct nir_shader_compiler_options r600_nir_fs_options = {
 	.lower_fpow = true,
 	.lower_fdiv = true,
 	.lower_idiv = true,
+        .lower_isign = true,
+        .lower_fsign = true,
 	.lower_fmod = true,
 	.lower_doubles_options = nir_lower_fp64_full_software,
 	.lower_int64_options = 0,



More information about the mesa-commit mailing list