Mesa (main): glsl: Remove dead prototype for old do_discard_simplification().
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Dec 21 00:42:22 UTC 2021
Module: Mesa
Branch: main
Commit: b82b3a327e43730517e8d14c1cadfd4a0339547e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b82b3a327e43730517e8d14c1cadfd4a0339547e
Author: Emma Anholt <emma at anholt.net>
Date: Fri Dec 17 13:00:41 2021 -0800
glsl: Remove dead prototype for old do_discard_simplification().
Reviewed-by: Alyssa Rosenzweig <alyssa at collabora.com>.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14249>
---
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 b64e5c7363a..56e5cebb706 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);
More information about the mesa-commit
mailing list