Skip to content

Commit

Permalink
removed special case loop for winrt vs2012
Browse files Browse the repository at this point in the history
  • Loading branch information
stammen committed May 2, 2014
1 parent d61b457 commit 293c208
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/compiler/OutputHLSL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2023,11 +2023,7 @@ bool OutputHLSL::visitLoop(Visit visit, TIntermLoop *node)
}
else
{
#if (_MSC_VER < 1800) && (defined(ANGLE_PLATFORM_WINRT) || defined(ANGLE_PLATFORM_WP8))
out << "{[fastopt] [loop] for(";
#else
out << "{for(";
#endif
if (node->getInit())
{
node->getInit()->traverse(this);
Expand Down Expand Up @@ -2319,11 +2315,7 @@ bool OutputHLSL::handleExcessiveLoop(TIntermLoop *node)

// for(int index = initial; index < clampedLimit; index += increment)

#if (_MSC_VER < 1800) && (defined(ANGLE_PLATFORM_WINRT) || defined(ANGLE_PLATFORM_WP8))
out << "[fastopt] [loop] for(";
#else
out << "for(";
#endif
out << "for(";
index->traverse(this);
out << " = ";
Expand Down

0 comments on commit 293c208

Please sign in to comment.