diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-10-15 09:59:19 -0400 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2007-10-24 11:21:03 -0400 |
commit | 5ffdada717466a78b5b148764ba23c7a95098887 (patch) | |
tree | c7005dde4cfd245d650b21278f8d358397a34564 /src/mesa/pipe/llvm/llvmtgsi.h | |
parent | 9e6d58fac26a12246e9e560f3802ebcbce2423bc (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.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/pipe/llvm/llvmtgsi.h b/src/mesa/pipe/llvm/llvmtgsi.h index b1b5717f6d..f78fbce4c6 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); |