From: Gert Wollny Date: Sun, 12 Apr 2020 14:43:56 +0000 (+0200) Subject: r600/sfn: Handle b2b1 like it was a mov X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58d6cda5f523639f016feddb5d98382f6a160ea5;p=mesa.git r600/sfn: Handle b2b1 like it was a mov Signed-off-by: Gert Wollny Part-of: --- diff --git a/src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp b/src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp index 056a54a54bf..9d6e7a48b73 100644 --- a/src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp @@ -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});