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/evergreen_accel.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/evergreen_accel.c')
-rw-r--r-- | src/evergreen_accel.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/evergreen_accel.c b/src/evergreen_accel.c index b46e61de..4f5a120c 100644 --- a/src/evergreen_accel.c +++ b/src/evergreen_accel.c @@ -1162,8 +1162,6 @@ void evergreen_finish_op(ScrnInfoPtr pScrn, int vtx_size) if (accel_state->vbo.vb_offset == accel_state->vbo.vb_start_op) { radeon_ib_discard(pScrn); radeon_cs_flush_indirect(pScrn); - radeon_vb_discard(pScrn, &accel_state->vbo); - radeon_vb_discard(pScrn, &accel_state->cbuf); return; } |