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 f1b9579cd3b..6cb902aa2e1 100644
--- a/src/glsl/test_optpass.cpp
+++ b/src/glsl/test_optpass.cpp
@@ -64,7 +64,7 @@ do_optimization(struct exec_list *ir, const char *optimization,
if (sscanf(optimization, "do_common_optimization ( %d , %d ) ",
&int_0, &int_1) == 2) {
- return do_common_optimization(ir, int_0 != 0, false, int_1, options);
+ return do_common_optimization(ir, int_0 != 0, false, int_1, options, true);
} else if (strcmp(optimization, "do_algebraic") == 0) {
return do_algebraic(ir);
} else if (strcmp(optimization, "do_constant_folding") == 0) {