mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 01:20:22 +01:00
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:
parent
5697e6bb31
commit
5d0719bf8d
1 changed files with 1 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue