summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-11-03 20:41:08 +1000
committerDave Airlie <[email protected]>2012-11-09 09:24:41 +1000
commite0e7e29554b7a4a723315eef3df5fb9bad28a70a (patch)
treea76e6c8db2fc06211a64bb066759a0019320f6b4 /src/mesa/main/texobj.h
parent5a5a80e02161f6ec9e36b25699183e0a6d3ad3eb (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.h')
-rw-r--r--src/mesa/main/texobj.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h
index f22c58cade4..f86b4ebcdd4 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)