Added helper functions for determining if an internal format is an integer or floating point format.

TRAC #23049

Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
Author: Geoff Lang

git-svn-id: https://angleproject.googlecode.com/svn/branches/es3proto@2374 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/formatutils.h b/src/libGLESv2/formatutils.h
index bc2ae6c..5492f9b 100644
--- a/src/libGLESv2/formatutils.h
+++ b/src/libGLESv2/formatutils.h
@@ -56,6 +56,12 @@
 GLenum GetFormat(GLint internalFormat, GLuint clientVersion);
 GLenum GetType(GLint internalFormat, GLuint clientVersion);
 
+bool IsNormalizedFixedPointFormat(GLint internalFormat, GLuint clientVersion);
+bool IsIntegerFormat(GLint internalFormat, GLuint clientVersion);
+bool IsSignedIntegerFormat(GLint internalFormat, GLuint clientVersion);
+bool IsUnsignedIntegerFormat(GLint internalFormat, GLuint clientVersion);
+bool IsFloatingPointFormat(GLint internalFormat, GLuint clientVersion);
+
 bool IsColorRenderingSupported(GLint internalFormat, const rx::Renderer *renderer);
 bool IsColorRenderingSupported(GLint internalFormat, const Context *context);
 bool IsTextureFilteringSupported(GLint internalFormat, const rx::Renderer *renderer);