diff options
author | Marek Olšák <[email protected]> | 2015-07-04 13:17:07 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-07-22 23:56:00 +0200 |
commit | 8141b4cee514bb673e394f6fbe2cbe02e5b0faf2 (patch) | |
tree | 6eaa3943105fcd069390c02ed0960b3580d10d5e /src/gallium/auxiliary/tgsi/tgsi_dump.h | |
parent | d082c5324914212f76e45be497229c7a0681f706 (diff) |
tgsi: allow dumping to a file directly
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_dump.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.h b/src/gallium/auxiliary/tgsi/tgsi_dump.h index bc873a54ae9..7c8f92ee7bc 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_dump.h +++ b/src/gallium/auxiliary/tgsi/tgsi_dump.h @@ -32,6 +32,8 @@ #include "pipe/p_defines.h" #include "pipe/p_shader_tokens.h" +#include <stdio.h> + #if defined __cplusplus extern "C" { #endif @@ -44,6 +46,9 @@ tgsi_dump_str( size_t size); void +tgsi_dump_to_file(const struct tgsi_token *tokens, uint flags, FILE *file); + +void tgsi_dump( const struct tgsi_token *tokens, uint flags ); |