summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glformats.h
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2014-06-06 14:47:52 -0700
committerAnuj Phogat <[email protected]>2014-08-04 17:11:25 -0700
commit845b5ec89fb5543a3d38a31e1e8bc5f84449ea6c (patch)
tree5ed87b5247b05c972ea362ddea2de421c001084c /src/mesa/main/glformats.h
parent3c7a0c690a1a0d72ad2b911e4a209447ce3edc1f (diff)
mesa: Add utility function _mesa_is_enum_format_snorm()
Cc: <[email protected]> Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.h')
-rw-r--r--src/mesa/main/glformats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h
index d64114ec9b0..76e9a2493d6 100644
--- a/src/mesa/main/glformats.h
+++ b/src/mesa/main/glformats.h
@@ -57,6 +57,9 @@ extern GLboolean
_mesa_is_type_unsigned(GLenum type);
extern GLboolean
+_mesa_is_enum_format_snorm(GLenum format);
+
+extern GLboolean
_mesa_is_enum_format_integer(GLenum format);
extern GLboolean