dri/nouveau: Remove unnecessary assertion.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 17 Sep 2010 13:25:03 +0000 (15:25 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 21 Sep 2010 00:43:12 +0000 (02:43 +0200)
src/mesa/drivers/dri/nouveau/nv04_surface.c

index 9e7dcf0a88f936b0aea681d45e9801ac0cbc08b8..ce0103604c21bfa0bfd363f930b4abb155fcddcb 100644 (file)
@@ -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,