Module: Mesa
Branch: master
Commit: 8c420db1c4763d8d4d71ce8d835fc09a7a269d4c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=8c420db1c4763d8d4d71ce8d835fc09a7a269d4c

Author: Daniel Vetter <[email protected]>
Date:   Sun Mar  6 12:05:23 2011 +0100

i915g: blitter handles overlapping blits

No need to assert.

Signed-off-by: Daniel Vetter <[email protected]>

---

 src/gallium/drivers/i915/i915_surface.c |    1 -
 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 becc6e9..5df370e 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) );

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to