r600/sfn: remove some dead code

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36101>
This commit is contained in:
Gert Wollny 2025-06-24 23:39:27 +02:00 committed by Marge Bot
parent 5697e6bb31
commit 5d0719bf8d

View file

@ -2348,12 +2348,8 @@ emit_alu_op2(const nir_alu_instr& alu,
const nir_alu_src *src0 = &alu.src[0];
const nir_alu_src *src1 = &alu.src[1];
int idx0 = 0;
int idx1 = 1;
if (opts & AluInstr::op2_opt_reverse) {
if (opts & AluInstr::op2_opt_reverse)
std::swap(src0, src1);
std::swap(idx0, idx1);
}
bool src1_negate = (opts & AluInstr::op2_opt_neg_src1);