diff options
author | nobled <[email protected]> | 2010-08-08 20:17:30 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-08-08 22:08:52 +0100 |
commit | cd5af8c703d84dd856528554fa615e9787ebe75f (patch) | |
tree | 4c687e757604e8d270a7ac109136148d60fe2325 /src/gallium/auxiliary/gallivm | |
parent | 4f5e51068bce4e32a9561b4b4d6f3feca33642bf (diff) |
gallivm: Use the correct context for integers
See:
http://bugs.freedesktop.org/29407
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r-- | 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 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); |