glsl: Delete the optimize_redundant_jumps pass.

Nothing here that NIR doesn't do.  No effect on shader-db of hsw or
softpipe.

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>
This commit is contained in:
Emma Anholt
2021-12-17 12:56:51 -08:00
parent c2ead6c9b5
commit 6db1f93699
5 changed files with 0 additions and 130 deletions
-2
View File
@@ -2423,8 +2423,6 @@ do_common_optimization(exec_list *ir, bool linked,
do_constant_propagation(ir);
progress |= array_split;
OPT(optimize_redundant_jumps, ir);
if (options->MaxUnrollIterations) {
loop_state *ls = analyze_loop_variables(ir);
if (ls->loop_found) {