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