Lines Matching defs:prim
190 translate_prim_type(enum pipe_prim_type prim, uint8_t verts_per_patch)
214 return map[prim] + (prim == PIPE_PRIM_PATCHES ? verts_per_patch : 0);
1284 crocus_emit_cmd(batch, GENX(3DPRIMITIVE), prim) {
1285 prim.PrimitiveTopologyType = _3DPRIM_POINTLIST;
4113 //TODO vertices per prim
4189 // count of writes to the prim count buffer.
4415 svbi.StreamedVertexBufferIndex = (uint32_t)ice->state.svbi; /* fix when resuming, based on target's prim count */
8015 crocus_emit_cmd(batch, GENX(3DPRIMITIVE), prim) {
8016 prim.VertexAccessType = draw->index_size > 0 ? RANDOM : SEQUENTIAL;
8018 prim.PredicateEnable = use_predicate;
8021 prim.PrimitiveTopologyType = translate_prim_type(ice->state.prim_mode, ice->state.patch_vertices);
8025 prim.IndirectParameterEnable = true;
8029 prim.StartInstanceLocation = draw->start_instance;
8031 prim.InstanceCount = draw->instance_count;
8032 prim.VertexCountPerInstance = sc->count;
8034 prim.StartVertexLocation = sc->start;
8037 prim.BaseVertexLocation += sc->index_bias;