diff options
author | Jason Ekstrand <[email protected]> | 2014-08-26 14:26:44 -0700 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-01-12 11:20:28 +0100 |
commit | f89793946af22b720f746a5fb8b33d7b2f3e199b (patch) | |
tree | 2d1ea566846572f2c0db404a53c350b4132f8115 /src/mesa/main/formats.h | |
parent | 3c19251f28e6b4feff81f48b1c73f1f2e09e38e1 (diff) |
mesa: Add a _mesa_is_format_color_format helper
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Anuj Phogat <[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 dd07c35f5d9..4f83208bd4c 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -625,6 +625,9 @@ _mesa_is_format_integer(mesa_format format); extern bool _mesa_is_format_etc2(mesa_format format); +GLenum +_mesa_is_format_color_format(mesa_format format); + extern GLenum _mesa_get_format_color_encoding(mesa_format format); |