Home
last modified time | relevance | path

Searched refs:max_verts (Results 1 – 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_split_draw.c27 u_split_draw(const struct pipe_draw_info *info, uint32_t max_verts, in u_split_draw() argument
30 if (*count <= max_verts) { in u_split_draw()
37 *count = *step = max_verts; in u_split_draw()
40 *count = *step = max_verts - (max_verts % 2); in u_split_draw()
43 *count = max_verts; in u_split_draw()
44 *step = max_verts - 1; in u_split_draw()
47 *count = max_verts; in u_split_draw()
48 *step = max_verts - 1; in u_split_draw()
54 *count = *step = max_verts - (max_verts % 3); in u_split_draw()
57 *count = max_verts; in u_split_draw()
[all …]
Du_split_prim.h45 util_split_prim_next(struct util_split_prim *s, unsigned max_verts) in util_split_prim_next() argument
51 max_verts--; in util_split_prim_next()
58 if ((s->p_end - s->p_start) + s->close_first <= max_verts) { in util_split_prim_next()
67 max_verts &= ~1; in util_split_prim_next()
73 max_verts--; in util_split_prim_next()
74 s->emit(s->priv, s->p_start, max_verts); in util_split_prim_next()
76 s->emit(s->priv, s->p_start + max_verts, 1); in util_split_prim_next()
77 s->p_start += max_verts; in util_split_prim_next()
82 max_verts = max_verts - (max_verts % 3); in util_split_prim_next()
88 max_verts = max_verts & ~1; in util_split_prim_next()
[all …]
Du_split_draw.h45 u_split_draw(const struct pipe_draw_info *info, uint32_t max_verts,
/external/mesa3d/src/mesa/tnl/
Dt_split.c126 else if (max_index - min_index >= limits->max_verts) { in _tnl_split_prims()
148 if (max_index - min_index >= limits->max_verts) { in _tnl_split_prims()
Dtnl.h189 GLuint max_verts; member
Dt_split_copy.c508 if (copy->vertex_size * copy->limits->max_verts <= copy->limits->max_vb_size) { in replay_init()
509 copy->dstbuf_size = copy->limits->max_verts; in replay_init()
Dt_split_inplace.c293 split.limit = ib ? limits->max_indices : limits->max_verts; in _tnl_split_inplace()
Dt_draw.c475 limits.max_verts = max; in _tnl_draw_prims()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_prim_assembler.c237 unsigned max_verts = u_vertices_per_prim(assembled_prim) * max_primitives; in draw_prim_assembler_run() local
258 input_verts->vertex_size * max_verts); in draw_prim_assembler_run()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_draw.c431 static const uint32_t max_verts = 65535; in vc4_draw_vbo() local
444 if (start + count > max_verts) { in vc4_draw_vbo()
459 u_split_draw(info, max_verts, &this_count, &step); in vc4_draw_vbo()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c1100 static const uint32_t max_verts = 65535; in lima_draw_vbo_count() local
1110 u_split_draw(info, max_verts, &this_count, &step); in lima_draw_vbo_count()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_vbo_t.c274 .max_verts = vert_avail, in vbo_maybe_split()