From: nobled Date: Sun, 8 Aug 2010 20:17:30 +0000 (+0000) Subject: gallivm: Use the correct context for integers X-Git-Tag: android-x86-2.2~2488 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cd5af8c703d84dd856528554fa615e9787ebe75f;p=android-x86%2Fexternal-mesa.git gallivm: Use the correct context for integers See: http://bugs.freedesktop.org/29407 --- 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);