glsl: merge loop_controls.cpp with loop_unroll.cpp
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 19 Sep 2017 02:14:12 +0000 (12:14 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 21 Sep 2017 01:56:21 +0000 (11:56 +1000)
commita40b3d5a3c6bbaec03bd6978c2e174d22998b0ed
tree46f965f6abe3458a9e950252aef0a66afcb19c5f
parente7424b2d737dd88bfb8fc09c192483ad058aefee
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 <thomashelland90@gmail.com>
src/compiler/Makefile.sources
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/loop_analysis.h
src/compiler/glsl/loop_controls.cpp [deleted file]
src/compiler/glsl/loop_unroll.cpp