From: Dave Airlie Date: Wed, 21 Jan 2009 16:38:00 +0000 (+1000) Subject: r200: remove indexed verts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0788e424713a2b71cceee60bcd21c79a2896b3bd;p=mesa.git r200: remove indexed verts --- diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h index 5ecf7979994..2725dc495f6 100644 --- a/src/mesa/drivers/dri/r200/r200_context.h +++ b/src/mesa/drivers/dri/r200/r200_context.h @@ -544,7 +544,6 @@ struct r200_tcl_info { GLuint *Elts; - struct radeon_dma_region indexed_verts; struct radeon_dma_region vertex_data[15]; }; @@ -603,7 +602,6 @@ struct r200_swtcl_info { struct radeon_bo *bo; void (*flush) (r200ContextPtr); - struct radeon_dma_region indexed_verts; }; diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c index 0be772d0158..7275886f846 100644 --- a/src/mesa/drivers/dri/r200/r200_swtcl.c +++ b/src/mesa/drivers/dri/r200/r200_swtcl.c @@ -954,6 +954,4 @@ void r200DestroySwtcl( GLcontext *ctx ) { r200ContextPtr rmesa = R200_CONTEXT(ctx); - // if (rmesa->swtcl.indexed_verts.buf) - // r200ReleaseDmaRegion( rmesa, &rmesa->swtcl.indexed_verts, __FUNCTION__ ); } diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.h b/src/mesa/drivers/dri/r200/r200_swtcl.h index 0c25d8bc83d..91c7c0ff8fc 100644 --- a/src/mesa/drivers/dri/r200/r200_swtcl.h +++ b/src/mesa/drivers/dri/r200/r200_swtcl.h @@ -52,10 +52,6 @@ extern void r200BuildVertices( GLcontext *ctx, GLuint start, GLuint count, extern void r200PrintSetupFlags(char *msg, GLuint flags ); -extern void r200_emit_indexed_verts( GLcontext *ctx, - GLuint start, - GLuint count ); - extern void r200_translate_vertex( GLcontext *ctx, const radeonVertex *src, SWvertex *dst ); diff --git a/src/mesa/drivers/dri/r200/r200_tcl.c b/src/mesa/drivers/dri/r200/r200_tcl.c index 226bf1620c4..0f15fd457e5 100644 --- a/src/mesa/drivers/dri/r200/r200_tcl.c +++ b/src/mesa/drivers/dri/r200/r200_tcl.c @@ -570,10 +570,6 @@ static void transition_to_hwtnl( GLcontext *ctx ) rmesa->dma.flush = NULL; - // if (rmesa->swtcl.indexed_verts.buf) - // r200ReleaseDmaRegion( rmesa, &rmesa->swtcl.indexed_verts, - // __FUNCTION__ ); - R200_STATECHANGE( rmesa, vap ); rmesa->hw.vap.cmd[VAP_SE_VAP_CNTL] |= R200_VAP_TCL_ENABLE; rmesa->hw.vap.cmd[VAP_SE_VAP_CNTL] &= ~R200_VAP_FORCE_W_TO_ONE;