summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/llvm/llvmtgsi.h
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-15 08:12:22 -0400
committerZack Rusin <zack@tungstengraphics.com>2007-10-24 11:21:03 -0400
commit9e6d58fac26a12246e9e560f3802ebcbce2423bc (patch)
tree34ecae9618556f873819e76478ab466446f10caf /src/mesa/pipe/llvm/llvmtgsi.h
parent2dbba8b024720c11cb2d812b5ccb61ecb9887faa (diff)
Generate the base shader.
Diffstat (limited to 'src/mesa/pipe/llvm/llvmtgsi.h')
-rw-r--r--src/mesa/pipe/llvm/llvmtgsi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/llvm/llvmtgsi.h b/src/mesa/pipe/llvm/llvmtgsi.h
index 9fbb0ea8f9..b1b5717f6d 100644
--- a/src/mesa/pipe/llvm/llvmtgsi.h
+++ b/src/mesa/pipe/llvm/llvmtgsi.h
@@ -12,6 +12,7 @@ struct tgsi_sampler;
struct ga_llvm_prog {
void *module;
void *engine;
+ void *function;
};
struct ga_llvm_prog *
ga_llvm_from_tgsi(const struct tgsi_token *tokens);
@@ -22,7 +23,8 @@ int ga_llvm_prog_exec(struct ga_llvm_prog *prog,
float (*inputs)[32][4],
void *dests[16*32*4],
float (*consts)[4],
- int count);
+ int count,
+ int num_attribs);
#if defined __cplusplus
} // extern "C"