aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/shaderimage.h')
-rw-r--r--src/mesa/main/shaderimage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/shaderimage.h b/src/mesa/main/shaderimage.h
index 94ee814a716..794c926d040 100644
--- a/src/mesa/main/shaderimage.h
+++ b/src/mesa/main/shaderimage.h
@@ -43,6 +43,14 @@ mesa_format
_mesa_get_shader_image_format(GLenum format);
/**
+ * Return whether an image format should be supported based on the current API
+ * version of the context.
+ */
+bool
+_mesa_is_shader_image_format_supported(const struct gl_context *ctx,
+ GLenum format);
+
+/**
* Get a single image unit struct with the default state.
*/
struct gl_image_unit