Lines Matching refs:intrin
71 rewrite_emit_vertex(nir_intrinsic_instr *intrin, struct state *state)
76 b->cursor = nir_before_instr(&intrin->instr);
97 nir_intrinsic_set_stream_id(lowered, nir_intrinsic_stream_id(intrin));
106 nir_instr_remove(&intrin->instr);
115 rewrite_end_primitive(nir_intrinsic_instr *intrin, struct state *state)
119 b->cursor = nir_before_instr(&intrin->instr);
125 nir_intrinsic_set_stream_id(lowered, nir_intrinsic_stream_id(intrin));
129 nir_instr_remove(&intrin->instr);
141 nir_intrinsic_instr *intrin = nir_instr_as_intrinsic(instr);
142 switch (intrin->intrinsic) {
144 rewrite_emit_vertex(intrin, state);
147 rewrite_end_primitive(intrin, state);