Fix ternary operator unfolding

TRAC #14155 Issue=70 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/trunk@474 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 72d58c4c
...@@ -44,7 +44,7 @@ bool UnfoldSelect::visitSelection(Visit visit, TIntermSelection *node) ...@@ -44,7 +44,7 @@ bool UnfoldSelect::visitSelection(Visit visit, TIntermSelection *node)
"}\n" "}\n"
"else\n" "else\n"
"{\n"; "{\n";
node->getCondition()->traverse(this); node->getFalseBlock()->traverse(this);
out << " t" << i << " = "; out << " t" << i << " = ";
node->getFalseBlock()->traverse(mOutputHLSL); node->getFalseBlock()->traverse(mOutputHLSL);
out << ";\n" out << ";\n"
......
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