Lines Matching refs:nalu
276 nir_alu_instr *nalu = nir_alu_instr_create(state->ns, alu->op); in clone_alu() local
277 nalu->exact = alu->exact; in clone_alu()
278 nalu->no_signed_wrap = alu->no_signed_wrap; in clone_alu()
279 nalu->no_unsigned_wrap = alu->no_unsigned_wrap; in clone_alu()
281 __clone_dst(state, &nalu->instr, &nalu->dest.dest, &alu->dest.dest); in clone_alu()
282 nalu->dest.saturate = alu->dest.saturate; in clone_alu()
283 nalu->dest.write_mask = alu->dest.write_mask; in clone_alu()
286 __clone_src(state, &nalu->instr, &nalu->src[i].src, &alu->src[i].src); in clone_alu()
287 nalu->src[i].negate = alu->src[i].negate; in clone_alu()
288 nalu->src[i].abs = alu->src[i].abs; in clone_alu()
289 memcpy(nalu->src[i].swizzle, alu->src[i].swizzle, in clone_alu()
290 sizeof(nalu->src[i].swizzle)); in clone_alu()
293 return nalu; in clone_alu()