meta: Add support for CUBE_MAP_ARRAY to generatemipmap.
authorEric Anholt <eric@anholt.net>
Tue, 8 Apr 2014 20:34:39 +0000 (13:34 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 15 Apr 2014 21:34:22 +0000 (14:34 -0700)
commit70961c032fab53ae30a25b95445eae5aaf8c2068
tree54da85077fa17856d668fb5d3b19907dfbb6f1f8
parentbb3f983d102bf09b8315f50494633bf489721a52
meta: Add support for CUBE_MAP_ARRAY to generatemipmap.

I added support to bind_fbo_image in the process of building meta
CopyTexSubImage, and found that it broke generatemipmap because previously
we would just throw a GL error there and then end up with an incomplete
FBO and fallback.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta_generate_mipmap.c