glsl: Report progress from opt_copy_propagation_elements().
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 28 Aug 2014 22:15:02 +0000 (15:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 Sep 2014 00:26:06 +0000 (17:26 -0700)
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>
src/glsl/opt_copy_propagation_elements.cpp

index a67f5070cb0a621b923c9e49644894fc19923205..c3e55bcd14591c08dba32b669a44e64bbc362a81 100644 (file)
@@ -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");