Home
last modified time | relevance | path

Searched refs:count_per_primitive (Results 1 - 1 of 1) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_gs_intrinsics.c89 nir_ssa_def *count_per_primitive; in rewrite_emit_vertex() local
92 count_per_primitive = nir_load_var(b, state->vtxcnt_per_prim_vars[stream]); in rewrite_emit_vertex()
94 count_per_primitive = nir_imm_int(b, 0); in rewrite_emit_vertex()
96 count_per_primitive = nir_ssa_undef(b, 1, 32); in rewrite_emit_vertex()
108 nir_emit_vertex_with_counter(b, count, count_per_primitive, stream); in rewrite_emit_vertex()
210 nir_ssa_def *count_per_primitive; in rewrite_end_primitive() local
213 count_per_primitive = nir_load_var(b, state->vtxcnt_per_prim_vars[stream]); in rewrite_end_primitive()
215 count_per_primitive = nir_imm_int(b, 0); in rewrite_end_primitive()
217 count_per_primitive = nir_ssa_undef(b, count->num_components, count->bit_size); in rewrite_end_primitive()
219 nir_end_primitive_with_counter(b, count, count_per_primitive, strea in rewrite_end_primitive()
[all...]

Completed in 1 milliseconds