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/main.cpp | |
parent | d72edc4dddb6dd7908ef0d3f2cec353b028bf6c5 (diff) |
glsl2: Add new tree grafting optimization pass.
Diffstat (limited to 'src/glsl/main.cpp')
-rw-r--r-- | src/glsl/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp index 08b133f124e..d557dcc4933 100644 --- a/src/glsl/main.cpp +++ b/src/glsl/main.cpp @@ -163,6 +163,7 @@ compile_shader(struct gl_shader *shader) progress = do_copy_propagation(shader->ir) || progress; progress = do_dead_code_local(shader->ir) || progress; progress = do_dead_code_unlinked(shader->ir) || progress; + progress = do_tree_grafting(shader->ir) || progress; progress = do_constant_variable_unlinked(shader->ir) || progress; progress = do_constant_folding(shader->ir) || progress; progress = do_algebraic(shader->ir) || progress; |