Home
last modified time | relevance | path

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

12345678910>>...226

/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.c757 struct nouveau_pushbuf *push = screen->base.pushbuf; in nvc0_graph_set_macro() local
763 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in nvc0_graph_set_macro()
764 PUSH_DATA (push, (m - 0x3800) / 8); in nvc0_graph_set_macro()
765 PUSH_DATA (push, pos); in nvc0_graph_set_macro()
766 BEGIN_1IC0(push, SUBC_3D(NVC0_GRAPH_MACRO_UPLOAD_POS), size + 1); in nvc0_graph_set_macro()
767 PUSH_DATA (push, pos); in nvc0_graph_set_macro()
768 PUSH_DATAp(push, data, size); in nvc0_graph_set_macro()
777 struct nouveau_pushbuf *push = screen->base.pushbuf; in tu102_graph_set_macro() local
783 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in tu102_graph_set_macro()
784 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 …]
Dnvc0_shader_state.c72 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_program_sp_start_id() local
75 BEGIN_NVC0(push, NVC0_3D(SP_START_ID(stage)), 1); in nvc0_program_sp_start_id()
76 PUSH_DATA (push, prog->code_base); in nvc0_program_sp_start_id()
78 BEGIN_NVC0(push, SUBC_3D(GV100_3D_SP_ADDRESS_HIGH(stage)), 2); in nvc0_program_sp_start_id()
79 PUSH_DATAh(push, nvc0->screen->text->offset + prog->code_base); in nvc0_program_sp_start_id()
80 PUSH_DATA (push, nvc0->screen->text->offset + prog->code_base); in nvc0_program_sp_start_id()
87 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_vertprog_validate() local
94 BEGIN_NVC0(push, NVC0_3D(SP_SELECT(1)), 1); in nvc0_vertprog_validate()
95 PUSH_DATA (push, 0x11); in nvc0_vertprog_validate()
97 BEGIN_NVC0(push, NVC0_3D(SP_GPR_ALLOC(1)), 1); in nvc0_vertprog_validate()
[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 …]
Dnv30_clear.c57 struct nouveau_pushbuf *push = nv30->base.pushbuf; in nv30_clear() local
70 BEGIN_NV04(push, NV30_3D(SCISSOR_HORIZ), 2); in nv30_clear()
71 PUSH_DATA (push, minx | (maxx - minx) << 16); in nv30_clear()
72 PUSH_DATA (push, miny | (maxy - miny) << 16); in nv30_clear()
75 BEGIN_NV04(push, NV30_3D(SCISSOR_HORIZ), 2); in nv30_clear()
76 PUSH_DATA (push, 0x10000000); in nv30_clear()
77 PUSH_DATA (push, 0x10000000); in nv30_clear()
94 BEGIN_NV04(push, NV30_3D(STENCIL_ENABLE(0)), 2); in nv30_clear()
95 PUSH_DATA (push, 0); in nv30_clear()
96 PUSH_DATA (push, 0x000000ff); in nv30_clear()
[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.c666 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv50_screen_fence_emit() local
671 assert(PUSH_AVAIL(push) + push->rsvd_kick >= 5); in nv50_screen_fence_emit()
672 PUSH_DATA (push, NV50_FIFO_PKHDR(NV50_3D(QUERY_ADDRESS_HIGH), 4)); in nv50_screen_fence_emit()
673 PUSH_DATAh(push, screen->fence.bo->offset); in nv50_screen_fence_emit()
674 PUSH_DATA (push, screen->fence.bo->offset); in nv50_screen_fence_emit()
675 PUSH_DATA (push, *sequence); in nv50_screen_fence_emit()
676 PUSH_DATA (push, NV50_3D_QUERY_GET_MODE_WRITE_UNK0 | in nv50_screen_fence_emit()
693 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv50_screen_init_hwctx() local
699 BEGIN_NV04(push, SUBC_M2MF(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx()
700 PUSH_DATA (push, screen->m2mf->handle); in nv50_screen_init_hwctx()
[all …]
Dnv50_vbo.c145 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_emit_vtxattr() local
156 BEGIN_NV04(push, NV50_3D(VTX_ATTR_4F_X(attr)), 4); in nv50_emit_vtxattr()
157 PUSH_DATAf(push, v[0]); in nv50_emit_vtxattr()
158 PUSH_DATAf(push, v[1]); in nv50_emit_vtxattr()
159 PUSH_DATAf(push, v[2]); in nv50_emit_vtxattr()
160 PUSH_DATAf(push, v[3]); in nv50_emit_vtxattr()
163 BEGIN_NV04(push, NV50_3D(VTX_ATTR_3F_X(attr)), 3); in nv50_emit_vtxattr()
164 PUSH_DATAf(push, v[0]); in nv50_emit_vtxattr()
165 PUSH_DATAf(push, v[1]); in nv50_emit_vtxattr()
166 PUSH_DATAf(push, v[2]); in nv50_emit_vtxattr()
[all …]
Dnv50_push.c14 struct nouveau_pushbuf *push; member
38 prim_restart_search_i08(uint8_t *elts, unsigned push, uint8_t index) in prim_restart_search_i08() argument
41 for (i = 0; i < push; ++i) in prim_restart_search_i08()
48 prim_restart_search_i16(uint16_t *elts, unsigned push, uint16_t index) in prim_restart_search_i16() argument
51 for (i = 0; i < push; ++i) in prim_restart_search_i16()
58 prim_restart_search_i32(uint32_t *elts, unsigned push, uint32_t index) in prim_restart_search_i32() argument
61 for (i = 0; i < push; ++i) in prim_restart_search_i32()
73 unsigned push = MIN2(count, ctx->packet_vertex_limit); in emit_vertices_i08() local
76 nr = push; in emit_vertices_i08()
78 nr = prim_restart_search_i08(elts, push, ctx->restart_index); in emit_vertices_i08()
[all …]
Dnv50_shader_state.c37 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_constbufs_validate() local
67 BEGIN_NV04(push, NV50_3D(SET_PROGRAM_CB), 1); in nv50_constbufs_validate()
68 PUSH_DATA (push, (b << 12) | (i << 8) | p | 1); in nv50_constbufs_validate()
73 PUSH_SPACE(push, nr + 3); in nv50_constbufs_validate()
74 BEGIN_NV04(push, NV50_3D(CB_ADDR), 1); in nv50_constbufs_validate()
75 PUSH_DATA (push, (start << 8) | b); in nv50_constbufs_validate()
76 BEGIN_NI04(push, NV50_3D(CB_DATA(0)), nr); in nv50_constbufs_validate()
77 PUSH_DATAp(push, &nv50->constbuf[s][0].u.data[start * 4], nr); in nv50_constbufs_validate()
91 BEGIN_NV04(push, NV50_3D(CB_DEF_ADDRESS_HIGH), 3); in nv50_constbufs_validate()
92 PUSH_DATAh(push, res->address + nv50->constbuf[s][i].offset); in nv50_constbufs_validate()
[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/parse5/packages/parse5/lib/parser/
Dopen-element-stack.test.ts21 test('Push element', () => {
30 stack.push(element1, $.UNKNOWN);
34 stack.push(element2, $.UNKNOWN);
43 stack.push(element, $.UNKNOWN);
44 stack.push(createElement('#element2', NS.XML), $.UNKNOWN);
60 stack.push(createElement('#element2', NS.XML), $.UNKNOWN);
61 stack.push(element, $.UNKNOWN);
73 stack.push(element1, $.UNKNOWN);
74 stack.push(element2, $.UNKNOWN);
89 stack.push(element2, $.MAIN);
[all …]

12345678910>>...226