mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-12 22:38:35 +00:00
Display the filename if we have output, even if validating a single file.
This commit is contained in:
parent
ea0cb2eb11
commit
b07e6beb8a
@ -827,7 +827,7 @@ int C_DECL main(int argc, char* argv[])
|
||||
// Print out all the resulting infologs
|
||||
for (int w = 0; w < NumWorkItems; ++w) {
|
||||
if (Work[w]) {
|
||||
if (printShaderNames)
|
||||
if (printShaderNames || Work[w]->results.size() > 0)
|
||||
PutsIfNonEmpty(Work[w]->name.c_str());
|
||||
PutsIfNonEmpty(Work[w]->results.c_str());
|
||||
delete Work[w];
|
||||
|
Loading…
x
Reference in New Issue
Block a user