diff options
author | Anuj Phogat <[email protected]> | 2014-06-06 12:35:55 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-08-04 17:12:14 -0700 |
commit | 938b3d003401538ceadac28ec5fe0e6ca583d2a6 (patch) | |
tree | 3da25baa664ab4971073bf082c1d715546025009 /src/mesa/main/glformats.h | |
parent | 6df48ff27ad14c341a7ba4f1f833c8dbfbd056c1 (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.h | 3 |
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 |