Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c349 unsigned npush = (count > mpush) ? mpush : count; local
350 unsigned wpush = ((npush + 255) & ~255) >> 8;
352 count -= npush;
355 while (npush >= 256) {
358 npush -= 256;
361 if (npush)
362 PUSH_DATA (push, ((npush - 1) << 24) | start);
381 unsigned npush = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN); local
382 count -= npush;
384 BEGIN_NI04(push, NV30_3D(VB_ELEMENT_U16), npush);
[all …]
Dnv30_draw.c150 unsigned npush = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN); in nv30_render_draw_elements() local
151 count -= npush; in nv30_render_draw_elements()
153 BEGIN_NI04(push, NV30_3D(VB_ELEMENT_U16), npush); in nv30_render_draw_elements()
154 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()