瀏覽代碼

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

johnkslang 5 年之前
父節點
當前提交
f881f08358
共有 1 個文件被更改,包括 1 次插入0 次删除
  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) {
     if (varName != nullptr) {
         out << "};";
         out << "};";
+        out << std::endl;
     }
     }
     out.close();
     out.close();
 #endif
 #endif