tgsi: show textual format representation
[mesa.git] / src / gallium / auxiliary / tgsi / tgsi_dump.c
index 36f0cc57946c37aba70d456c846db4c02f010615..f232f3870d1e8f86a1aa9b2b395b5911baf687c1 100644 (file)
@@ -352,7 +352,7 @@ iter_declaration(
       TXT(", ");
       ENM(decl->Image.Resource, tgsi_texture_names);
       TXT(", ");
-      UID(decl->Image.Format);
+      TXT(util_format_name(decl->Image.Format));
       if (decl->Image.Writable)
          TXT(", WR");
       if (decl->Image.Raw)