From b82b3a327e43730517e8d14c1cadfd4a0339547e Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Fri, 17 Dec 2021 13:00:41 -0800 Subject: [PATCH] glsl: Remove dead prototype for old do_discard_simplification(). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Alyssa Rosenzweig . Reviewed-by: Marek Olšák Part-of: --- src/compiler/glsl/ir_optimization.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compiler/glsl/ir_optimization.h b/src/compiler/glsl/ir_optimization.h index b64e5c7..56e5ceb 100644 --- a/src/compiler/glsl/ir_optimization.h +++ b/src/compiler/glsl/ir_optimization.h @@ -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); -- 2.7.4