r600/sfn: Handle b2b1 like it was a mov

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4609>
This commit is contained in:
Gert Wollny 2020-04-12 16:43:56 +02:00 committed by Marge Bot
parent de7ea88ff8
commit 58d6cda5f5
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ bool EmitAluInstruction::do_emit(nir_instr* ir)
case nir_op_b2f32: return emit_alu_b2f(instr);
case nir_op_i2b1: return emit_alu_i2orf2_b1(instr, op2_setne_int);
case nir_op_f2b1: return emit_alu_i2orf2_b1(instr, op2_setne_dx10);
case nir_op_b2b1:
case nir_op_mov:return emit_alu_op1(instr, op1_mov);
case nir_op_ftrunc: return emit_alu_op1(instr, op1_trunc);
case nir_op_fabs: return emit_alu_op1(instr, op1_mov, {1 << alu_src0_abs});