mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
glsl: call ir_lower_jumps according to compiler options
This commit is contained in:
parent
3361cbac2a
commit
87708e8c90
1 changed files with 2 additions and 0 deletions
|
|
@ -2729,6 +2729,8 @@ _mesa_ir_link_shader(GLcontext *ctx, struct gl_shader_program *prog)
|
|||
do_div_to_mul_rcp(ir);
|
||||
do_explog_to_explog2(ir);
|
||||
|
||||
progress = do_lower_jumps(ir, true, true, options->EmitNoMainReturn, options->EmitNoCont, options->EmitNoLoops) || progress;
|
||||
|
||||
progress = do_common_optimization(ir, true, options->MaxUnrollIterations) || progress;
|
||||
|
||||
if (options->EmitNoIfs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue