diff options
author | Jordan Justen <[email protected]> | 2012-12-27 13:24:57 -0800 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2013-01-12 01:40:47 -0800 |
commit | 6d63b6e50371afdcfe6dc7a4239380d07bc8e727 (patch) | |
tree | 94a86cece65ce522b1f2383fa69d186a90b99fc0 /src/mesa/main/glformats.h | |
parent | 2ace406b1fa502219d353e5d259d1c4bcd5633a5 (diff) |
glformats: add functions to detect signed/unsigned integer types
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.h')
-rw-r--r-- | src/mesa/main/glformats.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h index ccfb5e13ca4..d1208ef4ffe 100644 --- a/src/mesa/main/glformats.h +++ b/src/mesa/main/glformats.h @@ -62,6 +62,12 @@ extern GLboolean _mesa_is_enum_format_integer(GLenum format); extern GLboolean +_mesa_is_enum_format_unsigned_int(GLenum format); + +extern GLboolean +_mesa_is_enum_format_signed_int(GLenum format); + +extern GLboolean _mesa_is_enum_format_or_type_integer(GLenum format, GLenum type); extern GLboolean |