summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_format.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-03-06 12:46:29 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-03-06 12:46:29 +0000
commit4afae877e6914e311340e0b1d3490ec2fed9422f (patch)
tree38cdd5857a626fed144793b22b7b8c35daf22e0d /src/gallium/auxiliary/util/u_format.h
parentf133861a93913a7087ad10ad39f2931d8be1e192 (diff)
util: Add the shortened format name to the description.
Diffstat (limited to 'src/gallium/auxiliary/util/u_format.h')
-rw-r--r--src/gallium/auxiliary/util/u_format.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h
index e8fa0022b5..ec6b077734 100644
--- a/src/gallium/auxiliary/util/u_format.h
+++ b/src/gallium/auxiliary/util/u_format.h
@@ -120,9 +120,15 @@ struct util_format_channel_description
struct util_format_description
{
enum pipe_format format;
+
const char *name;
/**
+ * Short name, striped of the prefix, lower case.
+ */
+ const char *short_name;
+
+ /**
* Pixel block dimensions.
*/
struct util_format_block block;