Commit b07ec5bf by alokp@chromium.org

Fixed line endings to Unix style.

TBR=kbr@chromium.org Review URL: https://codereview.appspot.com/10088043 git-svn-id: https://angleproject.googlecode.com/svn/trunk@2424 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 71550929
......@@ -245,10 +245,10 @@ bool TOutputGLSLBase::visitBinary(Visit visit, TIntermBinary* node)
case EOpIndexDirectStruct:
if (visit == InVisit)
{
// Here we are writing out "foo.bar", where "foo" is struct
// and "bar" is field. In AST, it is represented as a binary
// node, where left child represents "foo" and right child "bar".
// The node itself represents ".". The struct field "bar" is
// Here we are writing out "foo.bar", where "foo" is struct
// and "bar" is field. In AST, it is represented as a binary
// node, where left child represents "foo" and right child "bar".
// The node itself represents ".". The struct field "bar" is
// actually stored as an index into TStructure::fields.
out << ".";
const TStructure* structure = node->getLeft()->getType().getStruct();
......
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