diff options
author | Matt Turner <mattst88@gmail.com> | 2014-02-28 17:49:20 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-06-19 16:11:51 -0700 |
commit | f043971097f2c707c3104845066ad2cc72f65708 (patch) | |
tree | fc6d024a2c29fdfa303f5f8f64405d729f27bc63 /src/glsl/ir_optimization.h | |
parent | 1d9f74eda75da05b4d5c7df5fc1e6f5ab8d88322 (diff) | |
download | external_mesa3d-f043971097f2c707c3104845066ad2cc72f65708.zip external_mesa3d-f043971097f2c707c3104845066ad2cc72f65708.tar.gz external_mesa3d-f043971097f2c707c3104845066ad2cc72f65708.tar.bz2 |
glsl: Pass in options to do_algebraic().
Will be used in the next commit.
Reviewed-by: Eric Anholt <eric@anholt.net>
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 e99bebb..b83c225 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); |