summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-12-10 21:51:03 -0800
committerEric Anholt <eric@anholt.net>2015-12-11 17:04:00 -0800
commite4cf550501cb10a6fcfb63acd11c853f41ff9f6b (patch)
treed7243653a75e7cd3e1b9172cac223d8e918158c3
parentecf2885d7f6b015127c8e2a73818fc7aa37903d3 (diff)
vc4: Add missing progress note in opt_algebraic.
(cherry picked from commit b70a2f4d81940ef103c95ee51f2a84391a076ac0)
-rw-r--r--src/gallium/drivers/vc4/vc4_opt_algebraic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_opt_algebraic.c b/src/gallium/drivers/vc4/vc4_opt_algebraic.c
index 07a92266dd2..f2e1938f474 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;