UPSTREAM: compiler/glsl: Return progress from propagate_invariance()

Doing so allow you to easily tell what the pass did using the existing
infrastructure in the OPT macro.

BUG=b:177028255
TEST=CtsDeqp on dedede

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10292>
(cherry picked from commit 5ef4296cb651e39402263c426d3edbee99ea1220)
Change-Id: If7c954427dae30c6e31ac19f71a6cea0a57680dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/2891949
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Robert Tarasov <tutankhamen@chromium.org>
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
3 files changed