From 58d6cda5f523639f016feddb5d98382f6a160ea5 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Sun, 12 Apr 2020 16:43:56 +0200 Subject: [PATCH] r600/sfn: Handle b2b1 like it was a mov Signed-off-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp | 1 + 1 file changed, 1 insertion(+) 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}); -- 2.30.2