summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobled <[email protected]>2010-08-08 20:17:30 +0000
committerJosé Fonseca <[email protected]>2010-08-08 22:08:52 +0100
commitcd5af8c703d84dd856528554fa615e9787ebe75f (patch)
tree4c687e757604e8d270a7ac109136148d60fe2325
parent4f5e51068bce4e32a9561b4b4d6f3feca33642bf (diff)
gallivm: Use the correct context for integers
See: http://bugs.freedesktop.org/29407
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 21236839fb7..048b29929a4 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@ -533,7 +533,7 @@ emit_fetch(
reg->Register.Index * 4 + swizzle);
/* index_vec = index_vec + addr_vec */
- index_vec = lp_build_add(&bld->base, index_vec, addr_vec);
+ index_vec = lp_build_add(&bld->int_bld, index_vec, addr_vec);
/* Gather values from the constant buffer */
res = build_gather(bld, bld->consts_ptr, index_vec);