Home
last modified time | relevance | path

Searched full:push (Results 1 – 25 of 6988) sorted by relevance

12345678910>>...280

/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_context.c43 struct nouveau_pushbuf *push = context_push(ctx); in nv20_clear() local
49 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in nv20_clear()
50 if (nouveau_pushbuf_validate(push)) { in nv20_clear()
51 nouveau_pushbuf_bufctx(push, NULL); in nv20_clear()
68 BEGIN_NV04(push, NV20_3D(CLEAR_VALUE), 1); in nv20_clear()
69 PUSH_DATA (push, pack_rgba_clamp_f(s->format, ctx->Color.ClearColor.f)); in nv20_clear()
83 BEGIN_NV04(push, NV20_3D(CLEAR_DEPTH_VALUE), 1); in nv20_clear()
84 PUSH_DATA (push, pack_zs_f(s->format, ctx->Depth.Clear, in nv20_clear()
90 BEGIN_NV04(push, NV20_3D(CLEAR_BUFFERS), 1); in nv20_clear()
91 PUSH_DATA (push, clear); in nv20_clear()
[all …]
Dnv10_context.c148 struct nouveau_pushbuf *push = context_push(ctx); in nv17_zclear() local
155 BEGIN_NV04(push, NV17_3D(HIERZ_FILL_VALUE), 1); in nv17_zclear()
156 PUSH_DATA (push, pack_zs_f(s->format, ctx->Depth.Clear, 0)); in nv17_zclear()
157 BEGIN_NV04(push, NV17_3D(HIERZ_BUFFER_CLEAR), 1); in nv17_zclear()
158 PUSH_DATA (push, 1); in nv17_zclear()
177 struct nouveau_pushbuf *push = context_push(ctx); in nv10_clear() local
181 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx); in nv10_clear()
182 if (nouveau_pushbuf_validate(push)) { in nv10_clear()
183 nouveau_pushbuf_bufctx(push, NULL); in nv10_clear()
197 nouveau_pushbuf_bufctx(push, NULL); in nv10_clear()
[all …]
Dnv10_state_raster.c40 struct nouveau_pushbuf *push = context_push(ctx); in nv10_emit_alpha_func() local
42 BEGIN_NV04(push, NV10_3D(ALPHA_FUNC_ENABLE), 1); in nv10_emit_alpha_func()
43 PUSH_DATAb(push, ctx->Color.AlphaEnabled); in nv10_emit_alpha_func()
45 BEGIN_NV04(push, NV10_3D(ALPHA_FUNC_FUNC), 2); in nv10_emit_alpha_func()
46 PUSH_DATA (push, nvgl_comparison_op(ctx->Color.AlphaFunc)); in nv10_emit_alpha_func()
47 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.AlphaRef)); in nv10_emit_alpha_func()
53 struct nouveau_pushbuf *push = context_push(ctx); in nv10_emit_blend_color() local
55 BEGIN_NV04(push, NV10_3D(BLEND_COLOR), 1); in nv10_emit_blend_color()
56 PUSH_DATA (push, FLOAT_TO_UBYTE(ctx->Color.BlendColor[3]) << 24 | in nv10_emit_blend_color()
65 struct nouveau_pushbuf *push = context_push(ctx); in nv10_emit_blend_equation() local
[all …]
Dnv04_surface.c199 struct nouveau_pushbuf *push = context_push(ctx); in nv04_surface_copy_swizzle() local
215 BEGIN_NV04(push, NV01_SUBC(SURF, OBJECT), 1); in nv04_surface_copy_swizzle()
216 PUSH_DATA (push, swzsurf->handle); in nv04_surface_copy_swizzle()
225 if (nouveau_pushbuf_space(push, 64, 4, 0) || in nv04_surface_copy_swizzle()
226 nouveau_pushbuf_refn (push, refs, 2)) in nv04_surface_copy_swizzle()
229 BEGIN_NV04(push, NV04_SSWZ(DMA_IMAGE), 1); in nv04_surface_copy_swizzle()
230 PUSH_DATA (push, fifo->vram); in nv04_surface_copy_swizzle()
231 BEGIN_NV04(push, NV04_SSWZ(FORMAT), 2); in nv04_surface_copy_swizzle()
232 PUSH_DATA (push, swzsurf_format(dst->format) | in nv04_surface_copy_swizzle()
235 PUSH_RELOC(push, dst->bo, dst->offset, NOUVEAU_BO_LOW, 0, 0); in nv04_surface_copy_swizzle()
[all …]
/third_party/glslang/SPIRV/
Ddoc.cpp1527 …ExecutionModeOperands[ExecutionModeInvocations].push(OperandLiteralNumber, "'Number of <<Invocatio… in Parameterize()
1529 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'x size'"); in Parameterize()
1530 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'y size'"); in Parameterize()
1531 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'z size'"); in Parameterize()
1533 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'x size'"); in Parameterize()
1534 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'y size'"); in Parameterize()
1535 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'z size'"); in Parameterize()
1537 ExecutionModeOperands[ExecutionModeOutputVertices].push(OperandLiteralNumber, "'Vertex count'"); in Parameterize()
1538 ExecutionModeOperands[ExecutionModeVecTypeHint].push(OperandLiteralNumber, "'Vector type'"); in Parameterize()
1540 DecorationOperands[DecorationStream].push(OperandLiteralNumber, "'Stream Number'"); in Parameterize()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_compute.c31 struct nouveau_pushbuf *push) in nvc0_screen_compute_setup() argument
58 BEGIN_NVC0(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nvc0_screen_compute_setup()
59 PUSH_DATA (push, screen->compute->oclass); in nvc0_screen_compute_setup()
62 BEGIN_NVC0(push, NVC0_CP(MP_LIMIT), 1); in nvc0_screen_compute_setup()
63 PUSH_DATA (push, screen->mp_count); in nvc0_screen_compute_setup()
64 BEGIN_NVC0(push, NVC0_CP(CALL_LIMIT_LOG), 1); in nvc0_screen_compute_setup()
65 PUSH_DATA (push, 0xf); in nvc0_screen_compute_setup()
67 BEGIN_NVC0(push, SUBC_CP(0x02a0), 1); in nvc0_screen_compute_setup()
68 PUSH_DATA (push, 0x8000); in nvc0_screen_compute_setup()
71 BEGIN_NVC0(push, SUBC_CP(0x02c4), 1); in nvc0_screen_compute_setup()
[all …]
Dnve4_compute.c45 struct nouveau_pushbuf *push) in nve4_screen_compute_setup() argument
90 BEGIN_NVC0(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nve4_screen_compute_setup()
91 PUSH_DATA (push, screen->compute->oclass); in nve4_screen_compute_setup()
93 BEGIN_NVC0(push, NVE4_CP(TEMP_ADDRESS_HIGH), 2); in nve4_screen_compute_setup()
94 PUSH_DATAh(push, screen->tls->offset); in nve4_screen_compute_setup()
95 PUSH_DATA (push, screen->tls->offset); in nve4_screen_compute_setup()
100 BEGIN_NVC0(push, NVE4_CP(MP_TEMP_SIZE_HIGH(0)), 3); in nve4_screen_compute_setup()
101 PUSH_DATAh(push, screen->tls->size / screen->mp_count); in nve4_screen_compute_setup()
102 PUSH_DATA (push, (screen->tls->size / screen->mp_count) & ~0x7fff); in nve4_screen_compute_setup()
103 PUSH_DATA (push, 0xff); in nve4_screen_compute_setup()
[all …]
Dnvc0_screen.c744 struct nouveau_pushbuf *push = screen->base.pushbuf; in nvc0_graph_set_macro() local
750 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in nvc0_graph_set_macro()
751 PUSH_DATA (push, (m - 0x3800) / 8); in nvc0_graph_set_macro()
752 PUSH_DATA (push, pos); in nvc0_graph_set_macro()
753 BEGIN_1IC0(push, SUBC_3D(NVC0_GRAPH_MACRO_UPLOAD_POS), size + 1); in nvc0_graph_set_macro()
754 PUSH_DATA (push, pos); in nvc0_graph_set_macro()
755 PUSH_DATAp(push, data, size); in nvc0_graph_set_macro()
764 struct nouveau_pushbuf *push = screen->base.pushbuf; in tu102_graph_set_macro() local
770 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in tu102_graph_set_macro()
771 PUSH_DATA (push, (m - 0x3800) / 8); in tu102_graph_set_macro()
[all …]
Dnvc0_vbo.c174 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_set_constant_vertex_attrib() local
185 PUSH_SPACE(push, 6); in nvc0_set_constant_vertex_attrib()
186 BEGIN_NVC0(push, NVC0_3D(VTX_ATTR_DEFINE), 5); in nvc0_set_constant_vertex_attrib()
187 dst = &push->cur[1]; in nvc0_set_constant_vertex_attrib()
198 push->cur[0] = mode; in nvc0_set_constant_vertex_attrib()
199 push->cur += 5; in nvc0_set_constant_vertex_attrib()
233 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_update_user_vbufs() local
237 PUSH_SPACE(push, nvc0->vertex->num_elements * 8); in nvc0_update_user_vbufs()
264 BEGIN_1IC0(push, NVC0_3D(MACRO_VERTEX_ARRAY_SELECT), 5); in nvc0_update_user_vbufs()
265 PUSH_DATA (push, i); in nvc0_update_user_vbufs()
[all …]
Dnvc0_state_validate.c12 struct nouveau_pushbuf *push = nvc0->base.pushbuf;
32 BEGIN_NVC0(push, NVC0_3D(ZCULL_REGION), 1);
33 PUSH_DATA (push, 0);
34 BEGIN_NVC0(push, NVC0_3D(ZCULL_ADDRESS_HIGH), 2);
35 PUSH_DATAh(push, bo->offset + offset);
36 PUSH_DATA (push, bo->offset + offset);
38 BEGIN_NVC0(push, NVC0_3D(ZCULL_LIMIT_HIGH), 2);
39 PUSH_DATAh(push, bo->offset + offset);
40 PUSH_DATA (push, bo->offset + offset);
41 BEGIN_NVC0(push, SUBC_3D(0x07e0), 2);
[all …]
Dnvc0_transfer.c20 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_m2mf_transfer_rect() local
34 nouveau_pushbuf_bufctx(push, bctx); in nvc0_m2mf_transfer_rect()
35 nouveau_pushbuf_validate(push); in nvc0_m2mf_transfer_rect()
38 BEGIN_NVC0(push, NVC0_M2MF(TILING_MODE_IN), 5); in nvc0_m2mf_transfer_rect()
39 PUSH_DATA (push, src->tile_mode); in nvc0_m2mf_transfer_rect()
40 PUSH_DATA (push, src->width * cpp); in nvc0_m2mf_transfer_rect()
41 PUSH_DATA (push, src->height); in nvc0_m2mf_transfer_rect()
42 PUSH_DATA (push, src->depth); in nvc0_m2mf_transfer_rect()
43 PUSH_DATA (push, src->z); in nvc0_m2mf_transfer_rect()
47 BEGIN_NVC0(push, NVC0_M2MF(PITCH_IN), 1); in nvc0_m2mf_transfer_rect()
[all …]
Dnvc0_surface.c86 nvc0_2d_texture_set(struct nouveau_pushbuf *push, bool dst, in nvc0_2d_texture_set() argument
120 BEGIN_NVC0(push, SUBC_2D(mthd), 2); in nvc0_2d_texture_set()
121 PUSH_DATA (push, format); in nvc0_2d_texture_set()
122 PUSH_DATA (push, 1); in nvc0_2d_texture_set()
123 BEGIN_NVC0(push, SUBC_2D(mthd + 0x14), 5); in nvc0_2d_texture_set()
124 PUSH_DATA (push, mt->level[level].pitch); in nvc0_2d_texture_set()
125 PUSH_DATA (push, width); in nvc0_2d_texture_set()
126 PUSH_DATA (push, height); in nvc0_2d_texture_set()
127 PUSH_DATAh(push, bo->offset + offset); in nvc0_2d_texture_set()
128 PUSH_DATA (push, bo->offset + offset); in nvc0_2d_texture_set()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_transfer.c90 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_transfer_rect_vertprog() local
92 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_FROM_ID), 1); in nv30_transfer_rect_vertprog()
93 PUSH_DATA (push, vp->start); in nv30_transfer_rect_vertprog()
94 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog()
95 PUSH_DATA (push, 0x401f9c6c); /* mov o[hpos], a[0]; */ in nv30_transfer_rect_vertprog()
96 PUSH_DATA (push, 0x0040000d); in nv30_transfer_rect_vertprog()
97 PUSH_DATA (push, 0x8106c083); in nv30_transfer_rect_vertprog()
98 PUSH_DATA (push, 0x6041ff80); in nv30_transfer_rect_vertprog()
99 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog()
100 PUSH_DATA (push, 0x401f9c6c); /* mov o[tex0], a[8]; end; */ in nv30_transfer_rect_vertprog()
[all …]
Dnv30_state_validate.c40 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_validate_fb() local
100 if (!PUSH_SPACE(push, 64)) in nv30_validate_fb()
102 PUSH_RESET(push, BUFCTX_FB); in nv30_validate_fb()
104 BEGIN_NV04(push, SUBC_3D(0x1da4), 1); in nv30_validate_fb()
105 PUSH_DATA (push, 0); in nv30_validate_fb()
106 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_validate_fb()
107 PUSH_DATA (push, w << 16); in nv30_validate_fb()
108 PUSH_DATA (push, h << 16); in nv30_validate_fb()
109 PUSH_DATA (push, rt_format); in nv30_validate_fb()
110 BEGIN_NV04(push, NV30_3D(VIEWPORT_TX_ORIGIN), 4); in nv30_validate_fb()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_compute.c35 struct nouveau_pushbuf *push) in nv50_screen_compute_setup() argument
71 BEGIN_NV04(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_compute_setup()
72 PUSH_DATA (push, screen->compute->handle); in nv50_screen_compute_setup()
74 BEGIN_NV04(push, NV50_CP(UNK02A0), 1); in nv50_screen_compute_setup()
75 PUSH_DATA (push, 1); in nv50_screen_compute_setup()
76 BEGIN_NV04(push, NV50_CP(DMA_STACK), 1); in nv50_screen_compute_setup()
77 PUSH_DATA (push, fifo->vram); in nv50_screen_compute_setup()
78 BEGIN_NV04(push, NV50_CP(STACK_ADDRESS_HIGH), 2); in nv50_screen_compute_setup()
79 PUSH_DATAh(push, screen->stack_bo->offset); in nv50_screen_compute_setup()
80 PUSH_DATA (push, screen->stack_bo->offset); in nv50_screen_compute_setup()
[all …]
Dnv50_transfer.c63 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_2d_transfer_rect() local
69 nouveau_pushbuf_bufctx(push, bctx); in nv50_2d_transfer_rect()
70 nouveau_pushbuf_validate(push); in nv50_2d_transfer_rect()
95 BEGIN_NV04(push, NV50_2D(SRC_FORMAT), 5); in nv50_2d_transfer_rect()
96 PUSH_DATA (push, format); in nv50_2d_transfer_rect()
97 PUSH_DATA (push, 0); in nv50_2d_transfer_rect()
98 PUSH_DATA (push, src->tile_mode); in nv50_2d_transfer_rect()
99 PUSH_DATA (push, src->depth); in nv50_2d_transfer_rect()
100 PUSH_DATA (push, src->z); in nv50_2d_transfer_rect()
101 BEGIN_NV04(push, NV50_2D(SRC_WIDTH), 4); in nv50_2d_transfer_rect()
[all …]
Dnv50_state_validate.c7 nv50_fb_set_null_rt(struct nouveau_pushbuf *push, unsigned i) in nv50_fb_set_null_rt() argument
9 BEGIN_NV04(push, NV50_3D(RT_ADDRESS_HIGH(i)), 4); in nv50_fb_set_null_rt()
10 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
11 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
12 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
13 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
14 BEGIN_NV04(push, NV50_3D(RT_HORIZ(i)), 2); in nv50_fb_set_null_rt()
15 PUSH_DATA (push, 64); in nv50_fb_set_null_rt()
16 PUSH_DATA (push, 0); in nv50_fb_set_null_rt()
22 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_validate_fb() local
[all …]
Dnv50_surface.c82 nv50_2d_texture_set(struct nouveau_pushbuf *push, int dst, in nv50_2d_texture_set() argument
115 BEGIN_NV04(push, SUBC_2D(mthd), 2); in nv50_2d_texture_set()
116 PUSH_DATA (push, format); in nv50_2d_texture_set()
117 PUSH_DATA (push, 1); in nv50_2d_texture_set()
118 BEGIN_NV04(push, SUBC_2D(mthd + 0x14), 5); in nv50_2d_texture_set()
119 PUSH_DATA (push, mt->level[level].pitch); in nv50_2d_texture_set()
120 PUSH_DATA (push, width); in nv50_2d_texture_set()
121 PUSH_DATA (push, height); in nv50_2d_texture_set()
122 PUSH_DATAh(push, mt->base.address + offset); in nv50_2d_texture_set()
123 PUSH_DATA (push, mt->base.address + offset); in nv50_2d_texture_set()
[all …]
Dnv50_screen.c639 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv50_screen_fence_emit() local
644 assert(PUSH_AVAIL(push) + push->rsvd_kick >= 5); in nv50_screen_fence_emit()
645 PUSH_DATA (push, NV50_FIFO_PKHDR(NV50_3D(QUERY_ADDRESS_HIGH), 4)); in nv50_screen_fence_emit()
646 PUSH_DATAh(push, screen->fence.bo->offset); in nv50_screen_fence_emit()
647 PUSH_DATA (push, screen->fence.bo->offset); in nv50_screen_fence_emit()
648 PUSH_DATA (push, *sequence); in nv50_screen_fence_emit()
649 PUSH_DATA (push, NV50_3D_QUERY_GET_MODE_WRITE_UNK0 | in nv50_screen_fence_emit()
666 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv50_screen_init_hwctx() local
672 BEGIN_NV04(push, SUBC_M2MF(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx()
673 PUSH_DATA (push, screen->m2mf->handle); in nv50_screen_init_hwctx()
[all …]
/third_party/typescript/tests/baselines/reference/
DcontrolFlowArrays.symbols30 x.push(5);
31 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
33 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
35 x.push("hello");
36 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
38 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
40 x.push(true);
41 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
43 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
58 x.push(5, "hello");
[all …]
DcontrolFlowArrays.types44 x.push(5);
45 >x.push(5) : number
46 >x.push : (...items: any[]) => number
48 >push : (...items: any[]) => number
51 x.push("hello");
52 >x.push("hello") : number
53 >x.push : (...items: any[]) => number
55 >push : (...items: any[]) => number
58 x.push(true);
59 >x.push(true) : number
[all …]
DcontrolFlowArrays.js14 x.push(5);
15 x.push("hello");
16 x.push(true);
23 x.push(5, "hello");
30 x.push(5);
33 x.push("hello");
42 x.push(5);
46 x.push("hello");
58 x.push("hello");
68 x.push("hello");
[all …]
DcontrolFlowArrayErrors.symbols15 x.push(5);
16 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
18 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
38 x.push(5);
39 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
41 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
54 x.push(5);
55 >x.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
57 >push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
76 x.push(true); // Error
[all …]
/third_party/node/deps/npm/node_modules/sorted-union-stream/
Dtest.js10 a.push(4)
11 a.push(6)
12 a.push(10)
13 a.push(14)
14 a.push(15)
15 a.push(20)
16 a.push(22)
17 a.push(null)
19 b.push(6)
20 b.push(11)
[all …]
/third_party/parse5/packages/parse5/test/
Dopen-element-stack.test.js13 _test['Push element'] = function() {
22 stack.push(element1);
27 stack.push(element2);
37 stack.push(element);
38 stack.push('#element2');
55 stack.push('#element2');
56 stack.push(element);
69 stack.push(element1);
70 stack.push(element2);
86 stack.push(element2);
[all …]

12345678910>>...280