glsl: disable function return lowering in glsl ir
We just let the nir lowering pass do it instead. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32364>
This commit is contained in:
committed by
Marge Bot
parent
a37d5dcd63
commit
6c86b56c06
@@ -2509,8 +2509,7 @@ do_common_optimization(exec_list *ir, bool linked,
|
||||
OPT(do_minmax_prune, ir);
|
||||
OPT(do_rebalance_tree, ir);
|
||||
OPT(do_algebraic, ir, native_integers, options);
|
||||
OPT(do_lower_jumps, ir, true, true, options->EmitNoMainReturn,
|
||||
options->EmitNoCont);
|
||||
OPT(do_lower_jumps, ir, true, false, false, options->EmitNoCont);
|
||||
|
||||
/* If an optimization pass fails to preserve the invariant flag, calling
|
||||
* the pass only once earlier may result in incorrect code generation. Always call
|
||||
|
||||
Reference in New Issue
Block a user