summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_etc.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-12-08 15:19:44 -0700
committerBrian Paul <[email protected]>2012-12-14 06:33:07 -0700
commitad3e39bb6dcb139c3eb6a460833f30ba0fb3e974 (patch)
treeab2d59b65d70aa4347c0b8a8cdc36257f32fab91 /src/mesa/main/texcompress_etc.h
parentcd7baf5bf488299da0e75c7d04dd611274a0eb8f (diff)
mesa: add new texel fetch code for etc formats
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 5e086d4e79c..09d62de81bc 100644
--- a/src/mesa/main/texcompress_etc.h
+++ b/src/mesa/main/texcompress_etc.h
@@ -27,8 +27,10 @@
#include <inttypes.h>
#include "glheader.h"
#include "mfeatures.h"
+#include "texcompress.h"
#include "texstore.h"
+
struct swrast_texture_image;
GLboolean
@@ -123,4 +125,8 @@ _mesa_unpack_etc2_format(uint8_t *dst_row,
unsigned src_width,
unsigned src_height,
gl_format format);
+
+compressed_fetch_func
+_mesa_get_etc_fetch_func(gl_format format);
+
#endif