glsl: Remove EmitNoLoops and the associated lower_jumps(lower_break=true) code.
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8044>
This commit is contained in:
@@ -61,7 +61,6 @@ do_optimization(struct exec_list *ir, const char *optimization,
|
||||
int int_1;
|
||||
int int_2;
|
||||
int int_3;
|
||||
int int_4;
|
||||
|
||||
if (sscanf(optimization, "do_common_optimization ( %d ) ", &int_0) == 1) {
|
||||
return do_common_optimization(ir, int_0 != 0, false, options, true);
|
||||
@@ -88,10 +87,10 @@ do_optimization(struct exec_list *ir, const char *optimization,
|
||||
} else if (strcmp(optimization, "do_function_inlining") == 0) {
|
||||
return do_function_inlining(ir);
|
||||
} else if (sscanf(optimization,
|
||||
"do_lower_jumps ( %d , %d , %d , %d , %d ) ",
|
||||
&int_0, &int_1, &int_2, &int_3, &int_4) == 5) {
|
||||
"do_lower_jumps ( %d , %d , %d , %d ) ",
|
||||
&int_0, &int_1, &int_2, &int_3) == 4) {
|
||||
return do_lower_jumps(ir, int_0 != 0, int_1 != 0, int_2 != 0,
|
||||
int_3 != 0, int_4 != 0);
|
||||
int_3 != 0);
|
||||
} else if (strcmp(optimization, "do_if_simplification") == 0) {
|
||||
return do_if_simplification(ir);
|
||||
} else if (strcmp(optimization, "do_mat_op_to_vec") == 0) {
|
||||
|
Reference in New Issue
Block a user