summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_s3tc.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-12-08 15:19:44 -0700
committerBrian Paul <brianp@vmware.com>2012-12-14 06:33:07 -0700
commita774eaa57e290a4fe0bcf5827019ac7054d096e0 (patch)
tree8b2f3ae3751b559e9c57ea3e09b4f5e2213f8622 /src/mesa/main/texcompress_s3tc.h
parent2037a06da94bc0e14a0732c50c7d7044d9a29da0 (diff)
downloadexternal_mesa3d-a774eaa57e290a4fe0bcf5827019ac7054d096e0.zip
external_mesa3d-a774eaa57e290a4fe0bcf5827019ac7054d096e0.tar.gz
external_mesa3d-a774eaa57e290a4fe0bcf5827019ac7054d096e0.tar.bz2
mesa: add new texel fetch code for dxt formats
Diffstat (limited to 'src/mesa/main/texcompress_s3tc.h')
-rw-r--r--src/mesa/main/texcompress_s3tc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress_s3tc.h b/src/mesa/main/texcompress_s3tc.h
index 524ac0c..5758e83 100644
--- a/src/mesa/main/texcompress_s3tc.h
+++ b/src/mesa/main/texcompress_s3tc.h
@@ -29,6 +29,7 @@
#include "glheader.h"
#include "mfeatures.h"
#include "texstore.h"
+#include "texcompress.h"
struct gl_context;
struct swrast_texture_image;
@@ -80,4 +81,8 @@ _mesa_fetch_texel_srgba_dxt5(const struct swrast_texture_image *texImage,
extern void
_mesa_init_texture_s3tc(struct gl_context *ctx);
+extern compressed_fetch_func
+_mesa_get_dxt_fetch_func(gl_format format);
+
+
#endif /* TEXCOMPRESS_S3TC_H */