File tree Expand file tree Collapse file tree
source/MaterialXTest/MaterialXRenderMsl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ bool runRenderer(const std::string& shaderName,
165165 std::ostream& log,
166166 const GenShaderUtil::TestSuiteOptions& testOptions,
167167 RenderUtil::RenderProfileTimes& profileTimes,
168- const mx::FileSearchPath& /* imageSearchPath*/ ,
168+ const mx::FileSearchPath& imageSearchPath,
169169 const std::string& outputPath,
170170 mx::ImageVec* imageVec)
171171{
@@ -351,7 +351,7 @@ bool runRenderer(const std::string& shaderName,
351351
352352 {
353353 mx::ScopedTimer renderTimer (&profileTimes.languageTimes .renderTime );
354- _renderer->getImageHandler ()->setSearchPath (mx::getDefaultDataSearchPath () );
354+ _renderer->getImageHandler ()->setSearchPath (imageSearchPath );
355355 unsigned int width = (unsigned int ) testOptions.renderSize [0 ] * supersampleFactor;
356356 unsigned int height = (unsigned int ) testOptions.renderSize [1 ] * supersampleFactor;
357357 _renderer->setSize (width, height);
You can’t perform that action at this time.
0 commit comments