Mesa (master): i965: Fix botch in the header_present case in the new FS.
Eric Anholt
anholt at kemper.freedesktop.org
Wed Oct 6 19:15:32 UTC 2010
Module: Mesa
Branch: master
Commit: 5eeaf3671e2f913d38187fd1401c4b22a2900d57
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5eeaf3671e2f913d38187fd1401c4b22a2900d57
Author: Eric Anholt <eric at anholt.net>
Date: Wed Oct 6 11:25:05 2010 -0700
i965: Fix botch in the header_present case in the new FS.
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 | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index a380eb4..6e5ea07 100644
--- 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) {
More information about the mesa-commit
mailing list