summaryrefslogtreecommitdiffstats
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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/shaderimage.h b/src/mesa/main/shaderimage.h
index 794c926d040..85193e104f6 100644
--- a/src/mesa/main/shaderimage.h
+++ b/src/mesa/main/shaderimage.h
@@ -43,6 +43,12 @@ mesa_format
_mesa_get_shader_image_format(GLenum format);
/**
+ * Get the GL image format class for a shader image format GL enum
+ */
+GLenum
+_mesa_get_image_format_class(GLenum format);
+
+/**
* Return whether an image format should be supported based on the current API
* version of the context.
*/