diff options
-rw-r--r-- | src/mesa/main/teximage.c | 2 | ||||
-rw-r--r-- | src/mesa/main/teximage.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 3f8e2a6dd4d..63c28d1447d 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1266,7 +1266,7 @@ compressedteximage_only_format(const struct gl_context *ctx, GLenum format) /** * Return true if the format doesn't support online compression. */ -static bool +bool _mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format) { return _mesa_is_astc_format(format) || diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index b3829aa56a5..41f145c4cc8 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -214,6 +214,9 @@ _mesa_legal_texture_base_format_for_target(struct gl_context *ctx, unsigned dimensions, const char *caller); +bool +_mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format); + GLboolean _mesa_is_renderable_texture_format(struct gl_context *ctx, GLenum internalformat); |