diff options
author | Brian Paul <[email protected]> | 2012-12-08 15:19:44 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-12-14 06:33:07 -0700 |
commit | a774eaa57e290a4fe0bcf5827019ac7054d096e0 (patch) | |
tree | 8b2f3ae3751b559e9c57ea3e09b4f5e2213f8622 /src/mesa/main/texcompress_s3tc.h | |
parent | 2037a06da94bc0e14a0732c50c7d7044d9a29da0 (diff) |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress_s3tc.h b/src/mesa/main/texcompress_s3tc.h index 524ac0c134e..5758e8365c1 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 */ |