Don't print the "Linked stage" message unless the AST is being dumped.
This commit is contained in:
parent
09512cbd5c
commit
fb06e9552e
161 changed files with 3 additions and 636 deletions
|
|
@ -1687,7 +1687,8 @@ bool TProgram::linkStage(EShLanguage stage, EShMessages messages)
|
|||
newedIntermediate[stage] = true;
|
||||
}
|
||||
|
||||
infoSink->info << "\nLinked " << StageName(stage) << " stage:\n\n";
|
||||
if (messages & EShMsgAST)
|
||||
infoSink->info << "\nLinked " << StageName(stage) << " stage:\n\n";
|
||||
|
||||
if (stages[stage].size() > 1) {
|
||||
std::list<TShader*>::const_iterator it;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue