summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2008-04-22 15:50:40 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2008-06-03 11:30:41 +0800
commit8a38ebe328fd188f06ad72d95656009a22e5babe (patch)
treecc9a0145089435c84f313002837f42840149fc77
parentdcc6671b85ef1345f1f8c75148eef2b7bf0a85e3 (diff)
downloadmesa-8a38ebe328fd188f06ad72d95656009a22e5babe.tar.gz
[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. Cherry picked from commmit c9c64a100d5d0661fd672af040a68bd4e7292940
-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 4ca6e99db0b..76d0c291be6 100644
--- a/src/mesa/drivers/dri/i965/brw_urb.c
+++ b/src/mesa/drivers/dri/i965/brw_urb.c
@@ -53,7 +53,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 */