mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
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…
x
Reference in New Issue
Block a user