From e3e501a90c980e741c8eca34fd07d612b387053d Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Sat, 15 Jun 2024 06:21:42 +0200 Subject: [PATCH] Revert "Get rid of unused variable" This reverts commit ab4d54cb700b9b2fe953a421bb26bd9d1d17bf7e. --- .../glslang/glslang/glslang/MachineIndependent/Intermediate.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);