diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-10-08 10:24:35 -0400 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2007-10-24 11:21:03 -0400 |
commit | b2e529982eb702ea039f6436c9dece39401a4c9c (patch) | |
tree | 631036582a6580c105752b2fbe5ed41fef01225c /src/mesa/pipe/llvm/llvmtgsi.h | |
parent | 4664261f8d8fefa347bf38a224f6584d0fdeebfc (diff) |
Initial stab at LLVM integration.
Diffstat (limited to 'src/mesa/pipe/llvm/llvmtgsi.h')
-rw-r--r-- | src/mesa/pipe/llvm/llvmtgsi.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mesa/pipe/llvm/llvmtgsi.h b/src/mesa/pipe/llvm/llvmtgsi.h new file mode 100644 index 0000000000..c0cee915b9 --- /dev/null +++ b/src/mesa/pipe/llvm/llvmtgsi.h @@ -0,0 +1,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 |