diff options
author | Alex Deucher <[email protected]> | 2009-05-29 12:49:45 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2009-05-29 12:49:45 -0400 |
commit | 846b24ea82cfb8a4867b6da1345584379f4aaa04 (patch) | |
tree | 3b2e645fc072532482c7c7f993dbf038281f9dca /src/mesa/drivers/dri/r600/r700_clear.c | |
parent | 9b10d19d4a3820958c4bd7d5c8fb7eaf1ef3fce0 (diff) |
r6xx/r7xx: switch to common dma functions for vecs
Diffstat (limited to 'src/mesa/drivers/dri/r600/r700_clear.c')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_clear.c | 8 |
1 files changed, 2 insertions, 6 deletions
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); } |