PP: Fix #155: Don't give error on HLSL PP-only parsing.
This commit is contained in:
3
hlsl/hlslParseHelper.cpp
Normal file → Executable file
3
hlsl/hlslParseHelper.cpp
Normal file → Executable 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()
|
||||
|
||||
Reference in New Issue
Block a user