freedreno/a4xx: format updates
[mesa.git] / src / gallium / drivers / vc4 / vc4_opt_copy_propagation.c
index d6d2fbf257f1313a3c6adb80bba230542959b3e2..a755de9aa418c03181cadcd61155f64585eaff80 100644 (file)
@@ -67,10 +67,7 @@ qir_opt_copy_propagation(struct vc4_compile *c)
 
                 if (inst->op == QOP_MOV &&
                     inst->dst.file == QFILE_TEMP &&
-                    inst->src[0].file != QFILE_VPM &&
-                    !(inst->src[0].file == QFILE_TEMP &&
-                      (c->defs[inst->src[0].index]->op == QOP_TEX_RESULT ||
-                       c->defs[inst->src[0].index]->op == QOP_TLB_COLOR_READ))) {
+                    inst->src[0].file != QFILE_VPM) {
                         movs[inst->dst.index] = inst->src[0];
                 }
         }