diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-06-15 14:06:57 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2018-07-27 10:51:25 -0700 |
commit | 1d71981b274ecfb9764b360772be7e9bcc868484 (patch) | |
tree | 8161cfb5cd60eb227c5b23a3dc1bd676d4ead4b1 /src/compiler/glsl/test_optpass.cpp | |
parent | 134b5a7047f97fbf2537c5e4f31fa08264e1c130 (diff) |
glsl: use only copy_propagation_elements
Now that the elements version handles both cases, remove the
non-elements version.
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Thomas Helland <[email protected]>
Diffstat (limited to 'src/compiler/glsl/test_optpass.cpp')
-rw-r--r-- | src/compiler/glsl/test_optpass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/compiler/glsl/test_optpass.cpp b/src/compiler/glsl/test_optpass.cpp index 1fd9db102c6..735129d91e9 100644 --- a/src/compiler/glsl/test_optpass.cpp +++ b/src/compiler/glsl/test_optpass.cpp @@ -73,8 +73,6 @@ do_optimization(struct exec_list *ir, const char *optimization, return do_constant_variable(ir); } else if (strcmp(optimization, "do_constant_variable_unlinked") == 0) { return do_constant_variable_unlinked(ir); - } else if (strcmp(optimization, "do_copy_propagation") == 0) { - return do_copy_propagation(ir); } else if (strcmp(optimization, "do_copy_propagation_elements") == 0) { return do_copy_propagation_elements(ir); } else if (strcmp(optimization, "do_constant_propagation") == 0) { |