diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-08-23 18:58:12 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-08-23 18:58:12 -0400 |
commit | f170dddd3538a587f2363ef5fa10a4b484e762da (patch) | |
tree | f69ac2e795cff6fb12802e5b21d12215d2431504 /src/evergreen_accel.c | |
parent | eede93b057bbdddcde5da3220a3f8c6f73784a7e (diff) |
evergreen: use vbo pool for constant buffers
Diffstat (limited to 'src/evergreen_accel.c')
-rw-r--r-- | src/evergreen_accel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/evergreen_accel.c b/src/evergreen_accel.c index 31e460d4..1b40aca1 100644 --- a/src/evergreen_accel.c +++ b/src/evergreen_accel.c @@ -1062,6 +1062,7 @@ void evergreen_finish_op(ScrnInfoPtr pScrn, int vtx_size) radeon_ib_discard(pScrn); radeon_cs_flush_indirect(pScrn); radeon_vb_discard(pScrn, &accel_state->vbo); + radeon_vb_discard(pScrn, &accel_state->cbuf); return; } @@ -1093,6 +1094,7 @@ void evergreen_finish_op(ScrnInfoPtr pScrn, int vtx_size) accel_state->dst_obj.bo, 0, accel_state->dst_obj.domain); accel_state->vbo.vb_start_op = -1; + accel_state->cbuf.vb_start_op = -1; accel_state->ib_reset_op = 0; } |