summaryrefslogtreecommitdiffstats
path: root/src/glsl/test_optpass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/test_optpass.cpp')
-rw-r--r--src/glsl/test_optpass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/test_optpass.cpp b/src/glsl/test_optpass.cpp
index db5cb266207..e4878bf15c7 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) {