/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_transfer.c | 92 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_FROM_ID), 1); in nv30_transfer_rect_vertprog() 94 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog() 99 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_transfer_rect_vertprog() 198 BEGIN_NV04(push, NV30_3D(VIEWPORT_HORIZ), 2); in nv30_transfer_rect_blit() 201 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 5); in nv30_transfer_rect_blit() 207 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_transfer_rect_blit() 213 BEGIN_NV04(push, NV30_3D(VIEWPORT_TRANSLATE_X), 8); in nv30_transfer_rect_blit() 222 BEGIN_NV04(push, NV30_3D(DEPTH_RANGE_NEAR), 2); in nv30_transfer_rect_blit() 229 BEGIN_NV04(push, NV30_3D(COLOR_LOGIC_OP_ENABLE), 1); in nv30_transfer_rect_blit() 231 BEGIN_NV04(push, NV30_3D(DITHER_ENABLE), 1); in nv30_transfer_rect_blit() [all …]
|
D | nv30_clear.c | 78 BEGIN_NV04(push, NV30_3D(STENCIL_ENABLE(0)), 2); in nv30_clear() 87 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 93 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 135 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_render_target() 137 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_render_target() 141 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 2); in nv30_clear_render_target() 147 BEGIN_NV04(push, NV30_3D(SCISSOR_HORIZ), 2); in nv30_clear_render_target() 151 BEGIN_NV04(push, NV30_3D(CLEAR_COLOR_VALUE), 2); in nv30_clear_render_target() 200 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_depth_stencil() 202 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_depth_stencil() [all …]
|
D | nv30_state_validate.c | 106 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_validate_fb() 110 BEGIN_NV04(push, NV30_3D(VIEWPORT_TX_ORIGIN), 4); in nv30_validate_fb() 132 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 3); in nv30_validate_fb() 135 PUSH_MTHDl(push, NV30_3D(COLOR0_OFFSET), BUFCTX_FB, rbo, rsf->offset & ~63, in nv30_validate_fb() 137 PUSH_MTHDl(push, NV30_3D(ZETA_OFFSET), BUFCTX_FB, zbo, zsf->offset & ~63, in nv30_validate_fb() 145 BEGIN_NV04(push, NV30_3D(COLOR1_OFFSET), 2); in nv30_validate_fb() 146 PUSH_MTHDl(push, NV30_3D(COLOR1_OFFSET), BUFCTX_FB, bo, sf->offset, in nv30_validate_fb() 184 BEGIN_NV04(push, NV30_3D(BLEND_COLOR), 1); in nv30_validate_blend_colour() 196 BEGIN_NV04(push, NV30_3D(BLEND_COLOR), 1); in nv30_validate_blend_colour() 208 BEGIN_NV04(push, NV30_3D(STENCIL_FUNC_REF(0)), 1); in nv30_validate_stencil_ref() [all …]
|
D | nv30_vbo.c | 56 BEGIN_NV04(push, NV30_3D(VTX_ATTR_4F(attr)), 4); in nv30_emit_vtxattr() 63 BEGIN_NV04(push, NV30_3D(VTX_ATTR_3F(attr)), 3); in nv30_emit_vtxattr() 69 BEGIN_NV04(push, NV30_3D(VTX_ATTR_2F(attr)), 2); in nv30_emit_vtxattr() 74 BEGIN_NV04(push, NV30_3D(VTX_ATTR_1F(attr)), 1); in nv30_emit_vtxattr() 159 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); in nv30_update_user_vbufs() 160 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), BUFCTX_VTXTMP, buf, offset, in nv30_update_user_vbufs() 213 BEGIN_NV04(push, NV30_3D(VTXFMT(0)), redefine); 248 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); 249 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), user ? BUFCTX_VTXTMP : BUFCTX_VTXBUF, 346 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); [all …]
|
D | nv30_draw.c | 130 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_elements() 132 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), BUFCTX_VTXTMP, in nv30_render_draw_elements() 140 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_render_draw_elements() 144 BEGIN_NV04(push, NV30_3D(VB_ELEMENT_U32), 1); in nv30_render_draw_elements() 153 BEGIN_NI04(push, NV30_3D(VB_ELEMENT_U16), npush); in nv30_render_draw_elements() 160 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_render_draw_elements() 175 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_arrays() 177 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), BUFCTX_VTXTMP, in nv30_render_draw_arrays() 185 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_render_draw_arrays() 188 BEGIN_NI04(push, NV30_3D(VB_VERTEX_BATCH), ps); in nv30_render_draw_arrays() [all …]
|
D | nv30_push.c | 100 BEGIN_NI04(ctx->push, NV30_3D(VERTEX_DATA), size); in emit_vertices_i08() 109 BEGIN_NV04(ctx->push, NV30_3D(VB_ELEMENT_U32), 1); in emit_vertices_i08() 132 BEGIN_NI04(ctx->push, NV30_3D(VERTEX_DATA), size); in emit_vertices_i16() 141 BEGIN_NV04(ctx->push, NV30_3D(VB_ELEMENT_U32), 1); in emit_vertices_i16() 164 BEGIN_NI04(ctx->push, NV30_3D(VERTEX_DATA), size); in emit_vertices_i32() 173 BEGIN_NV04(ctx->push, NV30_3D(VB_ELEMENT_U32), 1); in emit_vertices_i32() 188 BEGIN_NI04(ctx->push, NV30_3D(VERTEX_DATA), size); in emit_vertices_seq() 258 BEGIN_NV04(ctx.push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_push_vbo() 277 BEGIN_NV04(ctx.push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_push_vbo()
|
D | nv30_fragprog.c | 114 BEGIN_NV04(push, NV30_3D(FP_ACTIVE_PROGRAM), 1); in nv30_fragprog_validate() 115 PUSH_RESRC(push, NV30_3D(FP_ACTIVE_PROGRAM), BUFCTX_FRAGPROG, r, 0, in nv30_fragprog_validate() 119 BEGIN_NV04(push, NV30_3D(FP_CONTROL), 1); in nv30_fragprog_validate() 122 BEGIN_NV04(push, NV30_3D(FP_REG_CONTROL), 1); in nv30_fragprog_validate() 124 BEGIN_NV04(push, NV30_3D(TEX_UNITS_ENABLE), 1); in nv30_fragprog_validate()
|
D | nv30_vertprog.c | 190 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_CONST_ID), 5); in nv30_vertprog_validate() 197 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_FROM_ID), 1); in nv30_vertprog_validate() 200 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_vertprog_validate() 206 BEGIN_NV04(push, NV30_3D(VP_START_FROM_ID), 1); in nv30_vertprog_validate() 209 BEGIN_NV04(push, NV30_3D(ENGINE), 1); in nv30_vertprog_validate() 215 BEGIN_NV04(push, NV30_3D(ENGINE), 1); in nv30_vertprog_validate()
|
D | nv30_fragtex.c | 126 BEGIN_NV04(push, NV30_3D(TEX_OFFSET(unit)), 8); in nv30_fragtex_validate() 127 PUSH_MTHDl(push, NV30_3D(TEX_OFFSET(unit)), BUFCTX_FRAGTEX(unit), in nv30_fragtex_validate() 129 PUSH_MTHDs(push, NV30_3D(TEX_FORMAT(unit)), BUFCTX_FRAGTEX(unit), in nv30_fragtex_validate() 139 BEGIN_NV04(push, NV30_3D(TEX_FILTER_OPTIMIZATION(unit)), 1); in nv30_fragtex_validate() 142 BEGIN_NV04(push, NV30_3D(TEX_ENABLE(unit)), 1); in nv30_fragtex_validate()
|
D | nv30_query.c | 160 BEGIN_NV04(push, NV30_3D(QUERY_GET), 1); in nv30_query_begin() 167 BEGIN_NV04(push, NV30_3D(QUERY_RESET), 1); in nv30_query_begin() 189 BEGIN_NV04(push, NV30_3D(QUERY_GET), 1); in nv30_query_end()
|
D | nv30_winsys.h | 150 #define NV30_3D(mthd) SUBC_3D(NV30_3D_##mthd) macro
|
D | nv30_screen.c | 644 BEGIN_NV04(push, NV30_3D(DMA_NOTIFY), 13); in nv30_screen_create() 674 BEGIN_NV04(push, NV30_3D(RC_ENABLE), 1); in nv30_screen_create()
|