summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_texfetch.c
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2012-09-17 14:47:56 -0700
committerIan Romanick <[email protected]>2012-12-07 16:29:48 -0800
commit81911101eedffed5ab13bce5a76bbcd2eefaffd6 (patch)
tree2074f7deb6c1281b9aa30fb67ef889d6eca70185 /src/mesa/swrast/s_texfetch.c
parent38d523584c918ee255c669936a4d16b1c9657e85 (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_texfetch.c')
-rw-r--r--src/mesa/swrast/s_texfetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index 8f0f9b754ef..c1e16b4390e 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
},
{