Searched refs:new_alu (Results 1 – 1 of 1) sorted by relevance
208 nir_alu_instr *new_alu = nir_alu_instr_create(b.shader, alu1->op); in instr_try_combine() local209 nir_ssa_dest_init(&new_alu->instr, &new_alu->dest.dest, in instr_try_combine()211 new_alu->dest.write_mask = (1 << total_components) - 1; in instr_try_combine()212 new_alu->instr.pass_flags = alu1->instr.pass_flags; in instr_try_combine()217 new_alu->exact = alu1->exact || alu2->exact; in instr_try_combine()222 new_alu->no_signed_wrap = alu1->no_signed_wrap && alu2->no_signed_wrap; in instr_try_combine()223 new_alu->no_unsigned_wrap = alu1->no_unsigned_wrap && alu2->no_unsigned_wrap; in instr_try_combine()241 new_alu->src[i].src = nir_src_for_ssa(def); in instr_try_combine()243 new_alu->src[i].swizzle[j] = j; in instr_try_combine()247 new_alu->src[i].src = alu1->src[i].src; in instr_try_combine()[all …]