Compile glsl with vulkan/SPIR-V rules

This commit is contained in:
baldurk
2016-02-25 22:25:45 +01:00
parent 61591da4d0
commit 939d7e56bd
@@ -159,7 +159,7 @@ string CompileSPIRV(SPIRVShaderStage shadType, const std::vector<std::string> &s
shader->setStrings(strs, (int)sources.size());
bool success = shader->parse(&DefaultResources, 110, false, EShMsgDefault);
bool success = shader->parse(&DefaultResources, 110, false, EShMessages(EShMsgSpvRules|EShMsgVulkanRules));
if(!success)
{