mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-13 06:50:35 +02:00
r300g: Bump immediate limits.
Seems like a decent idea, especially since the big barrier now is getting the VBOs back from the VRAM boundary.
This commit is contained in:
parent
4711aa089e
commit
44cfc4ad74
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue