summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_print.h
blob: 81cf0a844eed39f524ed24e823eb087fbfc5df1d (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
29
30
31
32
33
34
35


#ifndef SLANG_PRINT
#define SLANG_PRINT

extern void
slang_print_function(const slang_function *f, GLboolean body);

extern void
slang_print_tree(const slang_operation *op, int indent);


#if 0
extern const char *
slang_asm_string(slang_assembly_type t);
#endif

extern const char *
slang_type_qual_string(slang_type_qualifier q);

extern void
slang_print_type(const slang_fully_specified_type *t);

extern void
slang_print_variable(const slang_variable *v);

extern void
_slang_print_var_scope(const slang_variable_scope *s, int indent);


extern int
slang_checksum_tree(const slang_operation *op);

#endif /* SLANG_PRINT */