From 9c71876d96f8cb27036a8e8d76fc2b859fd02c57 Mon Sep 17 00:00:00 2001 From: nobled Date: Sun, 8 Aug 2010 20:17:30 +0000 Subject: [PATCH] gallivm: Use the correct context for integers See: http://bugs.freedesktop.org/29407 --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 +- 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 f0e85fd..87bd628 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -534,7 +534,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); -- 1.5.4.3