It's been altering the tree and reporting "false" since January 2011.

Signed-off-by: Kenneth Graunke <[email protected]>
---
 src/glsl/opt_copy_propagation_elements.cpp | 1 +
 1 file changed, 1 insertion(+)

No changes in shader-db (34,558 shaders) nor Piglit on Haswell.

diff --git a/src/glsl/opt_copy_propagation_elements.cpp 
b/src/glsl/opt_copy_propagation_elements.cpp
index a67f507..c3e55bc 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");
-- 
2.1.0

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to