mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-26 15:46:08 +00:00
Compile glsl with vulkan/SPIR-V rules
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user