summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/test_optpass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/test_optpass.cpp')
-rw-r--r--src/compiler/glsl/test_optpass.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/compiler/glsl/test_optpass.cpp b/src/compiler/glsl/test_optpass.cpp
index c6e97888f69..5fd1b2b6757 100644
--- a/src/compiler/glsl/test_optpass.cpp
+++ b/src/compiler/glsl/test_optpass.cpp
@@ -102,12 +102,10 @@ do_optimization(struct exec_list *ir, const char *optimization,
return lower_if_to_cond_assign(MESA_SHADER_VERTEX, ir, int_0);
} else if (strcmp(optimization, "do_mat_op_to_vec") == 0) {
return do_mat_op_to_vec(ir);
- } else if (strcmp(optimization, "do_noop_swizzle") == 0) {
- return do_noop_swizzle(ir);
+ } else if (strcmp(optimization, "optimize_swizzles") == 0) {
+ return optimize_swizzles(ir);
} else if (strcmp(optimization, "do_structure_splitting") == 0) {
return do_structure_splitting(ir);
- } else if (strcmp(optimization, "do_swizzle_swizzle") == 0) {
- return do_swizzle_swizzle(ir);
} else if (strcmp(optimization, "do_tree_grafting") == 0) {
return do_tree_grafting(ir);
} else if (strcmp(optimization, "do_vec_index_to_cond_assign") == 0) {