summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glformats.h
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2014-06-06 12:35:55 -0700
committerAnuj Phogat <[email protected]>2014-08-04 17:12:14 -0700
commit938b3d003401538ceadac28ec5fe0e6ca583d2a6 (patch)
tree3da25baa664ab4971073bf082c1d715546025009 /src/mesa/main/glformats.h
parent6df48ff27ad14c341a7ba4f1f833c8dbfbd056c1 (diff)
mesa: Add utility function _mesa_is_enum_format_unorm()
V2: Add missing formats. 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 6c553aee821..7b032157076 100644
--- a/src/mesa/main/glformats.h
+++ b/src/mesa/main/glformats.h
@@ -60,6 +60,9 @@ extern GLboolean
_mesa_is_enum_format_unsized(GLenum format);
extern GLboolean
+_mesa_is_enum_format_unorm(GLenum format);
+
+extern GLboolean
_mesa_is_enum_format_snorm(GLenum format);
extern GLboolean