projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46dc6fd
)
r600: Update default state size to account for the new relocation
author
Jerome Glisse
<jglisse@redhat.com>
Mon, 18 Jan 2010 14:32:24 +0000
(15:32 +0100)
committer
Jerome Glisse
<jglisse@redhat.com>
Mon, 18 Jan 2010 14:32:24 +0000
(15:32 +0100)
the new relocation for CB_COLOR0_FRAG & CB_COLOR0_TILE add 4
dwords to the default command stream. Increase the prediction
default size to take this into account
src/mesa/drivers/dri/r600/r700_render.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/r700_render.c
b/src/mesa/drivers/dri/r600/r700_render.c
index eab27cbd8429aeb9582051b48722a7c557e034f6..3a6210c53aca7ad5f6df3ab7e2409fffe0af9752 100644
(file)
--- a/
src/mesa/drivers/dri/r600/r700_render.c
+++ b/
src/mesa/drivers/dri/r600/r700_render.c
@@
-422,7
+422,7
@@
static void r700RunRenderPrimitiveImmediate(GLcontext * ctx, int start, int end,
}
/* start 3d, idle, cb/db flush */
-#define PRE_EMIT_STATE_BUFSZ 10 + 5 + 1
4
+#define PRE_EMIT_STATE_BUFSZ 10 + 5 + 1
8
static GLuint r700PredictRenderSize(GLcontext* ctx,
const struct _mesa_prim *prim,