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

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/module.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Color } from '@galacean/engine-math';
2
- import { ClearableObjectPool, ReturnableObjectPool, RenderStateElementKey, RenderQueueType, CompareFunction, StencilOperation, BlendOperation, BlendFactor, CullMode, ColorWriteMask, ShaderLanguage } from '@galacean/engine-core';
2
+ import { ClearableObjectPool, Logger, ReturnableObjectPool, RenderStateElementKey, RenderQueueType, CompareFunction, StencilOperation, BlendOperation, BlendFactor, CullMode, ColorWriteMask, ShaderLanguage } from '@galacean/engine-core';
3
3
 
4
4
  function _instanceof(left, right) {
5
5
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
@@ -2432,7 +2432,7 @@ var SymbolTable = /*#__PURE__*/ function() {
2432
2432
  for(var i = 0, n = entry.length; i < n; i++){
2433
2433
  if (entry[i].isInMacroBranch) continue;
2434
2434
  if (entry[i].equal(symbol)) {
2435
- console.warn("Replace symbol:", symbol.ident);
2435
+ Logger.warn("Replace symbol:", symbol.ident);
2436
2436
  entry[i] = symbol;
2437
2437
  return;
2438
2438
  }
@@ -2665,7 +2665,7 @@ var SemanticAnalyzer = /*#__PURE__*/ function() {
2665
2665
  console.error(message);
2666
2666
  };
2667
2667
  _proto.reportWarning = function reportWarning(loc, message) {
2668
- console.warn(new GSError(GSErrorName.CompilationWarn, message, loc, ShaderCompiler._processingPassText).toString());
2668
+ Logger.warn(new GSError(GSErrorName.CompilationWarn, message, loc, ShaderCompiler._processingPassText).toString());
2669
2669
  };
2670
2670
  _create_class(SemanticAnalyzer, [
2671
2671
  {
@@ -8920,7 +8920,7 @@ ShaderCompiler._shaderPositionPool = ShaderCompilerUtils.createObjectPool(Shader
8920
8920
  ShaderCompiler._shaderRangePool = ShaderCompilerUtils.createObjectPool(ShaderRange);
8921
8921
 
8922
8922
  //@ts-ignore
8923
- var version = "2.0.0-alpha.33";
8923
+ var version = "2.0.0-alpha.34";
8924
8924
  var mode = "Release";
8925
8925
  console.log("Galacean Engine Shader Compiler Version: " + version + " | Mode: " + mode);
8926
8926