glsl: Remove dead prototype for old do_discard_simplification().
authorEmma Anholt <emma@anholt.net>
Fri, 17 Dec 2021 21:00:41 +0000 (13:00 -0800)
committerEmma Anholt <emma@anholt.net>
Mon, 20 Dec 2021 22:47:57 +0000 (14:47 -0800)
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14249>

src/compiler/glsl/ir_optimization.h

index b64e5c7..56e5ceb 100644 (file)
@@ -120,7 +120,6 @@ bool do_function_inlining(exec_list *instructions);
 bool do_lower_jumps(exec_list *instructions, bool pull_out_jumps = true, bool lower_sub_return = true, bool lower_main_return = false, bool lower_continue = false, bool lower_break = false);
 bool do_if_simplification(exec_list *instructions);
 bool opt_flatten_nested_if_blocks(exec_list *instructions);
-bool do_discard_simplification(exec_list *instructions);
 bool lower_if_to_cond_assign(gl_shader_stage stage, exec_list *instructions,
                              unsigned max_depth = 0, unsigned min_branch_cost = 0);
 bool do_mat_op_to_vec(exec_list *instructions);