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
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,