Fixed attribute location Attribute location wasn't working properly. This faulty constructor explains why. Change-Id: I7701ad316df0684ad02ed405bd2905d56a848bd6 Reviewed-on: https://swiftshader-review.googlesource.com/8328 Tested-by: Alexis Hétu <sugoi@google.com> Reviewed-by: Nicolas Capens <capn@google.com>
diff --git a/src/OpenGL/compiler/SymbolTable.cpp b/src/OpenGL/compiler/SymbolTable.cpp index 004a1d7..89ad4d1 100644 --- a/src/OpenGL/compiler/SymbolTable.cpp +++ b/src/OpenGL/compiler/SymbolTable.cpp
@@ -34,7 +34,7 @@ int TSymbolTableLevel::uniqueId = 0; TType::TType(const TPublicType &p) : - type(p.type), precision(p.precision), qualifier(p.qualifier), invariant(false), layoutQualifier(TLayoutQualifier::create()), + type(p.type), precision(p.precision), qualifier(p.qualifier), invariant(p.invariant), layoutQualifier(p.layoutQualifier), primarySize(p.primarySize), secondarySize(p.secondarySize), array(p.array), arraySize(p.arraySize), maxArraySize(0), arrayInformationType(0), interfaceBlock(0), structure(0), deepestStructNesting(0), mangled(0) {