diff options
author | Anuj Phogat <[email protected]> | 2014-06-05 11:13:16 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-08-04 17:11:44 -0700 |
commit | e0fe00eeac75d8fdd378a1f7633d2efd1db0a7b0 (patch) | |
tree | 718992fad9afbc9f032f2ebdb84d07074405ea5b /src/mesa/main/glformats.h | |
parent | 2d362a6aee0a1acab08590f2ba0ce50743546209 (diff) |
mesa: Add a helper function _mesa_is_enum_format_unsized()
Function is utilized by next patch in the series.
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 76e9a2493d6..6c553aee821 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_unsized(GLenum format); + +extern GLboolean _mesa_is_enum_format_snorm(GLenum format); extern GLboolean |