Home
last modified time | relevance | path

Searched refs:load_tcs_in (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_tess_io.cpp140 …nir_intrinsic_instr *load_tcs_in = nir_intrinsic_instr_create(b->shader, nir_intrinsic_load_local_… in replace_load_instr() local
141 load_tcs_in->num_components = op->num_components; in replace_load_instr()
142 nir_ssa_dest_init(&load_tcs_in->instr, &load_tcs_in->dest, in replace_load_instr()
143 load_tcs_in->num_components, 32, NULL); in replace_load_instr()
145 nir_ssa_def *addr_outer = nir_iadd(b, addr, load_offset_group(b, load_tcs_in->num_components)); in replace_load_instr()
146 load_tcs_in->src[0] = nir_src_for_ssa(addr_outer); in replace_load_instr()
147 nir_intrinsic_set_component(load_tcs_in, nir_intrinsic_component(op)); in replace_load_instr()
148 nir_builder_instr_insert(b, &load_tcs_in->instr); in replace_load_instr()
149 nir_ssa_def_rewrite_uses(&op->dest.ssa, nir_src_for_ssa(&load_tcs_in->dest.ssa)); in replace_load_instr()