diff options
author | Matt Turner <[email protected]> | 2014-02-28 17:49:20 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-06-19 16:11:51 -0700 |
commit | f043971097f2c707c3104845066ad2cc72f65708 (patch) | |
tree | fc6d024a2c29fdfa303f5f8f64405d729f27bc63 /src/glsl/ir_optimization.h | |
parent | 1d9f74eda75da05b4d5c7df5fc1e6f5ab8d88322 (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/ir_optimization.h')
-rw-r--r-- | src/glsl/ir_optimization.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/ir_optimization.h b/src/glsl/ir_optimization.h index e99bebbb859..b83c2259234 100644 --- a/src/glsl/ir_optimization.h +++ b/src/glsl/ir_optimization.h @@ -72,7 +72,8 @@ bool do_common_optimization(exec_list *ir, bool linked, bool native_integers); bool do_rebalance_tree(exec_list *instructions); -bool do_algebraic(exec_list *instructions, bool native_integers); +bool do_algebraic(exec_list *instructions, bool native_integers, + const struct gl_shader_compiler_options *options); bool do_constant_folding(exec_list *instructions); bool do_constant_variable(exec_list *instructions); bool do_constant_variable_unlinked(exec_list *instructions); |