aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/gallium/auxiliary/util/u_format.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-07-02 08:47:42 +0200
committermarha <marha@users.sourceforge.net>2012-07-02 08:47:42 +0200
commitfdef5bff99e6079f64bc6b91c91b42195c85adeb (patch)
tree5d9c311d9f36cfa26850d02801388953ccc17b54 /mesalib/src/gallium/auxiliary/util/u_format.h
parentf6d1847eef027266daa0f75ee92ceb09698b2761 (diff)
downloadvcxsrv-fdef5bff99e6079f64bc6b91c91b42195c85adeb.tar.gz
vcxsrv-fdef5bff99e6079f64bc6b91c91b42195c85adeb.tar.bz2
vcxsrv-fdef5bff99e6079f64bc6b91c91b42195c85adeb.zip
mesa pixman xserver git update 2 Jul 2012
Diffstat (limited to 'mesalib/src/gallium/auxiliary/util/u_format.h')
-rw-r--r--mesalib/src/gallium/auxiliary/util/u_format.h7
1 files changed, 7 insertions, 0 deletions
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
@@ -591,6 +591,13 @@ 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
* the reverse.