Array-sizing bug fix: multiple array initializers of different size in the same decla...
authorJohn Kessenich <cepheus@frii.com>
Sat, 28 Nov 2015 19:52:29 +0000 (12:52 -0700)
committerJohn Kessenich <cepheus@frii.com>
Sat, 28 Nov 2015 19:52:29 +0000 (12:52 -0700)
commit989df85dcdef92c8594ee8b7a9d094d75441f692
treeb9bd5abde5fd29d7312f36a825c333e0271d0665
parentdad6408542856538bf4f6ba6083449f893c74462
Array-sizing bug fix: multiple array initializers of different size in the same declaration.

Handles the case of
    float[] x = float[] (1.0, 2.0, 3.0),
            y = float[] (1.0, 2.0, 3.0, 4.0);
where a shallow copy of the type arrayness from the left-most float[]
was getting used twice.
Test/300.vert
Test/baseResults/300.vert.out
glslang/Include/Types.h
glslang/Include/revision.h
glslang/MachineIndependent/ParseHelper.cpp