i915g: blitter handles overlapping blits
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 6 Mar 2011 11:05:23 +0000 (12:05 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 10 Mar 2011 21:47:50 +0000 (22:47 +0100)
No need to assert.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_surface.c

index becc6e93c2d258e047d6e621a397f6e3c54b646f..5df370eb0b094668de990c82903feb7410896a46 100644 (file)
@@ -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) );