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:
Timothy Arceri
2024-01-25 16:18:39 +11:00
parent c6c150b4cd
commit 39052dabf9
2 changed files with 0 additions and 65 deletions

View File

@@ -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);