glsl: Delete dont_lower_swz path of lower_quadop_vector.

This was last used with Mesa classic, in _mesa_ir_link_shader().

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15623>
This commit is contained in:
Emma Anholt
2022-03-28 16:04:57 -07:00
committed by Marge Bot
parent 761eb7e539
commit 97f17d4b38
4 changed files with 6 additions and 80 deletions

View File

@@ -120,9 +120,8 @@ do_optimization(struct exec_list *ir, const char *optimization,
return lower_variable_index_to_cond_assign(MESA_SHADER_VERTEX, ir,
int_0 != 0, int_1 != 0,
int_2 != 0, int_3 != 0);
} else if (sscanf(optimization, "lower_quadop_vector ( %d ) ",
&int_0) == 1) {
return lower_quadop_vector(ir, int_0 != 0);
} else if (sscanf(optimization, "lower_quadop_vector") == 1) {
return lower_quadop_vector(ir);
} else {
printf("Unrecognized optimization %s\n", optimization);
exit(EXIT_FAILURE);