summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2008-04-22 15:50:40 +0800
committerZou Nan hai <nanhai.zou@intel.com>2008-04-22 15:50:40 +0800
commitc9c64a100d5d0661fd672af040a68bd4e7292940 (patch)
tree1a09bd39ee5213c12db46be38477e02f03c8dc95
parentf61e51ee98a2f43ad61e98353eae2cd8dc8a272f (diff)
[i965] This is to fix random crash in some maps of Ut2004 demo.
e.g. bridge of fate. If vs output is big, driver may fall back to use 8 urb entries for vs, unfortunally, for some unknown reason, if vs is working at 4x2 mode, 8 entries is not enough, may lead to gpu hang.
-rw-r--r--src/mesa/drivers/dri/i965/brw_urb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_urb.c b/src/mesa/drivers/dri/i965/brw_urb.c
index 4b038388e0..c423dbe7d7 100644
--- a/src/mesa/drivers/dri/i965/brw_urb.c
+++ b/src/mesa/drivers/dri/i965/brw_urb.c
@@ -52,7 +52,7 @@ static const struct {
GLuint min_entry_size;
GLuint max_entry_size;
} limits[CS+1] = {
- { 8, 32, 1, 5 }, /* vs */
+ { 16, 32, 1, 5 }, /* vs */
{ 4, 8, 1, 5 }, /* gs */
{ 6, 8, 1, 5 }, /* clp */
{ 1, 8, 1, 12 }, /* sf */