Lines Matching defs:count
112 * Return the vertex count information for a primitive.
142 * Given a vertex count, return the number of primitives.
162 const struct u_prim_vertex_count *count = u_prim_vertex_count(pipe_prim);
164 return (count && nr >= count->min);
171 const struct u_prim_vertex_count *count = u_prim_vertex_count(pipe_prim);
173 if (count && *nr >= count->min) {
174 if (count->incr > 1)
175 *nr -= (*nr % count->incr);
223 * vertex count.
274 * count. Each quad is treated as two triangles. Polygons are treated as
334 u_vertices_for_prims(enum pipe_prim_type prim_type, int count)
336 if (count <= 0)
348 return info->min + (count - 1) * info->incr;