diff options
author | marha <marha@users.sourceforge.net> | 2012-07-02 08:47:42 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-07-02 08:47:42 +0200 |
commit | fdef5bff99e6079f64bc6b91c91b42195c85adeb (patch) | |
tree | 5d9c311d9f36cfa26850d02801388953ccc17b54 /mesalib/src/gallium/auxiliary/util/u_format.h | |
parent | f6d1847eef027266daa0f75ee92ceb09698b2761 (diff) | |
download | vcxsrv-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.h | 7 |
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. |