diff options
author | Anuj Phogat <[email protected]> | 2012-11-12 16:32:08 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-12-07 16:29:48 -0800 |
commit | aa217090f52dc532b84186a63c07167bd82e8f22 (patch) | |
tree | 920ddb6909411ad8ed1bf69f2fd2418ec8f33fe4 /src/mesa/main/texcompress_etc.h | |
parent | dc86cb3705eb8af51e4a951f24bb1b67c4929dc8 (diff) |
mesa: Add decoding functions for GL_COMPRESSED_RG11_EAC
Data in GL_COMPRESSED_RG11_EAC format is decoded and stored in
MESA_FORMAT_RG1616.
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.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/texcompress_etc.h b/src/mesa/main/texcompress_etc.h index 85c474c0186..36070a828af 100644 --- a/src/mesa/main/texcompress_etc.h +++ b/src/mesa/main/texcompress_etc.h @@ -49,6 +49,9 @@ _mesa_texstore_etc2_srgb8_alpha8_eac(TEXSTORE_PARAMS); GLboolean _mesa_texstore_etc2_r11_eac(TEXSTORE_PARAMS); +GLboolean +_mesa_texstore_etc2_rg11_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); @@ -70,7 +73,9 @@ _mesa_fetch_texel_2d_f_etc2_srgb8_alpha8_eac(const struct 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_fetch_texel_2d_f_etc2_rg11_eac(const struct swrast_texture_image *texImage, + GLint i, GLint j, GLint k, GLfloat *texel); void _mesa_etc1_unpack_rgba8888(uint8_t *dst_row, unsigned dst_stride, |