projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c17d5de
)
gallivm: Use proper index to lookup predicate register array.
author
michal
<michal@capacitor.(none)>
Wed, 18 Aug 2010 11:16:42 +0000
(13:16 +0200)
committer
michal
<michal@capacitor.(none)>
Wed, 18 Aug 2010 11:16:42 +0000
(13:16 +0200)
Doesn't fix anything, as those indices were both always 0.
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
0aa64af
..
ca8db9c
100644
(file)
--- 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[
i
ndex][chan_index]);
+ bld->preds[
reg->Register.I
ndex][chan_index]);
break;
default: