summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r--src/mesa/main/formats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 72f1b1e2874..91ea023077f 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -155,6 +155,9 @@ _mesa_get_format_datatype(gl_format format);
extern GLenum
_mesa_get_format_base_format(gl_format format);
+extern void
+_mesa_get_format_block_size(gl_format format, GLuint *bw, GLuint *bh);
+
extern GLboolean
_mesa_is_format_compressed(gl_format format);