Home
last modified time | relevance | path

Searched refs:push (Results 1 – 25 of 4677) sorted by relevance

12345678910>>...188

/external/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 …]
Dnv10_state_polygon.c37 struct nouveau_pushbuf *push = context_push(ctx); in nv10_emit_cull_face() local
40 BEGIN_NV04(push, NV10_3D(CULL_FACE_ENABLE), 1); in nv10_emit_cull_face()
41 PUSH_DATAb(push, ctx->Polygon.CullFlag); in nv10_emit_cull_face()
43 BEGIN_NV04(push, NV10_3D(CULL_FACE), 1); in nv10_emit_cull_face()
44 PUSH_DATA (push, (mode == GL_FRONT ? NV10_3D_CULL_FACE_FRONT : in nv10_emit_cull_face()
52 struct nouveau_pushbuf *push = context_push(ctx); in nv10_emit_front_face() local
54 BEGIN_NV04(push, NV10_3D(FRONT_FACE), 1); in nv10_emit_front_face()
55 PUSH_DATA (push, ctx->Polygon.FrontFace == GL_CW ? in nv10_emit_front_face()
62 struct nouveau_pushbuf *push = context_push(ctx); in nv10_emit_line_mode() local
66 BEGIN_NV04(push, NV10_3D(LINE_WIDTH), 1); in nv10_emit_line_mode()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/SPIRV/
Ddoc.cpp1662 …ExecutionModeOperands[ExecutionModeInvocations].push(OperandLiteralNumber, "'Number of <<Invocatio… in Parameterize()
1664 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'x size'"); in Parameterize()
1665 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'y size'"); in Parameterize()
1666 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'z size'"); in Parameterize()
1668 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'x size'"); in Parameterize()
1669 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'y size'"); in Parameterize()
1670 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'z size'"); in Parameterize()
1672 … ExecutionModeOperands[ExecutionModeOutputVertices].push(OperandLiteralNumber, "'Vertex count'"); in Parameterize()
1673 ExecutionModeOperands[ExecutionModeVecTypeHint].push(OperandLiteralNumber, "'Vector type'"); in Parameterize()
1675 DecorationOperands[DecorationStream].push(OperandLiteralNumber, "'Stream Number'"); in Parameterize()
[all …]
/external/deqp-deps/glslang/SPIRV/
Ddoc.cpp1638 …ExecutionModeOperands[ExecutionModeInvocations].push(OperandLiteralNumber, "'Number of <<Invocatio… in Parameterize()
1640 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'x size'"); in Parameterize()
1641 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'y size'"); in Parameterize()
1642 ExecutionModeOperands[ExecutionModeLocalSize].push(OperandLiteralNumber, "'z size'"); in Parameterize()
1644 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'x size'"); in Parameterize()
1645 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'y size'"); in Parameterize()
1646 ExecutionModeOperands[ExecutionModeLocalSizeHint].push(OperandLiteralNumber, "'z size'"); in Parameterize()
1648 … ExecutionModeOperands[ExecutionModeOutputVertices].push(OperandLiteralNumber, "'Vertex count'"); in Parameterize()
1649 ExecutionModeOperands[ExecutionModeVecTypeHint].push(OperandLiteralNumber, "'Vector type'"); in Parameterize()
1651 DecorationOperands[DecorationStream].push(OperandLiteralNumber, "'Stream Number'"); in Parameterize()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_compute.c34 struct nouveau_pushbuf *push) in nv50_screen_compute_setup() argument
70 BEGIN_NV04(push, SUBC_CP(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_compute_setup()
71 PUSH_DATA (push, screen->compute->handle); in nv50_screen_compute_setup()
73 BEGIN_NV04(push, NV50_CP(UNK02A0), 1); in nv50_screen_compute_setup()
74 PUSH_DATA (push, 1); in nv50_screen_compute_setup()
75 BEGIN_NV04(push, NV50_CP(DMA_STACK), 1); in nv50_screen_compute_setup()
76 PUSH_DATA (push, fifo->vram); in nv50_screen_compute_setup()
77 BEGIN_NV04(push, NV50_CP(STACK_ADDRESS_HIGH), 2); in nv50_screen_compute_setup()
78 PUSH_DATAh(push, screen->stack_bo->offset); in nv50_screen_compute_setup()
79 PUSH_DATA (push, screen->stack_bo->offset); in nv50_screen_compute_setup()
[all …]
Dnv50_screen.c607 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv50_screen_fence_emit() local
612 assert(PUSH_AVAIL(push) + push->rsvd_kick >= 5); in nv50_screen_fence_emit()
613 PUSH_DATA (push, NV50_FIFO_PKHDR(NV50_3D(QUERY_ADDRESS_HIGH), 4)); in nv50_screen_fence_emit()
614 PUSH_DATAh(push, screen->fence.bo->offset); in nv50_screen_fence_emit()
615 PUSH_DATA (push, screen->fence.bo->offset); in nv50_screen_fence_emit()
616 PUSH_DATA (push, *sequence); in nv50_screen_fence_emit()
617 PUSH_DATA (push, NV50_3D_QUERY_GET_MODE_WRITE_UNK0 | in nv50_screen_fence_emit()
634 struct nouveau_pushbuf *push = screen->base.pushbuf; in nv50_screen_init_hwctx() local
640 BEGIN_NV04(push, SUBC_M2MF(NV01_SUBCHAN_OBJECT), 1); in nv50_screen_init_hwctx()
641 PUSH_DATA (push, screen->m2mf->handle); in nv50_screen_init_hwctx()
[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_vbo.c143 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_emit_vtxattr() local
154 BEGIN_NV04(push, NV50_3D(VTX_ATTR_4F_X(attr)), 4); in nv50_emit_vtxattr()
155 PUSH_DATAf(push, v[0]); in nv50_emit_vtxattr()
156 PUSH_DATAf(push, v[1]); in nv50_emit_vtxattr()
157 PUSH_DATAf(push, v[2]); in nv50_emit_vtxattr()
158 PUSH_DATAf(push, v[3]); in nv50_emit_vtxattr()
161 BEGIN_NV04(push, NV50_3D(VTX_ATTR_3F_X(attr)), 3); in nv50_emit_vtxattr()
162 PUSH_DATAf(push, v[0]); in nv50_emit_vtxattr()
163 PUSH_DATAf(push, v[1]); in nv50_emit_vtxattr()
164 PUSH_DATAf(push, v[2]); in nv50_emit_vtxattr()
[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 …]
Dnv50_transfer.c60 struct nouveau_pushbuf *push = nv50->base.pushbuf; in nv50_m2mf_transfer_rect() local
73 nouveau_pushbuf_bufctx(push, bctx); in nv50_m2mf_transfer_rect()
74 nouveau_pushbuf_validate(push); in nv50_m2mf_transfer_rect()
77 BEGIN_NV04(push, NV50_M2MF(LINEAR_IN), 6); in nv50_m2mf_transfer_rect()
78 PUSH_DATA (push, 0); in nv50_m2mf_transfer_rect()
79 PUSH_DATA (push, src->tile_mode); in nv50_m2mf_transfer_rect()
80 PUSH_DATA (push, src->width * cpp); in nv50_m2mf_transfer_rect()
81 PUSH_DATA (push, src->height); in nv50_m2mf_transfer_rect()
82 PUSH_DATA (push, src->depth); in nv50_m2mf_transfer_rect()
83 PUSH_DATA (push, src->z); in nv50_m2mf_transfer_rect()
[all …]
/external/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 …]
Dnvc0_screen.c726 struct nouveau_pushbuf *push = screen->base.pushbuf; in nvc0_graph_set_macro() local
732 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in nvc0_graph_set_macro()
733 PUSH_DATA (push, (m - 0x3800) / 8); in nvc0_graph_set_macro()
734 PUSH_DATA (push, pos); in nvc0_graph_set_macro()
735 BEGIN_1IC0(push, SUBC_3D(NVC0_GRAPH_MACRO_UPLOAD_POS), size + 1); in nvc0_graph_set_macro()
736 PUSH_DATA (push, pos); in nvc0_graph_set_macro()
737 PUSH_DATAp(push, data, size); in nvc0_graph_set_macro()
746 struct nouveau_pushbuf *push = screen->base.pushbuf; in tu102_graph_set_macro() local
752 BEGIN_NVC0(push, SUBC_3D(NVC0_GRAPH_MACRO_ID), 2); in tu102_graph_set_macro()
753 PUSH_DATA (push, (m - 0x3800) / 8); in tu102_graph_set_macro()
[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_vbo.c173 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_set_constant_vertex_attrib() local
184 PUSH_SPACE(push, 6); in nvc0_set_constant_vertex_attrib()
185 BEGIN_NVC0(push, NVC0_3D(VTX_ATTR_DEFINE), 5); in nvc0_set_constant_vertex_attrib()
186 dst = &push->cur[1]; in nvc0_set_constant_vertex_attrib()
197 push->cur[0] = mode; in nvc0_set_constant_vertex_attrib()
198 push->cur += 5; in nvc0_set_constant_vertex_attrib()
232 struct nouveau_pushbuf *push = nvc0->base.pushbuf; in nvc0_update_user_vbufs() local
236 PUSH_SPACE(push, nvc0->vertex->num_elements * 8); in nvc0_update_user_vbufs()
263 BEGIN_1IC0(push, NVC0_3D(MACRO_VERTEX_ARRAY_SELECT), 5); in nvc0_update_user_vbufs()
264 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_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 …]
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_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 …]
/external/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
78 BEGIN_NV04(push, NV30_3D(STENCIL_ENABLE(0)), 2); in nv30_clear()
79 PUSH_DATA (push, 0); in nv30_clear()
80 PUSH_DATA (push, 0x000000ff); in nv30_clear()
87 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear()
88 PUSH_DATA (push, zeta); in nv30_clear()
89 PUSH_DATA (push, colr); in nv30_clear()
90 PUSH_DATA (push, mode); in nv30_clear()
93 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear()
94 PUSH_DATA (push, zeta); in nv30_clear()
[all …]

12345678910>>...188