Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_io.c192 nir_intrinsic_instr *intr_comp = in vc4_nir_lower_vertex_attr() local
195 intr_comp->num_components = 1; in vc4_nir_lower_vertex_attr()
196 nir_intrinsic_set_base(intr_comp, nir_intrinsic_base(intr)); in vc4_nir_lower_vertex_attr()
197 nir_intrinsic_set_component(intr_comp, i); in vc4_nir_lower_vertex_attr()
198 intr_comp->src[0] = nir_src_for_ssa(nir_imm_int(b, 0)); in vc4_nir_lower_vertex_attr()
199 nir_ssa_dest_init(&intr_comp->instr, &intr_comp->dest, 1, 32, NULL); in vc4_nir_lower_vertex_attr()
200 nir_builder_instr_insert(b, &intr_comp->instr); in vc4_nir_lower_vertex_attr()
202 vpm_reads[i] = &intr_comp->dest.ssa; in vc4_nir_lower_vertex_attr()
330 nir_intrinsic_instr *intr_comp = in vc4_nir_lower_uniform() local
332 intr_comp->num_components = 1; in vc4_nir_lower_uniform()
[all …]
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_io.c101 nir_intrinsic_instr *intr_comp = in v3d_nir_lower_uniform() local
103 intr_comp->num_components = 1; in v3d_nir_lower_uniform()
104 nir_ssa_dest_init(&intr_comp->instr, &intr_comp->dest, 1, 32, NULL); in v3d_nir_lower_uniform()
110 nir_intrinsic_set_base(intr_comp, in v3d_nir_lower_uniform()
114 intr_comp->src[0] = in v3d_nir_lower_uniform()
118 dests[i] = &intr_comp->dest.ssa; in v3d_nir_lower_uniform()
120 nir_builder_instr_insert(b, &intr_comp->instr); in v3d_nir_lower_uniform()