projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be22e1e
)
gallivm: added comment
author
Brian Paul
<brianp@vmware.com>
Wed, 21 Jul 2010 15:17:47 +0000
(09:17 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 21 Jul 2010 16:16:32 +0000
(10:16 -0600)
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 670c9747c0af3b157d0e8238377cc6ca22d230cd..05f63526ee5c1bbd37f34a6e625a7de94eccb67c 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@
-481,6
+481,12
@@
emit_fetch(
}
if (reg->Register.Indirect) {
+ /*
+ * Compute addr_vec: a vector of offsets into the register file
+ * from which we need to gather elements. Recall that the ADDR
+ * register's elements can all be different.
+ */
+
LLVMTypeRef int_vec_type = lp_build_int_vec_type(bld->base.type);
unsigned swizzle = tgsi_util_get_src_register_swizzle( ®->Indirect, chan_index );