projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fe510e
)
i965: Fix botch in the header_present case in the new FS.
author
Eric Anholt
<eric@anholt.net>
Wed, 6 Oct 2010 18:25:05 +0000
(11:25 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 6 Oct 2010 19:13:08 +0000
(12:13 -0700)
I only set it on the color_regions == 0 case, missing the important
case, causing GPU hangs on pre-gen6.
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index
a380eb4
..
6e5ea07
100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-1920,6
+1920,7
@@
fs_visitor::emit_fb_writes()
inst->mlen = nr;
if (target == c->key.nr_color_regions - 1)
inst->eot = true;
+ inst->header_present = header_present;
}
if (c->key.nr_color_regions == 0) {