Revert "Merge pull request #1274 from greg-lunarg/legal2"

This reverts commit 2c65069ecd, reversing
changes made to fa9b465b92.
This commit is contained in:
John Kessenich
2018-03-06 14:48:46 -07:00
parent 663b90d908
commit b2ae1d0521
20 changed files with 27 additions and 104 deletions

View File

@@ -9885,12 +9885,10 @@ void HlslParseContext::finish()
addPatchConstantInvocation();
fixTextureShadowModes();
#ifndef ENABLE_OPT
// Communicate out (esp. for command line) that we formed AST that will make
// illegal AST SPIR-V and it needs transforms to legalize it.
if (intermediate.needsLegalization())
infoSink.info << "WARNING: AST will form illegal SPIR-V; need to transform to legalize";
#endif
TParseContextBase::finish();
}