From 356928a96bc557873623ab4d653d3161580ee8de Mon Sep 17 00:00:00 2001 From: Hai Nguyen Date: Sat, 1 Jan 2022 04:44:06 -0500 Subject: [PATCH] Updated gtests preprocess()and parse() calls with arg for new parameter --- gtests/TestFixture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtests/TestFixture.h b/gtests/TestFixture.h index 2b057dcb..5cd6614d 100644 --- a/gtests/TestFixture.h +++ b/gtests/TestFixture.h @@ -200,7 +200,7 @@ public: if (!entryPointName.empty()) shader->setEntryPoint(entryPointName.c_str()); return shader->parse( (resources ? resources : &glslang::DefaultTBuiltInResource), - defaultVersion, isForwardCompatible, controls); + defaultVersion, 0, isForwardCompatible, controls); } // Compiles and links the given source |code| of the given shader @@ -635,7 +635,7 @@ public: glslang::TShader::ForbidIncluder includer; const bool success = shader.preprocess( &glslang::DefaultTBuiltInResource, defaultVersion, defaultProfile, - forceVersionProfile, isForwardCompatible, (EShMessages)(EShMsgOnlyPreprocessor | EShMsgCascadingErrors), + forceVersionProfile, 0, isForwardCompatible, (EShMessages)(EShMsgOnlyPreprocessor | EShMsgCascadingErrors), &ppShader, includer); std::string log = shader.getInfoLog();