Skip to content

Commit

Permalink
more debug for glslangvalidator path.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvkennedy committed Aug 7, 2024
1 parent 15031f6 commit f7cd5ab
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Applications/Sfx/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,12 @@ int main(int argc, char** argv)
{
for (auto& el : compiler["commandPaths"].items())
{
std::string p=ProcessEnvironmentVariables(el.value());
sfxConfig.compilerPaths.push_back(p);
if(sfxOptions.verbose)
std::cout<<"Compiler Path: "<<p.c_str()<<"\n";
std::cout<<"Compiler Path in: "<<el.value()<<"\n";
std::string compilerPath=ProcessEnvironmentVariables(el.value());
sfxConfig.compilerPaths.push_back(compilerPath);
if(sfxOptions.verbose)
std::cout<<"Compiler Path: "<<compilerPath.c_str()<<"\n";
}
}
if (compiler.count("stages") > 0)
Expand Down

0 comments on commit f7cd5ab

Please sign in to comment.