Skip to content

Commit

Permalink
Debugging Linux pipelines issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JGamache-autodesk committed Oct 24, 2024
1 parent 955ed34 commit 42f76c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/MaterialXTest/MaterialXGenShader/GenShaderUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ void checkImplementations(mx::GenContext& context,

mx::FileSearchPath searchPath = mx::getDefaultDataSearchPath();
mx::DocumentPtr doc = mx::createDocument();
loadLibraries({ "libraries/targets", "libraries/stdlib", "libraries/pbrlib" }, searchPath, doc);
std::cerr << "Loading libraries" << std::endl;
const auto alllibs = loadLibraries({ "libraries/targets", "libraries/stdlib", "libraries/pbrlib" }, searchPath, doc);
for (const auto& mxlib: alllibs) {
std::cout << "\t" << mxlib << std::endl;
}

const std::string& target = shadergen.getTarget();

Expand Down

0 comments on commit 42f76c1

Please sign in to comment.