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

Author: Francisco Jerez <curroje...@riseup.net>
Date:   Fri Sep 17 15:25:03 2010 +0200

dri/nouveau: Remove unnecessary assertion.

---

 src/mesa/drivers/dri/nouveau/nv04_surface.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/mesa/drivers/dri/nouveau/nv04_surface.c 
b/src/mesa/drivers/dri/nouveau/nv04_surface.c
index 9e7dcf0..ce01036 100644
--- a/src/mesa/drivers/dri/nouveau/nv04_surface.c
+++ b/src/mesa/drivers/dri/nouveau/nv04_surface.c
@@ -214,11 +214,6 @@ nv04_surface_copy_swizzle(GLcontext *ctx,
        assert(_mesa_is_pow_two(dst->width) &&
               _mesa_is_pow_two(dst->height));
 
-        /* If area is too large to copy in one shot we must copy it in
-        * POT chunks to meet alignment requirements */
-       assert(sub_w == w || _mesa_is_pow_two(w));
-       assert(sub_h == h || _mesa_is_pow_two(h));
-
        nouveau_bo_marko(bctx, sifm, NV03_SCALED_IMAGE_FROM_MEMORY_DMA_IMAGE,
                         src->bo, bo_flags | NOUVEAU_BO_RD);
        nouveau_bo_marko(bctx, swzsurf, NV04_SWIZZLED_SURFACE_DMA_IMAGE,

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to