aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/llvm/gallivm.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-11-01 05:53:44 -0400
committerZack Rusin <[email protected]>2007-11-02 07:15:18 -0400
commit2af2f7e419c1b6d796822a049f019afe3dfc6021 (patch)
tree79fbe1a91cbf298d7ae655694a8d2dbaa8868e9f /src/mesa/pipe/llvm/gallivm.h
parent25d91c23ff834a129e537891ec3ad63197d37da5 (diff)
Change the fragment shader signature to better match actual
arguments that we need there.
Diffstat (limited to 'src/mesa/pipe/llvm/gallivm.h')
-rw-r--r--src/mesa/pipe/llvm/gallivm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/pipe/llvm/gallivm.h b/src/mesa/pipe/llvm/gallivm.h
index 636a585daea..aaaabf25b19 100644
--- a/src/mesa/pipe/llvm/gallivm.h
+++ b/src/mesa/pipe/llvm/gallivm.h
@@ -45,6 +45,8 @@ struct tgsi_token;
struct gallivm_prog;
struct gallivm_cpu_engine;
+struct tgsi_interp_coef;
+struct tgsi_sampler;
enum gallivm_shader_type {
GALLIVM_VS,
@@ -62,11 +64,11 @@ int gallivm_prog_exec(struct gallivm_prog *prog,
int num_attribs);
int gallivm_fragment_shader_exec(struct gallivm_prog *prog,
float x, float y,
- float (*dests)[4],
+ float (*dests)[32][4],
struct tgsi_interp_coef *coef,
float (*consts)[4],
struct tgsi_sampler *samplers,
- int num_samplers);
+ unsigned *sampler_units);
void gallivm_prog_dump(struct gallivm_prog *prog, const char *file_prefix);