summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-09-19 12:14:12 +1000
committerTimothy Arceri <[email protected]>2017-09-21 11:56:21 +1000
commita40b3d5a3c6bbaec03bd6978c2e174d22998b0ed (patch)
tree46f965f6abe3458a9e950252aef0a66afcb19c5f /src/compiler/glsl/glsl_parser_extras.cpp
parente7424b2d737dd88bfb8fc09c192483ad058aefee (diff)
glsl: merge loop_controls.cpp with loop_unroll.cpp
Having this separate just makes the code harder to follow, and requires an extra walk of the IR. Reviewed-by: Thomas Helland <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.cpp')
-rw-r--r--src/compiler/glsl/glsl_parser_extras.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp
index 2c42716ade7..9cbc2355f9d 100644
--- a/src/compiler/glsl/glsl_parser_extras.cpp
+++ b/src/compiler/glsl/glsl_parser_extras.cpp
@@ -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;