mesa: fix software fallback for generating mipmaps for 3D textures
authorMarek Olšák <marek.olsak@amd.com>
Wed, 12 Mar 2014 01:04:03 +0000 (02:04 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 20 Mar 2014 23:50:53 +0000 (00:50 +0100)
commit91df26842fb36e6f1ec33db5c028ae34c9993f1d
treea8ed196fea819c73aa8814d3d4e22888fc863f69
parent78c60d1b630c2c21dd987ea1bb3713802f22cd29
mesa: fix software fallback for generating mipmaps for 3D textures

It didn't use the driver-provided src/dstRowStride at all.
This was broken for the cases when stride != width*bpp.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/mipmap.c