diff options
author | Zack Rusin <[email protected]> | 2008-02-13 04:38:10 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2008-02-13 04:38:10 -0500 |
commit | 4bb1a14d901fcddb25efeeff49c4dea8ca872f73 (patch) | |
tree | 9abc2e5fe642b06374d6690035174918ebd12b06 /src/mesa/pipe/llvm/gallivm_cpu.cpp | |
parent | e179d5bdd199e3747773f5b07efcf9a635c41089 (diff) |
handle temporaries in llvm code generated paths
Diffstat (limited to 'src/mesa/pipe/llvm/gallivm_cpu.cpp')
-rw-r--r-- | src/mesa/pipe/llvm/gallivm_cpu.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mesa/pipe/llvm/gallivm_cpu.cpp b/src/mesa/pipe/llvm/gallivm_cpu.cpp index 011cba55c23..dc4d92a72a6 100644 --- a/src/mesa/pipe/llvm/gallivm_cpu.cpp +++ b/src/mesa/pipe/llvm/gallivm_cpu.cpp @@ -177,10 +177,7 @@ struct gallivm_cpu_engine * gallivm_global_cpu_engine() typedef void (*vertex_shader_runner)(void *ainputs, void *dests, float (*aconsts)[4], - int num_vertices, - int num_inputs, - int num_attribs, - int num_consts); + void *temps); /*! @@ -191,12 +188,13 @@ typedef void (*vertex_shader_runner)(void *ainputs, int gallivm_cpu_vs_exec(struct gallivm_prog *prog, struct tgsi_exec_vector *inputs, struct tgsi_exec_vector *dests, - float (*consts)[4]) + float (*consts)[4], + struct tgsi_exec_vector *temps) { vertex_shader_runner runner = reinterpret_cast<vertex_shader_runner>(prog->function); assert(runner); /*FIXME*/ - runner(inputs, dests, consts, 4, 4, 4, prog->num_consts); + runner(inputs, dests, consts, temps); return 0; } |