Searched refs:npush (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_vbo.c | 350 unsigned npush = (count > mpush) ? mpush : count; local 351 unsigned wpush = ((npush + 255) & ~255) >> 8; 353 count -= npush; 356 while (npush >= 256) { 359 npush -= 256; 362 if (npush) 363 PUSH_DATA (push, ((npush - 1) << 24) | start); 382 unsigned npush = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN); local 383 count -= npush; 385 BEGIN_NI04(push, NV30_3D(VB_ELEMENT_U16), npush); [all …]
|
D | nv30_draw.c | 150 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/ |
D | nouveau_swtnl_t.c | 203 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()
|