glsl: don't inline functions in glsl ir
Everthing is now in place for nir and glsl to nir to handle this stuff for us. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27108>
This commit is contained in:
@@ -2487,10 +2487,6 @@ do_common_optimization(exec_list *ir, bool linked,
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
if (linked) {
|
||||
OPT(do_function_inlining, ir);
|
||||
OPT(do_dead_functions, ir);
|
||||
}
|
||||
OPT(propagate_invariance, ir);
|
||||
OPT(do_if_simplification, ir);
|
||||
OPT(opt_flatten_nested_if_blocks, ir);
|
||||
|
||||
Reference in New Issue
Block a user