projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eb0760
)
vc4: Don't try to follow MOVs across a pack.
author
Eric Anholt
<eric@anholt.net>
Mon, 26 Oct 2015 20:57:57 +0000
(13:57 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 26 Oct 2015 23:48:34 +0000
(16:48 -0700)
src/gallium/drivers/vc4/vc4_qir.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_qir.c
b/src/gallium/drivers/vc4/vc4_qir.c
index d9f51bb4a3f6e01b4437546a3282475143c57e1f..59a4e62159cd8ac106d3b267d525fb6ce4c6b88c 100644
(file)
--- a/
src/gallium/drivers/vc4/vc4_qir.c
+++ b/
src/gallium/drivers/vc4/vc4_qir.c
@@
-429,7
+429,8
@@
qir_follow_movs(struct vc4_compile *c, struct qreg reg)
{
while (reg.file == QFILE_TEMP &&
c->defs[reg.index] &&
- c->defs[reg.index]->op == QOP_MOV) {
+ c->defs[reg.index]->op == QOP_MOV &&
+ !c->defs[reg.index]->dst.pack) {
reg = c->defs[reg.index]->src[0];
}