i915: Correct preamble for emit_composite

Fixes:
http://bugs.freedesktop.org/show_bug.cgi?id=27123

Fatal server error:
i915_emit_composite_setup: ADVANCE_BATCH: under-used allocation 100/104

Introduced with commit d6b7f96fde.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2010-03-17 09:11:05 +00:00
parent d6b7f96fde
commit 31d5f84bb4
1 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ static void i915_emit_composite_setup(ScrnInfoPtr scrn)
tex_count += ! is_solid_src;
tex_count += mask && ! is_solid_mask;
t = 16;
t = 15;
if (tex_count)
t += 6 * tex_count + 4;
if (is_solid_src)