util: Add the shortened format name to the description.
[mesa.git] / src / gallium / auxiliary / util / u_format.h
index e8fa0022b5b54eb707f95e8509feb231083b7993..ec6b0777349410dd14e2b0219f9e4c920af52feb 100644 (file)
@@ -120,8 +120,14 @@ 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.
     */