From: Zou Nan hai Date: Tue, 22 Apr 2008 07:50:40 +0000 (+0800) Subject: [i965] This is to fix random crash in some maps of Ut2004 demo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c9c64a100d5d0661fd672af040a68bd4e7292940;p=mesa.git [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. --- diff --git a/src/mesa/drivers/dri/i965/brw_urb.c b/src/mesa/drivers/dri/i965/brw_urb.c index 4b038388e08..c423dbe7d77 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 */