Commit 1768ac1a by Alexis Hetu Committed by Alexis Hétu

Addressing a FIXME

I added a FIXME in the code because EvqFragmentOut hadn't been added yet, since this has now been done, I can remove the comment to address the FIXME. Change-Id: I67f4371802eb0e30278b3eaafab238a20798ae69 Reviewed-on: https://swiftshader-review.googlesource.com/3502Tested-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com>
parent c2632d25
...@@ -2083,14 +2083,11 @@ TIntermTyped *TParseContext::addIndexExpression(TIntermTyped *baseExpression, co ...@@ -2083,14 +2083,11 @@ TIntermTyped *TParseContext::addIndexExpression(TIntermTyped *baseExpression, co
"[", "array indexes for interface blocks arrays must be constant integral expressions"); "[", "array indexes for interface blocks arrays must be constant integral expressions");
recover(); recover();
} }
// FIXME
/*
else if(baseExpression->getQualifier() == EvqFragmentOut) else if(baseExpression->getQualifier() == EvqFragmentOut)
{ {
error(location, "", "[", "array indexes for fragment outputs must be constant integral expressions"); error(location, "", "[", "array indexes for fragment outputs must be constant integral expressions");
recover(); recover();
} }
*/
indexedExpression = intermediate.addIndex(EOpIndexIndirect, baseExpression, indexExpression, location); indexedExpression = intermediate.addIndex(EOpIndexIndirect, baseExpression, indexExpression, location);
} }
......
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