Browse Source

SPV: Fix #2363: include trailing newline named text SPV output.

johnkslang 5 years ago
parent
commit
f881f08358
1 changed files with 1 additions and 0 deletions
  1. 1 0
      SPIRV/GlslangToSpv.cpp

+ 1 - 0
SPIRV/GlslangToSpv.cpp

@@ -8723,6 +8723,7 @@ void OutputSpvHex(const std::vector<unsigned int>& spirv, const char* baseName,
     }
     if (varName != nullptr) {
         out << "};";
+        out << std::endl;
     }
     out.close();
 #endif