summaryrefslogtreecommitdiff
path: root/src/evergreen_accel.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-08-23 18:58:12 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-08-23 18:58:12 -0400
commitf170dddd3538a587f2363ef5fa10a4b484e762da (patch)
treef69ac2e795cff6fb12802e5b21d12215d2431504 /src/evergreen_accel.c
parenteede93b057bbdddcde5da3220a3f8c6f73784a7e (diff)
evergreen: use vbo pool for constant buffers
Diffstat (limited to 'src/evergreen_accel.c')
-rw-r--r--src/evergreen_accel.c2
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;
}