diff options
author | Eric Anholt <[email protected]> | 2010-10-06 11:25:05 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-10-06 12:13:08 -0700 |
commit | 5eeaf3671e2f913d38187fd1401c4b22a2900d57 (patch) | |
tree | 96bae9158e078ca76e7dad5b185d1e743d1c552e /src | |
parent | 9fe510ef35a783a244d0d54baa50f959a6b781dc (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | 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 a380eb44525..6e5ea0782e1 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) { |