Lines Matching refs:nalu
1054 nir_alu_instr *nalu = nir_alu_instr_create(b->shader, alu->op); in clone_alu_and_replace_src_defs() local
1055 nalu->exact = alu->exact; in clone_alu_and_replace_src_defs()
1057 nir_ssa_dest_init(&nalu->instr, &nalu->dest.dest, in clone_alu_and_replace_src_defs()
1061 nalu->dest.saturate = alu->dest.saturate; in clone_alu_and_replace_src_defs()
1062 nalu->dest.write_mask = alu->dest.write_mask; in clone_alu_and_replace_src_defs()
1066 nalu->src[i].src = nir_src_for_ssa(src_defs[i]); in clone_alu_and_replace_src_defs()
1067 nalu->src[i].negate = alu->src[i].negate; in clone_alu_and_replace_src_defs()
1068 nalu->src[i].abs = alu->src[i].abs; in clone_alu_and_replace_src_defs()
1069 memcpy(nalu->src[i].swizzle, alu->src[i].swizzle, in clone_alu_and_replace_src_defs()
1070 sizeof(nalu->src[i].swizzle)); in clone_alu_and_replace_src_defs()
1073 nir_builder_instr_insert(b, &nalu->instr); in clone_alu_and_replace_src_defs()
1075 return &nalu->dest.dest.ssa;; in clone_alu_and_replace_src_defs()
1144 nir_ssa_def *nalu = clone_alu_and_replace_src_defs(b, alu, def); in propagate_condition_eval() local
1147 nir_src new_src = nir_src_for_ssa(nalu); in propagate_condition_eval()