summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_print.h
blob: a98607a540f7ea9b8ca84fcc5a0fd5bbd704fd05 (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
36
37
38


#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);


extern void
slang_print_opcode(unsigned int opcode);


extern const char *
slang_asm_string(slang_assembly_type t);


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 */