diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-02-15 11:18:04 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-02-15 11:18:04 +0000 |
commit | 30d0bacf7aecfb6013ddd665d7385209899eeebd (patch) | |
tree | ce764e101617349add47e4250aed1adde8b6407e /src/gallium/auxiliary/tgsi/util/tgsi_dump.h | |
parent | 6ac2c1cc0cd1253ba2014d459010032127f185ec (diff) | |
parent | 66f22aa3bf7fa546e946b45156aa578e202982c9 (diff) |
Merge commit 'origin/gallium-0.1' into gallium-0.1
Diffstat (limited to 'src/gallium/auxiliary/tgsi/util/tgsi_dump.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/util/tgsi_dump.h | 28 |
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 + |