From 846b24ea82cfb8a4867b6da1345584379f4aaa04 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 29 May 2009 12:49:45 -0400 Subject: r6xx/r7xx: switch to common dma functions for vecs --- src/mesa/drivers/dri/r600/r700_clear.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/mesa/drivers/dri/r600/r700_clear.c') diff --git a/src/mesa/drivers/dri/r600/r700_clear.c b/src/mesa/drivers/dri/r600/r700_clear.c index 7ebab8daa1a..ffe236131c2 100644 --- a/src/mesa/drivers/dri/r600/r700_clear.c +++ b/src/mesa/drivers/dri/r600/r700_clear.c @@ -154,7 +154,7 @@ static GLboolean r700ClearWithDraw(context_t *context, GLbitfield mask) END_BATCH(); COMMIT_BATCH(); - (context->chipobj.EmitVec)(ctx, &aos_vb, (GLvoid *)fVb, 4, 16, 6); + rcommon_emit_vector(ctx, &aos_vb, (GLvoid *)fVb, 4, 16, 6); r700SetupVTXConstans(ctx, VERT_ATTRIB_POS, &aos_vb, 4, 16, 6); @@ -249,10 +249,6 @@ static GLboolean r700ClearWithDraw(context_t *context, GLbitfield mask) r700WaitForIdleClean(context); - (context->chipobj.FlushCmdBuffer)(context); - - (context->chipobj.FreeDmaRegion)(context, aos_vb.bo); - /* Restore chip object. */ memcpy(r700, &r700Saved, sizeof(R700_CHIP_CONTEXT)); @@ -268,7 +264,7 @@ void r700Clear(GLcontext * ctx, GLbitfield mask) return; } - r700ClearWithDraw(context, mask); + //r700ClearWithDraw(context, mask); } -- cgit v1.2.3