summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authormichal <michal@capacitor.(none)>2010-08-18 13:16:42 +0200
committermichal <michal@capacitor.(none)>2010-08-18 13:16:42 +0200
commit8690c6a6b4fb0b48e2ae75cd0f64de86b039081c (patch)
treeac557e1c9a9803b37ffef9075986ccbffed33cef /src/gallium/auxiliary
parentc17d5de593fbfee91b799894b1c1a8a37a6a9c95 (diff)
gallivm: Use proper index to lookup predicate register array.
Doesn't fix anything, as those indices were both always 0.
Diffstat (limited to 'src/gallium/auxiliary')
-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 0aa64affac..ca8db9ce01 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@ -802,7 +802,7 @@ emit_store(
case TGSI_FILE_PREDICATE:
lp_exec_mask_store(&bld->exec_mask, pred, value,
- bld->preds[index][chan_index]);
+ bld->preds[reg->Register.Index][chan_index]);
break;
default: