projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d04432
)
vc4: Fix the no-copy-propagating-from-TLB_COLOR_READ check.
author
Eric Anholt
<eric@anholt.net>
Fri, 9 Jan 2015 15:22:50 +0000
(07:22 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 10 Jan 2015 00:54:12 +0000
(13:54 +1300)
Our MOV's dst obviously won't be the TLB_COLOR_READ's def, because we're
ssa.
src/gallium/drivers/vc4/vc4_opt_copy_propagation.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_opt_copy_propagation.c
b/src/gallium/drivers/vc4/vc4_opt_copy_propagation.c
index
9cf1352
..
5ead378
100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_opt_copy_propagation.c
+++ b/
src/gallium/drivers/vc4/vc4_opt_copy_propagation.c
@@
-89,7
+89,7
@@
qir_opt_copy_propagation(struct vc4_compile *c)
inst->dst.file == QFILE_TEMP &&
(inst->src[0].file != QFILE_TEMP ||
(defs[inst->src[0].index]->op != QOP_TEX_RESULT &&
- defs[inst->
dst
.index]->op != QOP_TLB_COLOR_READ))) {
+ defs[inst->
src[0]
.index]->op != QOP_TLB_COLOR_READ))) {
movs[inst->dst.index] = inst->src[0];
}
}