diff options
author | Dave Airlie <airlied@gmail.com> | 2012-11-03 20:41:08 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-09 09:24:41 +1000 |
commit | e0e7e29554b7a4a723315eef3df5fb9bad28a70a (patch) | |
tree | a76e6c8db2fc06211a64bb066759a0019320f6b4 /src/mesa/main/texobj.h | |
parent | 5a5a80e02161f6ec9e36b25699183e0a6d3ad3eb (diff) | |
download | external_mesa3d-e0e7e29554b7a4a723315eef3df5fb9bad28a70a.zip external_mesa3d-e0e7e29554b7a4a723315eef3df5fb9bad28a70a.tar.gz external_mesa3d-e0e7e29554b7a4a723315eef3df5fb9bad28a70a.tar.bz2 |
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>
Diffstat (limited to 'src/mesa/main/texobj.h')
-rw-r--r-- | src/mesa/main/texobj.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h index f22c58c..f86b4eb 100644 --- a/src/mesa/main/texobj.h +++ b/src/mesa/main/texobj.h @@ -81,6 +81,8 @@ _mesa_reference_texobj(struct gl_texture_object **ptr, /** * Return number of faces for a texture target. This will be 6 for * cube maps (and cube map arrays) and 1 otherwise. + * NOTE: this function is not used for cube map arrays which operate + * more like 2D arrays than cube maps. */ static inline GLuint _mesa_num_tex_faces(GLenum target) |