Lines Matching refs:nalu
1024 nir_alu_instr *nalu = nir_alu_instr_create(b->shader, alu->op); in clone_alu_and_replace_src_defs() local
1025 nalu->exact = alu->exact; in clone_alu_and_replace_src_defs()
1027 nir_ssa_dest_init(&nalu->instr, &nalu->dest.dest, in clone_alu_and_replace_src_defs()
1031 nalu->dest.saturate = alu->dest.saturate; in clone_alu_and_replace_src_defs()
1032 nalu->dest.write_mask = alu->dest.write_mask; in clone_alu_and_replace_src_defs()
1036 nalu->src[i].src = nir_src_for_ssa(src_defs[i]); in clone_alu_and_replace_src_defs()
1037 nalu->src[i].negate = alu->src[i].negate; in clone_alu_and_replace_src_defs()
1038 nalu->src[i].abs = alu->src[i].abs; in clone_alu_and_replace_src_defs()
1039 memcpy(nalu->src[i].swizzle, alu->src[i].swizzle, in clone_alu_and_replace_src_defs()
1040 sizeof(nalu->src[i].swizzle)); in clone_alu_and_replace_src_defs()
1043 nir_builder_instr_insert(b, &nalu->instr); in clone_alu_and_replace_src_defs()
1045 return &nalu->dest.dest.ssa;; in clone_alu_and_replace_src_defs()
1114 nir_ssa_def *nalu = clone_alu_and_replace_src_defs(b, alu, def); in propagate_condition_eval() local
1117 nir_src new_src = nir_src_for_ssa(nalu); in propagate_condition_eval()