Fusing will come later with the appropriate NIR support.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4139>
return BI_MINMAX;
case nir_op_fsat:
+ case nir_op_fneg:
+ case nir_op_fabs:
case nir_op_mov:
return BI_MOV;
case nir_op_fsat:
alu.outmod = BIFROST_SAT; /* MOV */
break;
+ case nir_op_fneg:
+ alu.src_neg[0] = true; /* MOV */
+ break;
+ case nir_op_fabs:
+ alu.src_abs[0] = true; /* MOV */
+ break;
case nir_op_fmax:
case nir_op_imax:
case nir_op_umax: