Lines Matching defs:push

14    struct nouveau_pushbuf *push;
42 ctx->push = nvc0->base.pushbuf;
111 prim_restart_search_i08(const uint8_t *elts, unsigned push, uint8_t index)
114 for (i = 0; i < push && elts[i] != index; ++i);
119 prim_restart_search_i16(const uint16_t *elts, unsigned push, uint16_t index)
122 for (i = 0; i < push && elts[i] != index; ++i);
127 prim_restart_search_i32(const uint32_t *elts, unsigned push, uint32_t index)
130 for (i = 0; i < push && elts[i] != index; ++i);
183 struct nouveau_pushbuf *push = nvc0->base.pushbuf;
190 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_START_HIGH(0)), 2);
191 PUSH_DATAh(push, va);
192 PUSH_DATA (push, va);
193 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(0)), 2);
194 PUSH_DATAh(push, va + size - 1);
195 PUSH_DATA (push, va + size - 1);
199 nouveau_pushbuf_validate(push);
207 struct nouveau_pushbuf *push = ctx->push;
228 PUSH_SPACE(push, 4);
230 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2);
231 PUSH_DATA (push, pos);
232 PUSH_DATA (push, nE);
236 IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_U32), pos);
238 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1);
239 PUSH_DATA (push, pos);
243 IMMED_NVC0(push, NVC0_3D(EDGEFLAG), ef_toggle(ctx));
250 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1);
251 PUSH_DATA (push, ctx->restart_index);
263 struct nouveau_pushbuf *push = ctx->push;
284 PUSH_SPACE(push, 4);
286 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2);
287 PUSH_DATA (push, pos);
288 PUSH_DATA (push, nE);
292 IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_U32), pos);
294 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1);
295 PUSH_DATA (push, pos);
299 IMMED_NVC0(push, NVC0_3D(EDGEFLAG), ef_toggle(ctx));
306 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1);
307 PUSH_DATA (push, ctx->restart_index);
319 struct nouveau_pushbuf *push = ctx->push;
340 PUSH_SPACE(push, 4);
342 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2);
343 PUSH_DATA (push, pos);
344 PUSH_DATA (push, nE);
348 IMMED_NVC0(push, NVC0_3D(VB_ELEMENT_U32), pos);
350 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1);
351 PUSH_DATA (push, pos);
355 IMMED_NVC0(push, NVC0_3D(EDGEFLAG), ef_toggle(ctx));
362 BEGIN_NVC0(push, NVC0_3D(VB_ELEMENT_U32), 1);
363 PUSH_DATA (push, ctx->restart_index);
375 struct nouveau_pushbuf *push = ctx->push;
386 PUSH_SPACE(push, 4);
388 BEGIN_NVC0(push, NVC0_3D(VERTEX_BUFFER_FIRST), 2);
389 PUSH_DATA (push, pos);
390 PUSH_DATA (push, nr);
393 IMMED_NVC0(push, NVC0_3D(EDGEFLAG), ef_toggle(ctx));
453 BEGIN_NVC0(ctx.push, NVC0_3D(PRIM_RESTART_ENABLE), 2);
454 PUSH_DATA (ctx.push, 1);
455 PUSH_DATA (ctx.push, info->restart_index);
458 IMMED_NVC0(ctx.push, NVC0_3D(PRIM_RESTART_ENABLE), 0);
477 PUSH_SPACE(ctx.push, 9);
486 IMMED_NVC0(ctx.push, NVC0_3D(VERTEX_ARRAY_FLUSH), 0);
487 BEGIN_NVC0(ctx.push, NVC0_3D(VERTEX_BEGIN_GL), 1);
488 PUSH_DATA (ctx.push, prim);
504 PUSH_SPACE(ctx.push, 1);
505 IMMED_NVC0(ctx.push, NVC0_3D(VERTEX_END_GL), 0);
519 PUSH_SPACE(ctx.push, 1);
520 IMMED_NVC0(ctx.push, NVC0_3D(EDGEFLAG), 1);
524 PUSH_SPACE(ctx.push, 4);
525 IMMED_NVC0(ctx.push, NVC0_3D(VERTEX_ID_REPLACE), 0);
526 BEGIN_NVC0(ctx.push, NVC0_3D(VERTEX_ATTRIB_FORMAT(1)), 1);
527 PUSH_DATA (ctx.push,
531 IMMED_NVC0(ctx.push, NVC0_3D(VERTEX_ARRAY_FETCH(1)), 0);
570 struct nouveau_pushbuf *push = ctx->push;
586 nouveau_pushbuf_validate(push);
624 PUSH_SPACE(push, 12);
628 IMMED_NVC0(push, NVC0_3D(VERTEX_ARRAY_PER_INSTANCE(1)), 0);
631 BEGIN_NVC0(push, NVC0_3D(VERTEX_ATTRIB_FORMAT(a)), 1);
632 PUSH_DATA (push, format);
634 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_FETCH(1)), 3);
635 PUSH_DATA (push, NVC0_3D_VERTEX_ARRAY_FETCH_ENABLE | index_size);
636 PUSH_DATAh(push, va);
637 PUSH_DATA (push, va);
638 BEGIN_NVC0(push, NVC0_3D(VERTEX_ARRAY_LIMIT_HIGH(1)), 2);
639 PUSH_DATAh(push, va + info->count * index_size - 1);
640 PUSH_DATA (push, va + info->count * index_size - 1);
645 BEGIN_NVC0(push, NVC0_3D(VERTEX_ID_REPLACE), 1);
646 PUSH_DATA (push, NVC0_3D_VERTEX_ID_REPLACE_SOURCE_ATTR_X(a) | 1);