mesa: add fbo/texture support for ARB_texture_cube_map_array (v2)
authorDave Airlie <airlied@gmail.com>
Sat, 3 Nov 2012 10:41:08 +0000 (20:41 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Nov 2012 23:24:41 +0000 (09:24 +1000)
commite0e7e29554b7a4a723315eef3df5fb9bad28a70a
treea76e6c8db2fc06211a64bb066759a0019320f6b4
parent5a5a80e02161f6ec9e36b25699183e0a6d3ad3eb
mesa: add fbo/texture support for ARB_texture_cube_map_array (v2)

This adds the mesa core + texture + fbo support for the
texture cube map array extension.

v2:
add comment to _mesa_num_tex_faces related to cube map arrays (Brian)
drop wrong comment cut-n-paste (Brian)
fix / 6 maximum check issue (Kenneth)
coalsece some array case statements (Kenneth)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/fbobject.c
src/mesa/main/mtypes.h
src/mesa/main/shared.c
src/mesa/main/teximage.c
src/mesa/main/texobj.c
src/mesa/main/texobj.h
src/mesa/main/texparam.c
src/mesa/main/texstate.c
src/mesa/main/texstorage.c
src/mesa/main/texstore.c