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 07a92266dd2e0830d3c485f60a2ac088ea054a19..f2e1938f474033461276c08a10031b679dce692f 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;