summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-11-30 02:01:43 -0500
committerZack Rusin <[email protected]>2010-11-30 02:01:43 -0500
commit557280542399629ac64a48f5b618365e2b18fce1 (patch)
tree5a5e9a0420059305754c5156a71477fb552891e8 /src
parent001eee52d461233b1e1d6ed3577965e9bcb209e8 (diff)
gallivm: fix storing of the addr register
we store into the index specified by the register index, not an indirect register.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c2
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 7f0f058c222..2f658195b2c 100644
--- 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: