GLSL: Separate out swizzle handling (potentially fixing bugs).
authorJohn Kessenich <cepheus@frii.com>
Fri, 1 May 2020 09:07:54 +0000 (03:07 -0600)
committerJohn Kessenich <cepheus@frii.com>
Fri, 1 May 2020 13:35:30 +0000 (07:35 -0600)
commit2ac3c5b6d6e07723b3822167d30ee0af1686fec7
tree65a46cd87435252ff86d33f4d94021aff28536da
parentbfaf88ee6a8a541ff30af3e9083cc229bc224cbd
GLSL: Separate out swizzle handling (potentially fixing bugs).

Noticed this when looking at swizzles.  It's at least better structure,
removing hard-to-see early returns, which might be contributing to bugs.
glslang/MachineIndependent/ParseHelper.cpp
glslang/MachineIndependent/ParseHelper.h