projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f5e510
)
gallivm: Use the correct context for integers
author
nobled
<nobled@dreamwidth.org>
Sun, 8 Aug 2010 20:17:30 +0000
(20:17 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Sun, 8 Aug 2010 21:08:52 +0000
(22:08 +0100)
See:
http://bugs.freedesktop.org/29407
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 21236839fb730ae5e9fb9917f398ed3167a98733..048b29929a4897729f29f19439a4392ab32f67c0 100644
(file)
--- 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);