summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi/util/tgsi_dump.h
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-15 20:07:18 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-02-15 20:07:18 +0900
commit92fcbf6e7bc622dcace226bb70ff6d5cdbdbaecb (patch)
tree5baeedd4c71c19e62ae293397ee93064bdca4227 /src/gallium/auxiliary/tgsi/util/tgsi_dump.h
parent6d3831b11d9f5aaba61cc2fb8ade61437ad7c335 (diff)
Code reorganization: s/aux/auxiliary/.
"aux" is a reserved name on Windows (X_X)
Diffstat (limited to 'src/gallium/auxiliary/tgsi/util/tgsi_dump.h')
-rw-r--r--src/gallium/auxiliary/tgsi/util/tgsi_dump.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_dump.h b/src/gallium/auxiliary/tgsi/util/tgsi_dump.h
new file mode 100644
index 0000000000..1adc9db251
--- /dev/null
+++ b/src/gallium/auxiliary/tgsi/util/tgsi_dump.h
@@ -0,0 +1,28 @@
+#if !defined TGSI_DUMP_H
+#define TGSI_DUMP_H
+
+#if defined __cplusplus
+extern "C" {
+#endif // defined __cplusplus
+
+#define TGSI_DUMP_VERBOSE 1
+#define TGSI_DUMP_NO_IGNORED 2
+#define TGSI_DUMP_NO_DEFAULT 4
+
+void
+tgsi_dump(
+ const struct tgsi_token *tokens,
+ unsigned flags );
+
+void
+tgsi_dump_str(
+ char **str,
+ const struct tgsi_token *tokens,
+ unsigned flags );
+
+#if defined __cplusplus
+} // extern "C"
+#endif // defined __cplusplus
+
+#endif // !defined TGSI_DUMP_H
+