summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_dump.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-09-02 15:52:44 +0100
committerJosé Fonseca <[email protected]>2010-10-11 13:05:31 +0100
commit11dad217186a4c177cb41aa526531d6cd46ae5b0 (patch)
tree407bd81114c89d8552c124623c203c808e948764 /src/gallium/auxiliary/tgsi/tgsi_dump.h
parent6c1aa4fd49dab7af21902726d274e0a5a7fea8df (diff)
tgsi: Export some names for some tgsi enums.
Useful to give human legible names in other cases.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_dump.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.h b/src/gallium/auxiliary/tgsi/tgsi_dump.h
index dd78b361007..fc0429ad8d9 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_dump.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_dump.h
@@ -35,6 +35,15 @@
extern "C" {
#endif
+extern const char *
+tgsi_file_names[TGSI_FILE_COUNT];
+
+extern const char *
+tgsi_swizzle_names[];
+
+extern const char *
+tgsi_texture_names[];
+
void
tgsi_dump_str(
const struct tgsi_token *tokens,