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

View File

@@ -123,8 +123,6 @@ do_optimization(struct exec_list *ir, const char *optimization,
} else if (sscanf(optimization, "lower_quadop_vector ( %d ) ",
&int_0) == 1) {
return lower_quadop_vector(ir, int_0 != 0);
} else if (strcmp(optimization, "optimize_redundant_jumps") == 0) {
return optimize_redundant_jumps(ir);
} else {
printf("Unrecognized optimization %s\n", optimization);
exit(EXIT_FAILURE);