summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-03-20 17:18:22 -0700
committerCorbin Simpson <[email protected]>2010-03-20 17:18:22 -0700
commit44cfc4ad740bfc89fc30e19fde4dcc130c605d02 (patch)
tree9cd43e80c10d7193aa75089c6f0fca79bc2b10d3 /src/gallium
parent4711aa089ec7af70bb9118ad8d7830e475805297 (diff)
r300g: Bump immediate limits.
Seems like a decent idea, especially since the big barrier now is getting the VBOs back from the VRAM boundary.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_render.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/r300_render.c b/src/gallium/drivers/r300/r300_render.c
index 40c1a420428..ff93a16a107 100644
--- a/src/gallium/drivers/r300/r300_render.c
+++ b/src/gallium/drivers/r300/r300_render.c
@@ -141,7 +141,7 @@ static boolean immd_is_good_idea(struct r300_context *r300,
unsigned vertex_element_count = r300->velems->count;
unsigned i, vbi;
- if (count > 4) {
+ if (count > 10) {
return FALSE;
}
@@ -155,8 +155,7 @@ static boolean immd_is_good_idea(struct r300_context *r300,
if (!checked[vbi]) {
vbuf = &r300->vertex_buffer[vbi];
- if (r300_buffer_is_referenced(r300,
- vbuf->buffer)) {
+ if (r300_buffer_is_referenced(r300, vbuf->buffer)) {
/* It's a very bad idea to map it... */
return FALSE;
}