summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/llvmtgsi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/llvm/llvmtgsi.h')
-rw-r--r--src/mesa/pipe/llvm/llvmtgsi.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mesa/pipe/llvm/llvmtgsi.h b/src/mesa/pipe/llvm/llvmtgsi.h
index 1226dc713b..2b9540f747 100644
--- a/src/mesa/pipe/llvm/llvmtgsi.h
+++ b/src/mesa/pipe/llvm/llvmtgsi.h
@@ -12,13 +12,8 @@ struct tgsi_token;
struct tgsi_sampler;
struct pipe_context;
-struct ga_llvm_prog {
- void *module;
- void *engine;
- void *function;
- int num_consts;
- int id;
-};
+struct ga_llvm_prog;
+
struct ga_llvm_prog *
ga_llvm_from_tgsi(struct pipe_context *pipe, const struct tgsi_token *tokens);
@@ -32,6 +27,8 @@ int ga_llvm_prog_exec(struct ga_llvm_prog *prog,
int num_inputs,
int num_attribs);
+void ga_llvm_prog_dump(struct ga_llvm_prog *prog, const char *file_prefix);
+
#if defined __cplusplus
} // extern "C"
#endif