glsl: Delete lower_extracts code
The single caller of this function (in st_glsl_to_ir.cpp) always passes false, so this is dead code. v2: Delete convert_vec_index_to_cond_assign method because all the callers are deleted too. Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16440>
This commit is contained in:
@@ -102,7 +102,7 @@ do_optimization(struct exec_list *ir, const char *optimization,
|
||||
} else if (strcmp(optimization, "do_tree_grafting") == 0) {
|
||||
return do_tree_grafting(ir);
|
||||
} else if (strcmp(optimization, "do_vec_index_to_cond_assign") == 0) {
|
||||
return do_vec_index_to_cond_assign(ir, true);
|
||||
return do_vec_index_to_cond_assign(ir);
|
||||
} else if (strcmp(optimization, "do_vec_index_to_swizzle") == 0) {
|
||||
return do_vec_index_to_swizzle(ir);
|
||||
} else if (strcmp(optimization, "lower_discard") == 0) {
|
||||
|
Reference in New Issue
Block a user