aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-09-03 10:54:41 +0100
committerJosé Fonseca <[email protected]>2010-09-11 13:27:27 +0100
commit225530f1f222152754521eb4708d6352cd179656 (patch)
tree873da925256c104ce82e3046af765acdb8039659 /src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
parent775edbfaa1ab0077fd60e1e5283081279763d0d8 (diff)
gallivm: Cleanup the TGSI <-> sampler interface.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
index 2793a1a3976..6bf510cbefd 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_aos.c
@@ -74,7 +74,7 @@ struct lp_build_tgsi_aos_context
const LLVMValueRef *inputs;
LLVMValueRef *outputs;
- const struct lp_build_sampler_aos *sampler;
+ struct lp_build_sampler_aos *sampler;
LLVMValueRef immediates[LP_MAX_TGSI_IMMEDIATES];
LLVMValueRef temps[LP_MAX_TGSI_TEMPS];
@@ -398,8 +398,7 @@ emit_tex(struct lp_build_tgsi_aos_context *bld,
}
return bld->sampler->emit_fetch_texel(bld->sampler,
- bld->base.builder,
- bld->base.type,
+ &bld->base,
target, unit,
coords, ddx, ddy,
modifier);