summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2010-04-22 18:36:07 -0400
committerZack Rusin <zackr@vmware.com>2010-04-22 18:36:07 -0400
commit021e0dc78b15fab29e761012860276c2597c8d8f (patch)
tree47358ee32a87554d55794b32ca865f955b32f6ff /src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
parentded2374e67bdc2c24e868775d2ff77b39b339d56 (diff)
gallivm: implement indirect addressing over temporaries
a bit more involved than indirect addressing over consts, but still fairly reasonable. we allocate an array instead of individual alloca's, and we do it only if the shader does indirect addressing.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
index 63b938bfa9..2eac5da6c6 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
@@ -39,6 +39,7 @@
struct tgsi_token;
+struct tgsi_shader_info;
struct lp_type;
struct lp_build_context;
struct lp_build_mask_context;
@@ -78,7 +79,8 @@ lp_build_tgsi_soa(LLVMBuilderRef builder,
const LLVMValueRef *pos,
const LLVMValueRef (*inputs)[4],
LLVMValueRef (*outputs)[4],
- struct lp_build_sampler_soa *sampler);
+ struct lp_build_sampler_soa *sampler,
+ struct tgsi_shader_info *info);
#endif /* LP_BLD_TGSI_H */