Mesa (master): gallivm: Use the correct context for integers
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Sun Aug 8 21:09:11 UTC 2010
Module: Mesa
Branch: master
Commit: cd5af8c703d84dd856528554fa615e9787ebe75f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd5af8c703d84dd856528554fa615e9787ebe75f
Author: nobled <nobled at dreamwidth.org>
Date: Sun Aug 8 20:17:30 2010 +0000
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 2123683..048b299 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);
More information about the mesa-commit
mailing list