PP: Fix #155: Don't give error on HLSL PP-only parsing.

This commit is contained in:
John Kessenich
2018-10-25 12:43:02 -06:00
parent a08f465d53
commit 086febc448
4 changed files with 8 additions and 10 deletions

3
hlsl/hlslParseHelper.cpp Normal file → Executable file
View File

@@ -97,9 +97,6 @@ HlslParseContext::HlslParseContext(TSymbolTable& symbolTable, TIntermediate& int
if (language == EShLangGeometry)
globalOutputDefaults.layoutStream = 0;
if (spvVersion.spv == 0 || spvVersion.vulkan == 0)
infoSink.info << "ERROR: HLSL currently only supported when requesting SPIR-V for Vulkan.\n";
}
HlslParseContext::~HlslParseContext()