summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
diff options
context:
space:
mode:
authornobled <nobled@dreamwidth.org>2010-08-08 20:17:30 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-08-08 22:08:52 +0100
commitcd5af8c703d84dd856528554fa615e9787ebe75f (patch)
tree4c687e757604e8d270a7ac109136148d60fe2325 /src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
parent4f5e51068bce4e32a9561b4b4d6f3feca33642bf (diff)
gallivm: Use the correct context for integers
See: http://bugs.freedesktop.org/29407
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c')
-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 21236839fb..048b29929a 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);