gallivm: Use the correct context for integers

See:
http://bugs.freedesktop.org/29407
This commit is contained in:
nobled 2010-08-08 20:17:30 +00:00 committed by José Fonseca
parent 4f5e51068b
commit cd5af8c703

View file

@ -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);