Created attachment 27379 [details] [review]
rowstride on small compressed mipmaps is wrong on r200/r100 (tested on r200). A quick look compared to pre-radeon-rewrite code suggests to me it's actually wrong for r300 too, but I'm not too sure about that, hence I'm not fixing this directly someone should test it on r300 as I don't know what the stride should really be on which chips, though I suspect it should be row_align just as for uncompressed textures (it can easily be seen in quake3 for instance when compressed textures are enabled some distant textures turn into random color bits).
The wrong pitch is fixed (801c3fcbca69a17f0696522b91cbfc378094974b) but unfortunately it doesn't completely fix the problem so leaving this bug open.
Fixed with 50c736589ee0edbedf9ac434e883483b82b3030a.
on May 25, 2016 at 14:54:16.
(provided by the Example extension).