Updated gtests preprocess()and parse() calls with arg for new parameter
This commit is contained in:
parent
9a98d32366
commit
356928a96b
@ -200,7 +200,7 @@ public:
|
|||||||
if (!entryPointName.empty()) shader->setEntryPoint(entryPointName.c_str());
|
if (!entryPointName.empty()) shader->setEntryPoint(entryPointName.c_str());
|
||||||
return shader->parse(
|
return shader->parse(
|
||||||
(resources ? resources : &glslang::DefaultTBuiltInResource),
|
(resources ? resources : &glslang::DefaultTBuiltInResource),
|
||||||
defaultVersion, isForwardCompatible, controls);
|
defaultVersion, 0, isForwardCompatible, controls);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compiles and links the given source |code| of the given shader
|
// Compiles and links the given source |code| of the given shader
|
||||||
@ -635,7 +635,7 @@ public:
|
|||||||
glslang::TShader::ForbidIncluder includer;
|
glslang::TShader::ForbidIncluder includer;
|
||||||
const bool success = shader.preprocess(
|
const bool success = shader.preprocess(
|
||||||
&glslang::DefaultTBuiltInResource, defaultVersion, defaultProfile,
|
&glslang::DefaultTBuiltInResource, defaultVersion, defaultProfile,
|
||||||
forceVersionProfile, isForwardCompatible, (EShMessages)(EShMsgOnlyPreprocessor | EShMsgCascadingErrors),
|
forceVersionProfile, 0, isForwardCompatible, (EShMessages)(EShMsgOnlyPreprocessor | EShMsgCascadingErrors),
|
||||||
&ppShader, includer);
|
&ppShader, includer);
|
||||||
|
|
||||||
std::string log = shader.getInfoLog();
|
std::string log = shader.getInfoLog();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user