projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
001eee5
)
gallivm: fix storing of the addr register
author
Zack Rusin
<zackr@vmware.com>
Tue, 30 Nov 2010 07:01:43 +0000
(
02:01
-0500)
committer
Zack Rusin
<zackr@vmware.com>
Tue, 30 Nov 2010 07:01:43 +0000
(
02:01
-0500)
we store into the index specified by the register index, not an
indirect register.
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 7f0f058c2225d75dd53fca86bec148f486f690e6..2f658195b2ca6c22d669fb5e2541ce45cca7552f 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@
-984,7
+984,7
@@
emit_store(
case TGSI_FILE_ADDRESS:
lp_exec_mask_store(&bld->exec_mask, pred, value,
- bld->addr[reg->
Indirect
.Index][chan_index]);
+ bld->addr[reg->
Register
.Index][chan_index]);
break;
case TGSI_FILE_PREDICATE: