Display the filename if we have output, even if validating  a single file.
diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp
index 73f8d89..9201084 100644
--- a/StandAlone/StandAlone.cpp
+++ b/StandAlone/StandAlone.cpp
@@ -827,7 +827,7 @@
         // 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];