Commit 29cb003a by Alexis Hetu Committed by Alexis Hétu

Fixed attribute location

Attribute location wasn't working properly. This faulty constructor explains why. Change-Id: I7701ad316df0684ad02ed405bd2905d56a848bd6 Reviewed-on: https://swiftshader-review.googlesource.com/8328Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent a9beed30
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
int TSymbolTableLevel::uniqueId = 0; int TSymbolTableLevel::uniqueId = 0;
TType::TType(const TPublicType &p) : 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), primarySize(p.primarySize), secondarySize(p.secondarySize), array(p.array), arraySize(p.arraySize), maxArraySize(0),
arrayInformationType(0), interfaceBlock(0), structure(0), deepestStructNesting(0), mangled(0) arrayInformationType(0), interfaceBlock(0), structure(0), deepestStructNesting(0), mangled(0)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment