Mesa (master): gallivm: Use proper index to lookup predicate register array .
MichaŠKról
michal at kemper.freedesktop.org
Wed Aug 18 11:19:01 UTC 2010
Module: Mesa
Branch: master
Commit: 8690c6a6b4fb0b48e2ae75cd0f64de86b039081c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8690c6a6b4fb0b48e2ae75cd0f64de86b039081c
Author: michal <michal at capacitor.(none)>
Date: Wed Aug 18 13:16:42 2010 +0200
gallivm: Use proper index to lookup predicate register array.
Doesn't fix anything, as those indices were both always 0.
---
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 +-
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 0aa64af..ca8db9c 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:
More information about the mesa-commit
mailing list