diff options
author | Anuj Phogat <anuj.phogat@gmail.com> | 2012-09-17 14:47:56 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2012-12-07 16:29:48 -0800 |
commit | 81911101eedffed5ab13bce5a76bbcd2eefaffd6 (patch) | |
tree | 2074f7deb6c1281b9aa30fb67ef889d6eca70185 /src/mesa/swrast/s_texfetch.c | |
parent | 38d523584c918ee255c669936a4d16b1c9657e85 (diff) | |
download | external_mesa3d-81911101eedffed5ab13bce5a76bbcd2eefaffd6.zip external_mesa3d-81911101eedffed5ab13bce5a76bbcd2eefaffd6.tar.gz external_mesa3d-81911101eedffed5ab13bce5a76bbcd2eefaffd6.tar.bz2 |
mesa: Add decoding functions for GL_COMPRESSED_RGB8_ETC2
Data in GL_COMPRESSED_RGB8_ETC2 format is decoded and stored in
MESA_FORMAT_RGBX8888_REV.
v2: Use CLAMP macro and stdbool.h
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/swrast/s_texfetch.c')
-rw-r--r-- | src/mesa/swrast/s_texfetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c index 8f0f9b7..c1e16b4 100644 --- a/src/mesa/swrast/s_texfetch.c +++ b/src/mesa/swrast/s_texfetch.c @@ -1031,7 +1031,7 @@ texfetch_funcs[] = { MESA_FORMAT_ETC2_RGB8, NULL, - NULL /* _mesa_fetch_texel_2d_f_etc2_rgb8 -- not implemented yet */, + _mesa_fetch_texel_2d_f_etc2_rgb8, NULL }, { |