Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_gs.c82 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[prim_idx]; in tgsi_fetch_gs_outputs()
93 shader->primitive_lengths[prim_idx + shader->emitted_primitives] = in tgsi_fetch_gs_outputs()
94 machine->Primitives[prim_idx]; in tgsi_fetch_gs_outputs()
125 unsigned prim_idx) in tgsi_fetch_gs_input() argument
139 i, indices[i], prim_idx); in tgsi_fetch_gs_input()
146 machine->Inputs[idx].xyzw[0].u[prim_idx] = shader->in_prim_idx; in tgsi_fetch_gs_input()
147 machine->Inputs[idx].xyzw[1].u[prim_idx] = shader->in_prim_idx; in tgsi_fetch_gs_input()
148 machine->Inputs[idx].xyzw[2].u[prim_idx] = shader->in_prim_idx; in tgsi_fetch_gs_input()
[all …]
Ddraw_gs.h110 unsigned prim_idx);