summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-10-31 10:52:57 -0600
committerBrian Paul <[email protected]>2011-10-31 10:52:57 -0600
commit414e183ed7345828ce3ca572ddab1ad6317ec175 (patch)
tree08c05bbdce0ef74353d3457dd4d210c3afc80fbb /src
parent12d69fca096facf0ddb4642faaed4d5f02d76848 (diff)
mesa: add note about immutable textures for _mesa_test_texobj_completeness()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/texobj.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 4d9942ba899..a8c0b8ee8b9 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -406,6 +406,10 @@ incomplete(struct gl_texture_object *t, const char *fmt, ...)
* The gl_texture_object::Complete flag will be set to GL_TRUE or GL_FALSE
* accordingly.
*
+ * XXX TODO: For immutable textures (GL_ARB_texture_storage) we can skip
+ * many of the checks below since we know the mipmap images will have
+ * consistent sizes.
+ *
* \param ctx GL context.
* \param t texture object.
*