st/mesa: fix mipmap image size computation w.r.t. texture arrays
authorBrian Paul <brianp@vmware.com>
Fri, 23 Mar 2012 14:16:58 +0000 (08:16 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 23 Mar 2012 16:08:49 +0000 (10:08 -0600)
commit318669f196ca922337da02af9d72773e76e70b45
treede929a4376c38729aab7a88329e7c82406daf604
parent281d0fd3a9cd2b4e97cdb58eb7854f9f90220fc7
st/mesa: fix mipmap image size computation w.r.t. texture arrays

The image height or depth is the array_size for array textures.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=47742

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
src/mesa/state_tracker/st_gen_mipmap.c