Searched refs:alu2 (Results 1 – 2 of 2) sorted by relevance
232 nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2, in nir_alu_srcs_equal() argument235 if (alu1->src[src1].abs != alu2->src[src2].abs || in nir_alu_srcs_equal()236 alu1->src[src1].negate != alu2->src[src2].negate) in nir_alu_srcs_equal()240 if (alu1->src[src1].swizzle[i] != alu2->src[src2].swizzle[i]) in nir_alu_srcs_equal()244 return nir_srcs_equal(alu1->src[src1].src, alu2->src[src2].src); in nir_alu_srcs_equal()262 nir_alu_instr *alu2 = nir_instr_as_alu(instr2); in nir_instrs_equal() local264 if (alu1->op != alu2->op) in nir_instrs_equal()270 if (alu1->dest.dest.ssa.num_components != alu2->dest.dest.ssa.num_components) in nir_instrs_equal()273 if (alu1->dest.dest.ssa.bit_size != alu2->dest.dest.ssa.bit_size) in nir_instrs_equal()280 return (nir_alu_srcs_equal(alu1, alu2, 0, 0) && in nir_instrs_equal()[all …]
869 bool nir_alu_srcs_equal(const nir_alu_instr *alu1, const nir_alu_instr *alu2,