Explorar el Código

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

johnkslang hace 5 años
padre
commit
f881f08358
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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