diff options
author | Gert Wollny <[email protected]> | 2020-04-12 16:43:56 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-04-21 15:10:43 +0000 |
commit | 58d6cda5f523639f016feddb5d98382f6a160ea5 (patch) | |
tree | f9a5c689686a2a491646e521396bc30eaa78afc4 /src/gallium | |
parent | de7ea88ff852080429c46da332f38224e01e0e36 (diff) |
r600/sfn: Handle b2b1 like it was a mov
Signed-off-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4609>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/sfn/sfn_emitaluinstruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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}); |