Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_vbo.c348 unsigned npush = (count > mpush) ? mpush : count; local
349 unsigned wpush = ((npush + 255) & ~255) >> 8;
351 count -= npush;
354 while (npush >= 256) {
357 npush -= 256;
360 if (npush)
361 PUSH_DATA (push, ((npush - 1) << 24) | start);
380 unsigned npush = MIN2(count, NV04_PFIFO_MAX_PACKET_LEN); local
381 count -= npush;
383 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/igt-gpu-tools/tests/
Dprime_nv_pcopy.c39 static struct nouveau_pushbuf *npush; variable
251 true, &npush) == 0); in init_nouveau()
255 npush->user_priv = nbufctx; in init_nouveau()
259 igt_assert(nouveau_pushbuf_space(npush, 512, 0, 0) == 0); in init_nouveau()
266 BEGIN_NV04(npush, NV01_SUBC(COPY, OBJECT), 1); in init_nouveau()
267 PUSH_DATA(npush, pcopy->handle); in init_nouveau()
268 BEGIN_NV04(npush, SUBC_COPY(0x0180), 3); in init_nouveau()
269 PUSH_DATA(npush, nv04_fifo->vram); in init_nouveau()
270 PUSH_DATA(npush, nv04_fifo->vram); in init_nouveau()
271 PUSH_DATA(npush, nv04_fifo->vram); in init_nouveau()
[all …]
/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()