Mesa (master): i915g: blitter handles overlapping blits

Daniel Vetter danvet at kemper.freedesktop.org
Thu Mar 10 22:27:24 UTC 2011


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

Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date:   Sun Mar  6 12:05:23 2011 +0100

i915g: blitter handles overlapping blits

No need to assert.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

---

 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) );




More information about the mesa-commit mailing list