summaryrefslogtreecommitdiff
path: root/src/mesa/slang/slang_print.h
blob: 99da3041437d70c171199251ebb90118385e38c6 (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

#include "main/glheader.h"
#include "slang_compile_function.h"
#include "slang_compile_operation.h"
#include "slang_compile_variable.h"
#include "slang_typeinfo.h"

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

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

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