From: Daniel Vetter Date: Sun, 6 Mar 2011 11:05:23 +0000 (+0100) Subject: i915g: blitter handles overlapping blits X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c420db1c4763d8d4d71ce8d835fc09a7a269d4c;p=mesa.git i915g: blitter handles overlapping blits No need to assert. Signed-off-by: Daniel Vetter --- diff --git a/src/gallium/drivers/i915/i915_surface.c b/src/gallium/drivers/i915/i915_surface.c index becc6e93c2d..5df370eb0b0 100644 --- a/src/gallium/drivers/i915/i915_surface.c +++ b/src/gallium/drivers/i915/i915_surface.c @@ -66,7 +66,6 @@ i915_surface_copy(struct pipe_context *pipe, assert(src_box->z == 0); src_offset = i915_texture_offset(src_tex, src_level, src_box->z); - assert( dst != src ); assert( util_format_get_blocksize(dpt->format) == util_format_get_blocksize(spt->format) ); assert( util_format_get_blockwidth(dpt->format) == util_format_get_blockwidth(spt->format) ); assert( util_format_get_blockheight(dpt->format) == util_format_get_blockheight(spt->format) );