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.
This commit is contained in:
Eric Anholt
2010-10-06 11:25:05 -07:00
parent 9fe510ef35
commit 5eeaf3671e
+1
View File
@@ -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) {