projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e083f53
)
r200: Make swtcl use state size prediction for flush.
author
Pauli Nieminen
<suokkos@gmail.com>
Tue, 11 Aug 2009 22:40:17 +0000
(
01:40
+0300)
committer
Pauli Nieminen
<suokkos@gmail.com>
Fri, 21 Aug 2009 16:12:30 +0000
(19:12 +0300)
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
src/mesa/drivers/dri/r200/r200_swtcl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_swtcl.c
b/src/mesa/drivers/dri/r200/r200_swtcl.c
index 1b2389114088fea77f8d9b2a651d0cedcfe9cb3d..8dd2e69d33d698658afaffe566081db133b885ee 100644
(file)
--- 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,
- r
mesa->radeon.hw.max_state_size
+ (12*sizeof(int)),
+ r
adeonCountEmitSize(&rmesa->radeon)
+ (12*sizeof(int)),
__FUNCTION__);