projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f61e51e
)
[i965] This is to fix random crash in some maps of Ut2004 demo.
author
Zou Nan hai
<nanhai.zou@intel.com>
Tue, 22 Apr 2008 07:50:40 +0000
(15:50 +0800)
committer
Zou Nan hai
<nanhai.zou@intel.com>
Tue, 22 Apr 2008 07:50:40 +0000
(15:50 +0800)
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.
src/mesa/drivers/dri/i965/brw_urb.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_urb.c
b/src/mesa/drivers/dri/i965/brw_urb.c
index 4b038388e0820c927b0ead4a3d226164e844d7a9..c423dbe7d771eb5f1c80169487420ff0d7fb3e8d 100644
(file)
--- 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 */