Mesa (map-texture-image-v5): meta: added comment about decompression of signed formats

Brian Paul brianp at kemper.freedesktop.org
Wed Aug 31 20:30:57 PDT 2011


Module: Mesa
Branch: map-texture-image-v5
Commit: e7a571ad96d6eea784328a231b3f1c1021b2a633
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7a571ad96d6eea784328a231b3f1c1021b2a633

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Aug 31 20:04:15 2011 -0600

meta: added comment about decompression of signed formats

---

 src/mesa/drivers/common/meta.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index 20ebc02..7171916 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -3275,6 +3275,8 @@ decompress_texture_image(struct gl_context *ctx,
  * This is just a wrapper around _mesa_get_tex_image() and
  * decompress_texture_image().  Meta functions should not be directly called
  * from core Mesa.
+ * NOTE: decompression of compressed textures does not work properly for
+ * signed texels.
  */
 void
 _mesa_meta_GetTexImage(struct gl_context *ctx, GLenum target, GLint level,



More information about the mesa-commit mailing list