summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_etc.h
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2012-11-12 16:28:07 -0800
committerIan Romanick <[email protected]>2012-12-07 16:29:48 -0800
commitdc86cb3705eb8af51e4a951f24bb1b67c4929dc8 (patch)
treee5984e0d2cd0a71607051dbb158158d88f8c4ba9 /src/mesa/main/texcompress_etc.h
parent5ea8cd008426a0d92a524ccb747b8d3c02f1142a (diff)
mesa: Add decoding functions for GL_COMPRESSED_R11_EAC
Data in GL_COMPRESSED_R11_EAC format is decoded and stored in MESA_FORMAT_R16. Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress_etc.h')
-rw-r--r--src/mesa/main/texcompress_etc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress_etc.h b/src/mesa/main/texcompress_etc.h
index cfe8da3dabc..85c474c0186 100644
--- a/src/mesa/main/texcompress_etc.h
+++ b/src/mesa/main/texcompress_etc.h
@@ -46,6 +46,9 @@ _mesa_texstore_etc2_rgba8_eac(TEXSTORE_PARAMS);
GLboolean
_mesa_texstore_etc2_srgb8_alpha8_eac(TEXSTORE_PARAMS);
+GLboolean
+_mesa_texstore_etc2_r11_eac(TEXSTORE_PARAMS);
+
void
_mesa_fetch_texel_2d_f_etc1_rgb8(const struct swrast_texture_image *texImage,
GLint i, GLint j, GLint k, GLfloat *texel);
@@ -64,6 +67,9 @@ _mesa_fetch_texel_2d_f_etc2_srgb8_alpha8_eac(const struct
swrast_texture_image *texImage,
GLint i, GLint j,
GLint k, GLfloat *texel);
+void
+_mesa_fetch_texel_2d_f_etc2_r11_eac(const struct swrast_texture_image *texImage,
+ GLint i, GLint j, GLint k, GLfloat *texel);
void
_mesa_etc1_unpack_rgba8888(uint8_t *dst_row,