diff options
author | Jakob Bornecrantz <[email protected]> | 2009-01-28 23:20:51 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-01-28 23:28:09 +0100 |
commit | 20127390432132c7cd29d7e64d8f757cb0a47543 (patch) | |
tree | 80ca823b03fba62501dc84e22ae213f53054b9c2 /src | |
parent | 26fe7a5fc4421d91e43885da7f85ed9d13897a06 (diff) |
i915: Flush on surface copy/clear
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_blit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_blit.c b/src/gallium/drivers/i915simple/i915_blit.c index 45fae4c9995..5a4b8292109 100644 --- a/src/gallium/drivers/i915simple/i915_blit.c +++ b/src/gallium/drivers/i915simple/i915_blit.c @@ -77,6 +77,7 @@ i915_fill_blit(struct i915_context *i915, OUT_BATCH(((y + h) << 16) | (x + w)); OUT_RELOC( dst_buffer, I915_BUFFER_ACCESS_WRITE, dst_offset); OUT_BATCH(color); + FLUSH_BATCH(NULL); } @@ -152,6 +153,7 @@ 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_BUFFER_ACCESS_READ, src_offset); + FLUSH_BATCH(NULL); } |