diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-21 15:59:32 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2011-01-21 15:59:32 -0500 |
commit | 4817fac5f728b777939e2e2bee16b842c9e1367b (patch) | |
tree | fc6cd2d26d01d56d3a7ae87c33a2524624c8a485 /src/r600_exa.c | |
parent | 0a03f03a65aad925ba2d9c76b1d3356184607bf9 (diff) |
vbo: remove useless radeon_vb_discard()
We already reset vb_start_op to -1 in the
UMS/KMS ib discard functions.
Diffstat (limited to 'src/r600_exa.c')
-rw-r--r-- | src/r600_exa.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/r600_exa.c b/src/r600_exa.c index 5dfc770e..f652ab68 100644 --- a/src/r600_exa.c +++ b/src/r600_exa.c @@ -1334,14 +1334,12 @@ static Bool R600PrepareComposite(int op, PicturePtr pSrcPicture, if (!R600TextureSetup(pSrcPicture, pSrc, 0)) { R600IBDiscard(pScrn, accel_state->ib); - radeon_vb_discard(pScrn, &accel_state->vbo); return FALSE; } if (pMask) { if (!R600TextureSetup(pMaskPicture, pMask, 1)) { R600IBDiscard(pScrn, accel_state->ib); - radeon_vb_discard(pScrn, &accel_state->vbo); return FALSE; } } else @@ -1644,7 +1642,6 @@ R600CopyToVRAM(ScrnInfoPtr pScrn, } R600IBDiscard(pScrn, scratch); - radeon_vb_discard(pScrn, &accel_state->vbo); return TRUE; } @@ -1758,7 +1755,6 @@ R600DownloadFromScreen(PixmapPtr pSrc, int x, int y, int w, int h, } R600IBDiscard(pScrn, scratch); - radeon_vb_discard(pScrn, &accel_state->vbo); return TRUE; |