aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-02-28 17:49:20 -0800
committerMatt Turner <[email protected]>2014-06-19 16:11:51 -0700
commitf043971097f2c707c3104845066ad2cc72f65708 (patch)
treefc6d024a2c29fdfa303f5f8f64405d729f27bc63 /src/glsl/glsl_parser_extras.cpp
parent1d9f74eda75da05b4d5c7df5fc1e6f5ab8d88322 (diff)
glsl: Pass in options to do_algebraic().
Will be used in the next commit. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.cpp')
-rw-r--r--src/glsl/glsl_parser_extras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 80f53e3d796..13a1bca33b0 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -1570,7 +1570,7 @@ do_common_optimization(exec_list *ir, bool linked,
progress = do_constant_folding(ir) || progress;
progress = do_cse(ir) || progress;
progress = do_rebalance_tree(ir) || progress;
- progress = do_algebraic(ir, native_integers) || progress;
+ progress = do_algebraic(ir, native_integers, options) || progress;
progress = do_lower_jumps(ir) || progress;
progress = do_vec_index_to_swizzle(ir) || progress;
progress = lower_vector_insert(ir, false) || progress;