summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_simplify.h
blob: b3840ee9df86bb9551b79798124674b6ea24e27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#ifndef SLANG_SIMPLIFY_H
#define SLANG_SIMPLIFY_H


extern GLint
_slang_lookup_constant(const char *name);


extern void
_slang_simplify(slang_operation *oper,
                const slang_name_space * space,
                slang_atom_pool * atoms);


extern GLboolean
_slang_adapt_call(slang_operation *callOper, const slang_function *fun,
                  const slang_name_space * space,
                  slang_atom_pool * atoms, slang_info_log *log);


#endif /* SLANG_SIMPLIFY_H */