summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2014-08-28 15:15:02 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-09-03 17:26:06 -0700
commit96ce065db46d11f5ad6423f4a522f3e92153b3cf (patch)
tree853647fa2472677143f03eb8b53cb9388fb32b84 /src
parent702b6ea05178388aef22af36a53362212ce9b629 (diff)
glsl: Report progress from opt_copy_propagation_elements().
It's been altering the tree and reporting "false" since January 2011. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/glsl/opt_copy_propagation_elements.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/opt_copy_propagation_elements.cpp b/src/glsl/opt_copy_propagation_elements.cpp
index a67f5070cb0..c3e55bcd145 100644
--- a/src/glsl/opt_copy_propagation_elements.cpp
+++ b/src/glsl/opt_copy_propagation_elements.cpp
@@ -288,6 +288,7 @@ ir_copy_propagation_elements_visitor::handle_rvalue(ir_rvalue **ir)
source_chan[2],
source_chan[3],
chans);
+ progress = true;
if (debug) {
printf("to:\n");