aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/util/tgsi_dump.h
blob: 1adc9db2519bfd20b0b4616835275ea17c151657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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