vc4: Add missing progress note in opt_algebraic.
authorEric Anholt <eric@anholt.net>
Fri, 11 Dec 2015 05:51:03 +0000 (21:51 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 11 Dec 2015 20:21:22 +0000 (12:21 -0800)
src/gallium/drivers/vc4/vc4_opt_algebraic.c

index 07a9226..f2e1938 100644 (file)
@@ -181,6 +181,7 @@ qir_opt_algebraic(struct vc4_compile *c)
                 case QOP_SUB:
                         if (is_zero(c, inst->src[1])) {
                                 replace_with_mov(c, inst, inst->src[0]);
+                                progress = true;
                         }
                         break;