diff options
author | Anuj Phogat <[email protected]> | 2014-03-25 13:00:12 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-04-16 18:37:06 -0700 |
commit | 313566825405c33f26a0471a997ec4c79fae6b08 (patch) | |
tree | 3e8cf30d141051e7a949201510fce99ebc50e4c5 /src/mesa/main/formats.h | |
parent | fdd8bebc22f167f19d9cafbe2e7c189cb3720bcb (diff) |
mesa: Add helper function _mesa_is_format_integer()
This function will be used in the following patch.
Cc: <[email protected]>
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r-- | src/mesa/main/formats.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index 89bd0219eab..185010e029c 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -445,6 +445,9 @@ _mesa_is_format_unsigned(mesa_format format); extern GLboolean _mesa_is_format_signed(mesa_format format); +extern GLboolean +_mesa_is_format_integer(mesa_format format); + extern GLenum _mesa_get_format_color_encoding(mesa_format format); |