[Mesa-dev] [PATCH 03/13] mesa: Add decoding functions for GL_COMPRESSED_RGB8_ETC2

2012-12-06 Thread Ian Romanick
From: Anuj Phogat Data in GL_COMPRESSED_RGB8_ETC2 format is decoded and stored in MESA_FORMAT_RGBX_REV. v2: Use CLAMP macro and stdbool.h Signed-off-by: Anuj Phogat Reviewed-by: Brian Paul --- src/mesa/main/texcompress.c | 2 +- src/mesa/main/texcompress_etc.c | 460

[Mesa-dev] [PATCH 03/13] mesa: Add decoding functions for GL_COMPRESSED_RGB8_ETC2

2012-11-12 Thread Anuj Phogat
Data in GL_COMPRESSED_RGB8_ETC2 format is decoded and stored in MESA_FORMAT_RGBX_REV. v2: Use CLAMP macro and stdbool.h Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress_etc.c | 460 ++- src/mesa/main/texcompress_etc.h | 16 ++- 2 files changed,