minor improvements to formating

This commit is contained in:
Christoph Kubisch 2019-04-15 13:37:12 +02:00
parent 412ff6ea6a
commit b84a520492
2 changed files with 12 additions and 8 deletions

View file

@ -480,7 +480,9 @@ void SetupBuiltinSymbolTable(int version, EProfile profile, const SpvVersion& sp
void DumpBuiltinSymbolTable(TInfoSink& infoSink, const TSymbolTable& symbolTable)
{
infoSink.debug << "BuiltinSymbolTable {\n";
symbolTable.dump(infoSink, true);
infoSink.debug << "}\n";
}
@ -915,9 +917,8 @@ bool ProcessDeferred(
return false;
}
if (messages & EShMsgBuiltinSymbolTable) {
if (messages & EShMsgBuiltinSymbolTable)
DumpBuiltinSymbolTable(compiler->infoSink, *symbolTable);
}
//
// Now we can process the full shader under proper symbols and rules.