From: Eric Anholt Date: Mon, 26 Oct 2015 20:57:57 +0000 (-0700) Subject: vc4: Don't try to follow MOVs across a pack. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d7a088608b38b3a460ad7ba5c7fb575815c8a43;p=mesa.git vc4: Don't try to follow MOVs across a pack. --- diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c index d9f51bb4a3f..59a4e62159c 100644 --- 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]; }