r600/sfn: support nir_op_mulz and legazy math rules
authorGert Wollny <gert.wollny@collabora.com>
Thu, 16 Jun 2022 07:37:56 +0000 (09:37 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 7 Jul 2022 20:11:02 +0000 (20:11 +0000)
commit983385d319f017c7f1670804ebe642f7b85b071a
tree40d1304defcb95a7396c7bedc319e80f9dc31b08
parent9437cbb76d568988e1bdd16aeb1450a46e9c20ff
r600/sfn: support nir_op_mulz and legazy math rules

v2: Handle nir_op_ffmaz as well (Georg Lehmann)

Closes: #6390
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Filip Gawin <filip@gawin.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17076>
src/gallium/drivers/r600/r600_pipe_common.c
src/gallium/drivers/r600/sfn/sfn_instr_alu.cpp
src/gallium/drivers/r600/sfn/sfn_shader.cpp
src/gallium/drivers/r600/sfn/sfn_shader.h