blob: c0cee915b92b921c527423b9c5ababea9bc49a4e (
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
|
#ifndef LLVMTGSI_H
#define LLVMTGSI_H
#if defined __cplusplus
extern "C" {
#endif
struct tgsi_exec_machine;
struct tgsi_token;
struct tgsi_sampler;
struct ga_llvm_prog {
void *module;
void *engine;
};
struct ga_llvm_prog *
ga_llvm_from_tgsi(const struct tgsi_token *tokens);
void ga_llvm_prog_delete(struct ga_llvm_prog *prog);
int ga_llvm_prog_exec(struct ga_llvm_prog *prog);
#if defined __cplusplus
} // extern "C"
#endif
#endif
|