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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
index 794d599db3b..c6653bc5984 100644
--- a/src/mesa/main/formats.h
+++ b/src/mesa/main/formats.h
@@ -663,6 +663,10 @@ _mesa_get_format_base_format(uint32_t format);
extern void
_mesa_get_format_block_size(mesa_format format, GLuint *bw, GLuint *bh);
+extern void
+_mesa_get_format_block_size_3d(mesa_format format, GLuint *bw,
+ GLuint *bh, GLuint *bd);
+
extern mesa_array_format
_mesa_array_format_flip_channels(mesa_array_format format);