summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_surface.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2011-03-06 12:05:23 +0100
committerDaniel Vetter <[email protected]>2011-03-10 22:47:50 +0100
commit8c420db1c4763d8d4d71ce8d835fc09a7a269d4c (patch)
treefaa3723d680086a043d1437bb343af31ee6d669a /src/gallium/drivers/i915/i915_surface.c
parent55d2d7fb3a2d079049e475fd2d3191a6246a7ac6 (diff)
i915g: blitter handles overlapping blits
No need to assert. Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_surface.c')
-rw-r--r--src/gallium/drivers/i915/i915_surface.c1
1 files changed, 0 insertions, 1 deletions
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) );