diff options
author | Anuj Phogat <[email protected]> | 2012-10-10 13:46:20 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-12-07 16:29:48 -0800 |
commit | 75211f4367cab6477890111211d3437bf469670b (patch) | |
tree | 305fa1cdbcef5c7a741cf43d92fe005c0cff9c08 /src/mesa/main/texcompress_etc.h | |
parent | 7697f25667d13031a46d1c373ea53919c06c9df5 (diff) |
mesa: Add decoding functions for GL_COMPRESSED_SIGNED_RG11_EAC
Data in GL_COMPRESSED_SIGNED_RG11_EAC format is decoded and stored in
MESA_FORMAT_SIGNED_GR1616.
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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress_etc.h b/src/mesa/main/texcompress_etc.h index a67df2feba7..23ec1e3409d 100644 --- a/src/mesa/main/texcompress_etc.h +++ b/src/mesa/main/texcompress_etc.h @@ -55,6 +55,9 @@ _mesa_texstore_etc2_rg11_eac(TEXSTORE_PARAMS); GLboolean _mesa_texstore_etc2_signed_r11_eac(TEXSTORE_PARAMS); +GLboolean +_mesa_texstore_etc2_signed_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); @@ -85,6 +88,11 @@ _mesa_fetch_texel_2d_f_etc2_signed_r11_eac(const struct GLint i, GLint j, GLint k, GLfloat *texel); void +_mesa_fetch_texel_2d_f_etc2_signed_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, const uint8_t *src_row, |