Don't split loops on Shader Model 4+.

TRAC #22516 Signed-off-by: Shannon Woods Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1925 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 31c4f235
...@@ -2090,10 +2090,13 @@ bool OutputHLSL::visitLoop(Visit visit, TIntermLoop *node) ...@@ -2090,10 +2090,13 @@ bool OutputHLSL::visitLoop(Visit visit, TIntermLoop *node)
mInsideDiscontinuousLoop = containsLoopDiscontinuity(node); mInsideDiscontinuousLoop = containsLoopDiscontinuity(node);
} }
if (mOutputType == SH_HLSL9_OUTPUT)
{
if (handleExcessiveLoop(node)) if (handleExcessiveLoop(node))
{ {
return false; return false;
} }
}
TInfoSinkBase &out = mBody; TInfoSinkBase &out = mBody;
......
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