Home
last modified time | relevance | path

Searched refs:npush (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_vbo.c341 unsigned npush = (count > mpush) ? mpush : count; in nv30_draw_arrays() local
342 unsigned wpush = ((npush + 255) & ~255) >> 8; in nv30_draw_arrays()
344 count -= npush; in nv30_draw_arrays()
347 while (npush >= 256) { in nv30_draw_arrays()
350 npush -= 256; in nv30_draw_arrays()
353 if (npush) in nv30_draw_arrays()
354 PUSH_DATA (push, ((npush - 1) << 24) | start); in nv30_draw_arrays()
373 unsigned npush = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN); in nv30_draw_elements_inline_u08() local
374 count -= npush; in nv30_draw_elements_inline_u08()
376 BEGIN_NI04(push, NV30_3D(VB_ELEMENT_U16), npush); in nv30_draw_elements_inline_u08()
[all …]
Dnv30_draw.c145 unsigned npush = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN); in nv30_render_draw_elements() local
146 count -= npush; in nv30_render_draw_elements()
148 BEGIN_NI04(push, NV30_3D(VB_ELEMENT_U16), npush); in nv30_render_draw_elements()
149 while (npush--) { in nv30_render_draw_elements()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_swtnl_t.c203 unsigned npush, start = 0, count = swtnl->vertex_count; in swtnl_flush_vertices() local
209 npush = get_max_vertices(ctx, NULL, PUSH_AVAIL(push)); in swtnl_flush_vertices()
210 npush = MIN2(npush / 12 * 12, count); in swtnl_flush_vertices()
211 count -= npush; in swtnl_flush_vertices()
213 if (!npush) { in swtnl_flush_vertices()
219 EMIT_VBO(L, ctx, start, 0, npush); in swtnl_flush_vertices()
Dnouveau_render_t.c59 int npush = n; \
61 while (npush) { \
62 int npack = MIN2(npush, MAX_PACKET * MAX_OUT_##out); \
63 npush -= npack; \