glsl: merge loop_controls.cpp with loop_unroll.cpp
[mesa.git] / src / compiler / glsl / loop_analysis.h
index e2eff9dbaed6c1baaf6b2ef283abca55f0879c29..8f8240469451e43ca8968e26f4110e13f4e8af97 100644 (file)
@@ -35,22 +35,6 @@ extern class loop_state *
 analyze_loop_variables(exec_list *instructions);
 
 
-/**
- * Fill in loop control fields
- *
- * Based on analysis of loop variables, this function tries to remove
- * redundant sequences in the loop of the form
- *
- *  (if (expression bool ...) (break))
- *
- * For example, if it is provable that one loop exit condition will
- * always be satisfied before another, the unnecessary exit condition will be
- * removed.
- */
-extern bool
-set_loop_controls(exec_list *instructions, loop_state *ls);
-
-
 extern bool
 unroll_loops(exec_list *instructions, loop_state *ls,
              const struct gl_shader_compiler_options *options);