@galacean/engine-shader-compiler 2.0.0-alpha.49 → 2.0.0-alpha.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -5629,7 +5629,7 @@
5629
5629
  if (context.stage === EShaderStage.FRAGMENT && node.getLexeme(this) === "gl_FragColor") {
5630
5630
  if (context.mrtStructs.length) {
5631
5631
  this._reportError(node.location, "gl_FragColor cannot be used with MRT (Multiple Render Targets).");
5632
- return;
5632
+ return "";
5633
5633
  }
5634
5634
  this._registerFragColorVariable();
5635
5635
  return V3_GL_FragColor;
@@ -8923,7 +8923,7 @@
8923
8923
  ShaderCompiler._shaderRangePool = ShaderCompilerUtils.createObjectPool(ShaderRange);
8924
8924
 
8925
8925
  //@ts-ignore
8926
- var version = "2.0.0-alpha.49";
8926
+ var version = "2.0.0-alpha.51";
8927
8927
  var mode = "Release";
8928
8928
  console.log("Galacean Engine Shader Compiler Version: " + version + " | Mode: " + mode);
8929
8929