r200: remove indexed verts

This commit is contained in:
Dave Airlie 2009-01-22 02:38:00 +10:00
parent 909aeb005f
commit 0788e42471
4 changed files with 0 additions and 12 deletions

View file

@ -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;
};

View file

@ -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__ );
}

View file

@ -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 );

View file

@ -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;