Searched refs:new_intr (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_wrmasks.c | 123 nir_intrinsic_instr *new_intr = in split_wrmask() local 126 nir_intrinsic_copy_const_indices(new_intr, intr); in split_wrmask() 127 nir_intrinsic_set_write_mask(new_intr, BITFIELD_MASK(length)); in split_wrmask() 139 nir_intrinsic_set_align(new_intr, align_mul, align_off); in split_wrmask() 148 nir_intrinsic_set_base(new_intr, in split_wrmask() 155 new_intr->num_components = length; in split_wrmask() 162 new_intr->src[i] = nir_src_for_ssa(value); in split_wrmask() 164 new_intr->src[i] = nir_src_for_ssa(offset); in split_wrmask() 166 new_intr->src[i] = intr->src[i]; in split_wrmask() 170 nir_builder_instr_insert(b, &new_intr->instr); in split_wrmask()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_vectorize_vs_inputs.c | 149 nir_intrinsic_instr *new_intr = in r600_create_new_load() local 151 nir_ssa_dest_init(&new_intr->instr, &new_intr->dest, num_comps, in r600_create_new_load() 153 new_intr->num_components = num_comps; in r600_create_new_load() 158 new_intr->src[0] = nir_src_for_ssa(&deref->dest.ssa); in r600_create_new_load() 162 nir_src_copy(&new_intr->src[1], &intr->src[1]); in r600_create_new_load() 164 nir_builder_instr_insert(b, &new_intr->instr); in r600_create_new_load() 168 nir_ssa_def *load = nir_swizzle(b, &new_intr->dest.ssa, channels, old_num_comps); in r600_create_new_load()
|
D | sfn_nir_lower_fs_out_to_vector.cpp | 402 nir_intrinsic_instr *new_intr = in create_new_io() local 404 new_intr->num_components = num_comps; in create_new_io() 406 nir_intrinsic_set_write_mask(new_intr, (1 << num_comps) - 1); in create_new_io() 411 new_intr->src[0] = nir_src_for_ssa(&deref->dest.ssa); in create_new_io() 412 new_intr->src[1] = nir_src_for_ssa(create_combined_vector(b, srcs, first_comp, num_comps)); in create_new_io() 414 nir_builder_instr_insert(b, &new_intr->instr); in create_new_io()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_nir_lower_tess.c | 153 nir_intrinsic_instr *new_intr = nir_intrinsic_instr_create(b->shader, op); in replace_intrinsic() local 155 new_intr->src[0] = nir_src_for_ssa(src0); in replace_intrinsic() 157 new_intr->src[1] = nir_src_for_ssa(src1); in replace_intrinsic() 159 new_intr->src[2] = nir_src_for_ssa(src2); in replace_intrinsic() 161 new_intr->num_components = intr->num_components; in replace_intrinsic() 164 nir_ssa_dest_init(&new_intr->instr, &new_intr->dest, intr->num_components, in replace_intrinsic() 167 nir_builder_instr_insert(b, &new_intr->instr); in replace_intrinsic() 170 nir_ssa_def_rewrite_uses(&intr->dest.ssa, &new_intr->dest.ssa); in replace_intrinsic() 174 return new_intr; in replace_intrinsic()
|