diff options
author | Eric Anholt <[email protected]> | 2010-07-30 17:04:49 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-07-31 15:52:21 -0700 |
commit | 784695442c415cf0be882434a25671ecfb635d34 (patch) | |
tree | 8aeab49d863c67b5df5ff9643966790931382b72 /src/glsl/linker.cpp | |
parent | d72edc4dddb6dd7908ef0d3f2cec353b028bf6c5 (diff) |
glsl2: Add new tree grafting optimization pass.
Diffstat (limited to 'src/glsl/linker.cpp')
-rw-r--r-- | src/glsl/linker.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index e9daad28ecf..9b47e4788fc 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -1286,6 +1286,7 @@ link_shaders(struct gl_shader_program *prog) progress = do_copy_propagation(ir) || progress; progress = do_dead_code_local(ir) || progress; progress = do_dead_code(ir) || progress; + progress = do_tree_grafting(ir) || progress; progress = do_constant_variable_unlinked(ir) || progress; progress = do_constant_folding(ir) || progress; progress = do_if_return(ir) || progress; |