glsl: merge loop_controls.cpp with loop_unroll.cpp
[mesa.git] / src / compiler / glsl / glsl_parser_extras.cpp
index 2c42716ade78fd46d19fe4ad21a9c2e6af4e3b8f..9cbc2355f9dafd97374869c87bf389dbf478d726 100644 (file)
@@ -2216,7 +2216,6 @@ do_common_optimization(exec_list *ir, bool linked,
    if (options->MaxUnrollIterations) {
       loop_state *ls = analyze_loop_variables(ir);
       if (ls->loop_found) {
-         OPT(set_loop_controls, ir, ls);
          OPT(unroll_loops, ir, ls, options);
       }
       delete ls;