glsl: Pass in options to do_algebraic().

Will be used in the next commit.

Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Matt Turner
2014-02-28 17:49:20 -08:00
parent 1d9f74eda7
commit f043971097
4 changed files with 12 additions and 6 deletions

View File

@@ -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);