Although most of the patch is incorrect, the following change is still
necessary isn't it?
        if (mt->compressed) {
           mip1_width = ALIGN(minify(mt->physical_width0, 1), mt->align_w) +
-             ALIGN(minify(mt->physical_width0, 2), bw);
+             ALIGN(minify(mt->physical_width0, 2), mt->align_w);

Each LOD is aligned by the alignment term. I don't see why we're
switching to block width here.

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

Reply via email to