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:
parent
d6b7f96fde
commit
31d5f84bb4
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue