From 313566825405c33f26a0471a997ec4c79fae6b08 Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Tue, 25 Mar 2014 13:00:12 -0700 Subject: mesa: Add helper function _mesa_is_format_integer() This function will be used in the following patch. Cc: Signed-off-by: Anuj Phogat Reviewed-by: Brian Paul --- src/mesa/main/formats.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main/formats.h') 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); -- cgit v1.2.3