/external/mesa3d/src/gallium/drivers/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() 197 BEGIN_NV04(push, NV30_3D(VIEWPORT_HORIZ), 2); in nv30_transfer_rect_blit() 200 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 5); in nv30_transfer_rect_blit() 206 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_transfer_rect_blit() 212 BEGIN_NV04(push, NV30_3D(VIEWPORT_TRANSLATE_X), 8); in nv30_transfer_rect_blit() 221 BEGIN_NV04(push, NV30_3D(DEPTH_RANGE_NEAR), 2); in nv30_transfer_rect_blit() 228 BEGIN_NV04(push, NV30_3D(COLOR_LOGIC_OP_ENABLE), 1); in nv30_transfer_rect_blit() 230 BEGIN_NV04(push, NV30_3D(DITHER_ENABLE), 1); in nv30_transfer_rect_blit() [all …]
|
D | nv30_vbo.c | 53 BEGIN_NV04(push, NV30_3D(VTX_ATTR_4F(attr)), 4); in nv30_emit_vtxattr() 60 BEGIN_NV04(push, NV30_3D(VTX_ATTR_3F(attr)), 3); in nv30_emit_vtxattr() 66 BEGIN_NV04(push, NV30_3D(VTX_ATTR_2F(attr)), 2); in nv30_emit_vtxattr() 71 BEGIN_NV04(push, NV30_3D(VTX_ATTR_1F(attr)), 1); in nv30_emit_vtxattr() 156 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); in nv30_update_user_vbufs() 157 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), BUFCTX_VTXTMP, buf, offset, in nv30_update_user_vbufs() 203 BEGIN_NV04(push, NV30_3D(VTXFMT(0)), redefine); in nv30_vbo_validate() 238 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); in nv30_vbo_validate() 239 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), user ? BUFCTX_VTXTMP : BUFCTX_VTXBUF, in nv30_vbo_validate() 337 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_draw_arrays() [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_HORIZ), 2); in nv30_validate_fb() 113 BEGIN_NV04(push, NV30_3D(VIEWPORT_TX_ORIGIN), 4); in nv30_validate_fb() 135 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 3); in nv30_validate_fb() 138 PUSH_MTHDl(push, NV30_3D(COLOR0_OFFSET), BUFCTX_FB, rbo, rsf->offset & ~63, in nv30_validate_fb() 140 PUSH_MTHDl(push, NV30_3D(ZETA_OFFSET), BUFCTX_FB, zbo, zsf->offset & ~63, in nv30_validate_fb() 148 BEGIN_NV04(push, NV30_3D(COLOR1_OFFSET), 2); in nv30_validate_fb() 149 PUSH_MTHDl(push, NV30_3D(COLOR1_OFFSET), BUFCTX_FB, bo, sf->offset, in nv30_validate_fb() 187 BEGIN_NV04(push, NV30_3D(BLEND_COLOR), 1); in nv30_validate_blend_colour() 199 BEGIN_NV04(push, NV30_3D(BLEND_COLOR), 1); in nv30_validate_blend_colour() [all …]
|
D | nv30_clear.c | 82 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 88 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 129 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_render_target() 131 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_render_target() 135 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 2); in nv30_clear_render_target() 141 BEGIN_NV04(push, NV30_3D(SCISSOR_HORIZ), 2); in nv30_clear_render_target() 145 BEGIN_NV04(push, NV30_3D(CLEAR_COLOR_VALUE), 2); in nv30_clear_render_target() 193 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_depth_stencil() 195 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_depth_stencil() 200 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 1); in nv30_clear_depth_stencil() [all …]
|
D | nv30_draw.c | 125 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_elements() 127 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), BUFCTX_VTXTMP, in nv30_render_draw_elements() 135 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_render_draw_elements() 139 BEGIN_NV04(push, NV30_3D(VB_ELEMENT_U32), 1); in nv30_render_draw_elements() 148 BEGIN_NI04(push, NV30_3D(VB_ELEMENT_U16), npush); in nv30_render_draw_elements() 155 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_render_draw_elements() 170 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_arrays() 172 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), BUFCTX_VTXTMP, in nv30_render_draw_arrays() 180 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_render_draw_arrays() 183 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() 254 BEGIN_NV04(ctx.push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_push_vbo() 273 BEGIN_NV04(ctx.push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_push_vbo()
|
D | nv30_fragprog.c | 109 BEGIN_NV04(push, NV30_3D(FP_ACTIVE_PROGRAM), 1); in nv30_fragprog_validate() 110 PUSH_RESRC(push, NV30_3D(FP_ACTIVE_PROGRAM), BUFCTX_FRAGPROG, r, 0, in nv30_fragprog_validate() 114 BEGIN_NV04(push, NV30_3D(FP_CONTROL), 1); in nv30_fragprog_validate() 117 BEGIN_NV04(push, NV30_3D(FP_REG_CONTROL), 1); in nv30_fragprog_validate() 119 BEGIN_NV04(push, NV30_3D(TEX_UNITS_ENABLE), 1); in nv30_fragprog_validate()
|
D | nv30_vertprog.c | 188 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_CONST_ID), 5); in nv30_vertprog_validate() 195 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_FROM_ID), 1); in nv30_vertprog_validate() 198 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_vertprog_validate() 204 BEGIN_NV04(push, NV30_3D(VP_START_FROM_ID), 1); in nv30_vertprog_validate() 207 BEGIN_NV04(push, NV30_3D(ENGINE), 1); in nv30_vertprog_validate() 213 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 | 158 BEGIN_NV04(push, NV30_3D(QUERY_GET), 1); in nv30_query_begin() 165 BEGIN_NV04(push, NV30_3D(QUERY_RESET), 1); in nv30_query_begin() 186 BEGIN_NV04(push, NV30_3D(QUERY_GET), 1); in nv30_query_end()
|
D | nv30_screen.c | 277 BEGIN_NV04(push, NV30_3D(FENCE_OFFSET), 2); in nv30_screen_fence_emit() 460 BEGIN_NV04(push, NV30_3D(DMA_NOTIFY), 13); in nv30_screen_create() 490 BEGIN_NV04(push, NV30_3D(RC_ENABLE), 1); in nv30_screen_create()
|
D | nv30_winsys.h | 150 #define NV30_3D(mthd) SUBC_3D(NV30_3D_##mthd) macro
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/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() 197 BEGIN_NV04(push, NV30_3D(VIEWPORT_HORIZ), 2); in nv30_transfer_rect_blit() 200 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 5); in nv30_transfer_rect_blit() 206 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_transfer_rect_blit() 212 BEGIN_NV04(push, NV30_3D(VIEWPORT_TRANSLATE_X), 8); in nv30_transfer_rect_blit() 221 BEGIN_NV04(push, NV30_3D(DEPTH_RANGE_NEAR), 2); in nv30_transfer_rect_blit() 228 BEGIN_NV04(push, NV30_3D(COLOR_LOGIC_OP_ENABLE), 1); in nv30_transfer_rect_blit() 230 BEGIN_NV04(push, NV30_3D(DITHER_ENABLE), 1); in nv30_transfer_rect_blit() [all …]
|
D | nv30_vbo.c | 53 BEGIN_NV04(push, NV30_3D(VTX_ATTR_4F(attr)), 4); in nv30_emit_vtxattr() 60 BEGIN_NV04(push, NV30_3D(VTX_ATTR_3F(attr)), 3); in nv30_emit_vtxattr() 66 BEGIN_NV04(push, NV30_3D(VTX_ATTR_2F(attr)), 2); in nv30_emit_vtxattr() 71 BEGIN_NV04(push, NV30_3D(VTX_ATTR_1F(attr)), 1); in nv30_emit_vtxattr() 156 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); in nv30_update_user_vbufs() 157 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), BUFCTX_VTXTMP, buf, offset, in nv30_update_user_vbufs() 203 BEGIN_NV04(push, NV30_3D(VTXFMT(0)), redefine); in nv30_vbo_validate() 238 BEGIN_NV04(push, NV30_3D(VTXBUF(i)), 1); in nv30_vbo_validate() 239 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), user ? BUFCTX_VTXTMP : BUFCTX_VTXBUF, in nv30_vbo_validate() 337 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_draw_arrays() [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_HORIZ), 2); in nv30_validate_fb() 113 BEGIN_NV04(push, NV30_3D(VIEWPORT_TX_ORIGIN), 4); in nv30_validate_fb() 135 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 3); in nv30_validate_fb() 138 PUSH_MTHDl(push, NV30_3D(COLOR0_OFFSET), BUFCTX_FB, rbo, rsf->offset & ~63, in nv30_validate_fb() 140 PUSH_MTHDl(push, NV30_3D(ZETA_OFFSET), BUFCTX_FB, zbo, zsf->offset & ~63, in nv30_validate_fb() 148 BEGIN_NV04(push, NV30_3D(COLOR1_OFFSET), 2); in nv30_validate_fb() 149 PUSH_MTHDl(push, NV30_3D(COLOR1_OFFSET), BUFCTX_FB, bo, sf->offset, in nv30_validate_fb() 187 BEGIN_NV04(push, NV30_3D(BLEND_COLOR), 1); in nv30_validate_blend_colour() 199 BEGIN_NV04(push, NV30_3D(BLEND_COLOR), 1); in nv30_validate_blend_colour() [all …]
|
D | nv30_clear.c | 82 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 88 BEGIN_NV04(push, NV30_3D(CLEAR_DEPTH_VALUE), 3); in nv30_clear() 129 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_render_target() 131 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_render_target() 135 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 2); in nv30_clear_render_target() 141 BEGIN_NV04(push, NV30_3D(SCISSOR_HORIZ), 2); in nv30_clear_render_target() 145 BEGIN_NV04(push, NV30_3D(CLEAR_COLOR_VALUE), 2); in nv30_clear_render_target() 193 BEGIN_NV04(push, NV30_3D(RT_ENABLE), 1); in nv30_clear_depth_stencil() 195 BEGIN_NV04(push, NV30_3D(RT_HORIZ), 3); in nv30_clear_depth_stencil() 200 BEGIN_NV04(push, NV30_3D(COLOR0_PITCH), 1); in nv30_clear_depth_stencil() [all …]
|
D | nv30_draw.c | 125 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_elements() 127 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), BUFCTX_VTXTMP, in nv30_render_draw_elements() 135 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_render_draw_elements() 139 BEGIN_NV04(push, NV30_3D(VB_ELEMENT_U32), 1); in nv30_render_draw_elements() 148 BEGIN_NI04(push, NV30_3D(VB_ELEMENT_U16), npush); in nv30_render_draw_elements() 155 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_render_draw_elements() 170 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_arrays() 172 PUSH_RESRC(push, NV30_3D(VTXBUF(i)), BUFCTX_VTXTMP, in nv30_render_draw_arrays() 180 BEGIN_NV04(push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_render_draw_arrays() 183 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() 254 BEGIN_NV04(ctx.push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_push_vbo() 273 BEGIN_NV04(ctx.push, NV30_3D(VERTEX_BEGIN_END), 1); in nv30_push_vbo()
|
D | nv30_fragprog.c | 109 BEGIN_NV04(push, NV30_3D(FP_ACTIVE_PROGRAM), 1); in nv30_fragprog_validate() 110 PUSH_RESRC(push, NV30_3D(FP_ACTIVE_PROGRAM), BUFCTX_FRAGPROG, r, 0, in nv30_fragprog_validate() 114 BEGIN_NV04(push, NV30_3D(FP_CONTROL), 1); in nv30_fragprog_validate() 117 BEGIN_NV04(push, NV30_3D(FP_REG_CONTROL), 1); in nv30_fragprog_validate() 119 BEGIN_NV04(push, NV30_3D(TEX_UNITS_ENABLE), 1); in nv30_fragprog_validate()
|
D | nv30_vertprog.c | 188 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_CONST_ID), 5); in nv30_vertprog_validate() 195 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_FROM_ID), 1); in nv30_vertprog_validate() 198 BEGIN_NV04(push, NV30_3D(VP_UPLOAD_INST(0)), 4); in nv30_vertprog_validate() 204 BEGIN_NV04(push, NV30_3D(VP_START_FROM_ID), 1); in nv30_vertprog_validate() 207 BEGIN_NV04(push, NV30_3D(ENGINE), 1); in nv30_vertprog_validate() 213 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 | 158 BEGIN_NV04(push, NV30_3D(QUERY_GET), 1); in nv30_query_begin() 165 BEGIN_NV04(push, NV30_3D(QUERY_RESET), 1); in nv30_query_begin() 186 BEGIN_NV04(push, NV30_3D(QUERY_GET), 1); in nv30_query_end()
|
D | nv30_screen.c | 277 BEGIN_NV04(push, NV30_3D(FENCE_OFFSET), 2); in nv30_screen_fence_emit() 460 BEGIN_NV04(push, NV30_3D(DMA_NOTIFY), 13); in nv30_screen_create() 490 BEGIN_NV04(push, NV30_3D(RC_ENABLE), 1); in nv30_screen_create()
|
D | nv30_winsys.h | 150 #define NV30_3D(mthd) SUBC_3D(NV30_3D_##mthd) macro
|