i965: Move the comment to the right place
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 13 Feb 2015 00:59:12 +0000 (16:59 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 25 Feb 2015 22:11:37 +0000 (14:11 -0800)
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c

index 66e7c639ef724608ae0e2839fdc307e9b63090d0..2ad9c70b7eb22d52f034b5308db2e77ce80c042a 100644 (file)
@@ -2298,6 +2298,7 @@ can_blit_slice(struct intel_mipmap_tree *mt,
    if (image_x >= 32768 || image_y >= 32768)
       return false;
 
+   /* See intel_miptree_blit() for details on the 32k pitch limit. */
    if (mt->pitch >= 32768)
       return false;
 
@@ -2352,7 +2353,6 @@ intel_miptree_map(struct brw_context *brw,
    } else if (mt->stencil_mt && !(mode & BRW_MAP_DIRECT_BIT)) {
       intel_miptree_map_depthstencil(brw, mt, map, level, slice);
    }
-   /* See intel_miptree_blit() for details on the 32k pitch limit. */
    else if (brw->has_llc &&
             !(mode & GL_MAP_WRITE_BIT) &&
             !mt->compressed &&