mesa: implement mipmap generation for compressed 2D array textures
authorBrian Paul <brianp@vmware.com>
Tue, 16 Jul 2013 12:04:32 +0000 (06:04 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Jul 2013 21:29:30 +0000 (15:29 -0600)
commit8a9df7a370b66ec50b6255e4d66ac1ed331319fb
treee38ba6460c68064798728e504a4814a7c7594d83
parent484fa879847fdc7c9ef22231315f78a4c342e85d
mesa: implement mipmap generation for compressed 2D array textures

We weren't looping over all the slices in the array.  The updated
code should also correctly handle 3D compressed textures too, whenever
we have that feature.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66850

NOTE: This is a candidate for the 9.x branches
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/mipmap.c