summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_opt_copy_propagation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_opt_copy_propagation.c b/src/gallium/drivers/vc4/vc4_opt_copy_propagation.c
index 9cf1352514c..5ead3787ac5 100644
--- 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];
}
}