diff --git a/deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp b/deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp index 3f6f588df9..fc29854f36 100644 --- a/deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp +++ b/deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp @@ -1191,6 +1191,8 @@ TIntermTyped* TIntermediate::addShapeConversion(const TType& type, TIntermTyped* const int matSize = type.getMatrixRows() * type.getMatrixCols(); TIntermAggregate* rhsAggregate = new TIntermAggregate(); + const bool isSimple = (node->getAsSymbolNode() != NULL) || (node->getAsConstantUnion() != NULL); + for (int x=0; xgetSequence().push_back(node);