mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
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:
parent
a37d5dcd63
commit
6c86b56c06
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue