From fdef5bff99e6079f64bc6b91c91b42195c85adeb Mon Sep 17 00:00:00 2001 From: marha Date: Mon, 2 Jul 2012 08:47:42 +0200 Subject: mesa pixman xserver git update 2 Jul 2012 --- mesalib/src/gallium/auxiliary/util/u_format.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mesalib/src/gallium/auxiliary/util/u_format.h') diff --git a/mesalib/src/gallium/auxiliary/util/u_format.h b/mesalib/src/gallium/auxiliary/util/u_format.h index 1718fb5e2..e35e164b4 100644 --- a/mesalib/src/gallium/auxiliary/util/u_format.h +++ b/mesalib/src/gallium/auxiliary/util/u_format.h @@ -590,6 +590,13 @@ util_format_is_pure_sint(enum pipe_format format); boolean util_format_is_pure_uint(enum pipe_format format); +/** + * Whether the format is a simple array format where all channels + * are of the same type and can be loaded from memory as a vector + */ +boolean +util_format_is_array(const struct util_format_description *desc); + /** * Check if the src format can be blitted to the destination format with * a simple memcpy. For example, blitting from RGBA to RGBx is OK, but not -- cgit v1.2.3