Get rid of auto variable in glslang.cpp
This commit is contained in:
parent
52e8c102fc
commit
a9cf718e75
|
@ -400,7 +400,9 @@ bool glslang::compile_spirv(const string &source, Stage stage,
|
|||
|
||||
EShMessages messages = static_cast<EShMessages>(EShMsgDefault | EShMsgVulkanRules | EShMsgSpvRules);
|
||||
|
||||
auto forbid_include = glslang::TShader::ForbidIncluder();
|
||||
glslang::TShader::ForbidIncluder forbid_include =
|
||||
glslang::TShader::ForbidIncluder();
|
||||
|
||||
if (!shader.preprocess(&process.GetResources(),
|
||||
100, ENoProfile, false, false,
|
||||
messages, &msg, forbid_include))
|
||||
|
|
Loading…
Reference in New Issue