st/mesa: Fix source miptree level for copying data to finalized miptree.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 19 Oct 2012 09:59:35 +0000 (11:59 +0200)
committerMichel Dänzer <michel@daenzer.net>
Fri, 19 Oct 2012 14:01:14 +0000 (16:01 +0200)
commitc2e37b1d2e1b8014475c7d2698fba317c9082d70
tree32bc9dd8fa45f0af19939db15c5e47abd8827fd7
parent26fc30ef83a9b1bb3d7379e7816e1f1eaafd6fb3
st/mesa: Fix source miptree level for copying data to finalized miptree.

Fixes WebGL texture mips conformance test, no piglit regressions.

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

NOTE: This is a candidate for the stable branches.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
src/mesa/state_tracker/st_cb_texture.c