diff options
author | Pauli Nieminen <[email protected]> | 2009-08-12 01:40:17 +0300 |
---|---|---|
committer | Pauli Nieminen <[email protected]> | 2009-08-21 19:12:30 +0300 |
commit | 60d156f68864c48e18dfc2691eca5e11c4000fa8 (patch) | |
tree | b231c6cc6f7071baf53830d574ac4ac1713dced3 /src/mesa/drivers/dri | |
parent | e083f53ce4a8115df9d56b99d5dcfc249c7f90e7 (diff) |
r200: Make swtcl use state size prediction for flush.
Signed-off-by: Pauli Nieminen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_swtcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c index 1b238911408..8dd2e69d33d 100644 --- a/src/mesa/drivers/dri/r200/r200_swtcl.c +++ b/src/mesa/drivers/dri/r200/r200_swtcl.c @@ -269,7 +269,7 @@ void r200_swtcl_flush(GLcontext *ctx, uint32_t current_offset) { r200ContextPtr rmesa = R200_CONTEXT(ctx); rcommonEnsureCmdBufSpace(&rmesa->radeon, - rmesa->radeon.hw.max_state_size + (12*sizeof(int)), + radeonCountEmitSize(&rmesa->radeon) + (12*sizeof(int)), __FUNCTION__); |