Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c83 unsigned prim_idx, j, slot; in tgsi_fetch_gs_outputs() local
91 for (prim_idx = 0; prim_idx < num_primitives; ++prim_idx) { in tgsi_fetch_gs_outputs()
92 unsigned num_verts_per_prim = machine->Primitives[stream][prim_idx]; in tgsi_fetch_gs_outputs()
93 unsigned prim_offset = machine->PrimitiveOffsets[stream][prim_idx]; in tgsi_fetch_gs_outputs()
94 … shader->stream[stream].primitive_lengths[prim_idx + shader->stream[stream].emitted_primitives] = in tgsi_fetch_gs_outputs()
95 machine->Primitives[stream][prim_idx]; in tgsi_fetch_gs_outputs()
127 unsigned prim_idx) in tgsi_fetch_gs_input() argument
147 i, indices[i], prim_idx); in tgsi_fetch_gs_input()
154 machine->Inputs[idx].xyzw[0].u[prim_idx] = shader->in_prim_idx; in tgsi_fetch_gs_input()
155 machine->Inputs[idx].xyzw[1].u[prim_idx] = shader->in_prim_idx; in tgsi_fetch_gs_input()
[all …]
Ddraw_cliptest_tmp.h73 unsigned prim_idx = 0, prim_vert_idx = 0; in TAG() local
80 if (prim_vert_idx == (prim_info->primitive_lengths[prim_idx])) { in TAG()
81 prim_idx++; in TAG()
Ddraw_gs.h115 unsigned prim_idx);