summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/llvmtgsi.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-10-15 09:59:19 -0400
committerZack Rusin <[email protected]>2007-10-24 11:21:03 -0400
commit5ffdada717466a78b5b148764ba23c7a95098887 (patch)
treec7005dde4cfd245d650b21278f8d358397a34564 /src/mesa/pipe/llvm/llvmtgsi.h
parent9e6d58fac26a12246e9e560f3802ebcbce2423bc (diff)
Execution engine is a singleton, for now keep it in the pipe.
Diffstat (limited to 'src/mesa/pipe/llvm/llvmtgsi.h')
-rw-r--r--src/mesa/pipe/llvm/llvmtgsi.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/llvm/llvmtgsi.h b/src/mesa/pipe/llvm/llvmtgsi.h
index b1b5717f6d0..f78fbce4c61 100644
--- a/src/mesa/pipe/llvm/llvmtgsi.h
+++ b/src/mesa/pipe/llvm/llvmtgsi.h
@@ -8,6 +8,7 @@ extern "C" {
struct tgsi_exec_machine;
struct tgsi_token;
struct tgsi_sampler;
+struct pipe_context;
struct ga_llvm_prog {
void *module;
@@ -15,13 +16,13 @@ struct ga_llvm_prog {
void *function;
};
struct ga_llvm_prog *
-ga_llvm_from_tgsi(const struct tgsi_token *tokens);
+ga_llvm_from_tgsi(struct pipe_context *pipe, 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,
float (*inputs)[32][4],
- void *dests[16*32*4],
+ float (*dests)[32][4],
float (*consts)[4],
int count,
int num_attribs);