From: Jakob Bornecrantz Date: Sun, 4 Jul 2010 08:54:20 +0000 (+0100) Subject: i915g: Don't flush after blit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22d4d5fc3fe4017732043be9eb08128688f9ee66;p=mesa.git i915g: Don't flush after blit --- diff --git a/src/gallium/drivers/i915/i915_blit.c b/src/gallium/drivers/i915/i915_blit.c index 0a1b3e0d66b..cdf20c0055a 100644 --- a/src/gallium/drivers/i915/i915_blit.c +++ b/src/gallium/drivers/i915/i915_blit.c @@ -76,7 +76,6 @@ i915_fill_blit(struct i915_context *i915, OUT_BATCH(((y + h) << 16) | (x + w)); OUT_RELOC(dst_buffer, I915_USAGE_2D_TARGET, dst_offset); OUT_BATCH(color); - FLUSH_BATCH(NULL); } void @@ -143,5 +142,4 @@ i915_copy_blit(struct i915_context *i915, OUT_BATCH((src_y << 16) | src_x); OUT_BATCH(((int) src_pitch & 0xffff)); OUT_RELOC(src_buffer, I915_USAGE_2D_SOURCE, src_offset); - FLUSH_BATCH(NULL); }