summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2015-12-10 21:51:03 -0800
committerEric Anholt <[email protected]>2015-12-11 12:21:22 -0800
commitb70a2f4d81940ef103c95ee51f2a84391a076ac0 (patch)
treeecf70cb95132c75eb64f521dd5fe18f01dfa3586
parent5989ef2b0feb40821a20768c7b4b196b3e793960 (diff)
vc4: Add missing progress note in opt_algebraic.
-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;