Module: Mesa
Branch: master
Commit: b70a2f4d81940ef103c95ee51f2a84391a076ac0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b70a2f4d81940ef103c95ee51f2a84391a076ac0

Author: Eric Anholt <e...@anholt.net>
Date:   Thu Dec 10 21:51:03 2015 -0800

vc4: Add missing progress note in opt_algebraic.

---

 src/gallium/drivers/vc4/vc4_opt_algebraic.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/vc4/vc4_opt_algebraic.c 
b/src/gallium/drivers/vc4/vc4_opt_algebraic.c
index 07a9226..f2e1938 100644
--- a/src/gallium/drivers/vc4/vc4_opt_algebraic.c
+++ b/src/gallium/drivers/vc4/vc4_opt_algebraic.c
@@ -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;
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to