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/test_optpass.cpp | |
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/test_optpass.cpp')
-rw-r--r-- | src/glsl/test_optpass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/test_optpass.cpp b/src/glsl/test_optpass.cpp index db5cb26..e4878bf 100644 --- a/src/glsl/test_optpass.cpp +++ b/src/glsl/test_optpass.cpp @@ -65,7 +65,7 @@ do_optimization(struct exec_list *ir, const char *optimization, if (sscanf(optimization, "do_common_optimization ( %d ) ", &int_0) == 1) { return do_common_optimization(ir, int_0 != 0, false, options, true); } else if (strcmp(optimization, "do_algebraic") == 0) { - return do_algebraic(ir, true); + return do_algebraic(ir, true, options); } else if (strcmp(optimization, "do_constant_folding") == 0) { return do_constant_folding(ir); } else if (strcmp(optimization, "do_constant_variable") == 0) { |