@galacean/engine-shader-compiler 2.0.0-alpha.33 → 2.0.0-alpha.35

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.
@@ -2768,7 +2768,7 @@
2768
2768
  for(var i = 0, n = entry.length; i < n; i++){
2769
2769
  if (entry[i].isInMacroBranch) continue;
2770
2770
  if (entry[i].equal(symbol)) {
2771
- console.warn("Replace symbol:", symbol.ident);
2771
+ engineCore.Logger.warn("Replace symbol:", symbol.ident);
2772
2772
  entry[i] = symbol;
2773
2773
  return;
2774
2774
  }
@@ -3003,7 +3003,7 @@
3003
3003
  this.errors.push(new GSError(GSErrorName.CompilationError, message, loc, ShaderCompiler._processingPassText));
3004
3004
  };
3005
3005
  _proto.reportWarning = function reportWarning(loc, message) {
3006
- console.warn(new GSError(GSErrorName.CompilationWarn, message, loc, ShaderCompiler._processingPassText).toString());
3006
+ engineCore.Logger.warn(new GSError(GSErrorName.CompilationWarn, message, loc, ShaderCompiler._processingPassText).toString());
3007
3007
  };
3008
3008
  _create_class(SemanticAnalyzer, [
3009
3009
  {
@@ -7098,7 +7098,7 @@
7098
7098
  if (LALR1._isKnownShiftPreferred(terminal, exist, action)) {
7099
7099
  if (exist.action === EAction.Shift && action.action === EAction.Reduce) return;
7100
7100
  } else {
7101
- console.warn("conflict detect: <Terminal " + GrammarUtils.toString(terminal) + "> \n", GrammarUtils.printAction(exist), "\n", GrammarUtils.printAction(action));
7101
+ engineCore.Logger.warn("conflict detect: <Terminal " + GrammarUtils.toString(terminal) + "> \n", GrammarUtils.printAction(exist), "\n", GrammarUtils.printAction(action));
7102
7102
  }
7103
7103
  }
7104
7104
  table.set(terminal, action);
@@ -9585,7 +9585,7 @@
9585
9585
  ShaderCompiler._shaderRangePool = ShaderCompilerUtils.createObjectPool(ShaderRange);
9586
9586
 
9587
9587
  //@ts-ignore
9588
- var version = "2.0.0-alpha.33";
9588
+ var version = "2.0.0-alpha.35";
9589
9589
  var mode = "Release";
9590
9590
  mode = "Verbose";
9591
9591
  console.log("Galacean Engine Shader Compiler Version: " + version + " | Mode: " + mode);