mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-13 17:30:12 +00:00
Compile glsl with vulkan/SPIR-V rules
This commit is contained in:
1 parent
61591da4d0
commit
939d7e56bd
1 file changed
+1
-1
@@ -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