Searched refs:prim_idx (Results 1 – 4 of 4) sorted by relevance
83 unsigned prim_idx, j, slot; in tgsi_fetch_gs_outputs() local91 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() argument147 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 …]
72 unsigned prim_idx = 0, prim_vert_idx = 0; in TAG() local79 if (prim_vert_idx == (prim_info->primitive_lengths[prim_idx])) { in TAG()80 prim_idx++; in TAG()
114 unsigned prim_idx);
226 // decrement prim_idx by 1 so we can use inclusive warp scan later