From: nobled Date: Sun, 8 Aug 2010 20:17:30 +0000 (+0000) Subject: gallivm: Use the correct context for integers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd5af8c703d84dd856528554fa615e9787ebe75f;p=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);