glsl: simplify loop in varying_matches::assign_locations()
authorBrian Paul <brianp@vmware.com>
Fri, 15 Dec 2017 21:27:55 +0000 (14:27 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 20 Dec 2017 18:23:16 +0000 (11:23 -0700)
commitcd7705de443d34aeddb3a68cc8d6b762a2808261
treea9ce143af86f78a9c5305bef4ad806c6721608c1
parent47b4183c92dbfcbeae120117310e1a60ca96b343
glsl: simplify loop in varying_matches::assign_locations()

The use of break/continue was kind of weird/confusing.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl/link_varyings.cpp