@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/browser.js +3 -3
- package/dist/browser.js.map +1 -1
- package/dist/browser.min.js +1 -1
- package/dist/browser.min.js.map +1 -1
- package/dist/browser.verbose.js +4 -4
- package/dist/browser.verbose.js.map +1 -1
- package/dist/browser.verbose.min.js +1 -1
- package/dist/browser.verbose.min.js.map +1 -1
- package/dist/main.js +3 -3
- package/dist/main.js.map +1 -1
- package/dist/main.verbose.js +4 -4
- package/dist/main.verbose.js.map +1 -1
- package/dist/module.js +4 -4
- package/dist/module.js.map +1 -1
- package/dist/module.verbose.js +5 -5
- package/dist/module.verbose.js.map +1 -1
- package/package.json +4 -4
package/dist/main.verbose.js
CHANGED
|
@@ -2769,7 +2769,7 @@ var SymbolTable = /*#__PURE__*/ function() {
|
|
|
2769
2769
|
for(var i = 0, n = entry.length; i < n; i++){
|
|
2770
2770
|
if (entry[i].isInMacroBranch) continue;
|
|
2771
2771
|
if (entry[i].equal(symbol)) {
|
|
2772
|
-
|
|
2772
|
+
engineCore.Logger.warn("Replace symbol:", symbol.ident);
|
|
2773
2773
|
entry[i] = symbol;
|
|
2774
2774
|
return;
|
|
2775
2775
|
}
|
|
@@ -3004,7 +3004,7 @@ var SemanticAnalyzer = /*#__PURE__*/ function() {
|
|
|
3004
3004
|
this.errors.push(new GSError(GSErrorName.CompilationError, message, loc, ShaderCompiler._processingPassText));
|
|
3005
3005
|
};
|
|
3006
3006
|
_proto.reportWarning = function reportWarning(loc, message) {
|
|
3007
|
-
|
|
3007
|
+
engineCore.Logger.warn(new GSError(GSErrorName.CompilationWarn, message, loc, ShaderCompiler._processingPassText).toString());
|
|
3008
3008
|
};
|
|
3009
3009
|
_create_class(SemanticAnalyzer, [
|
|
3010
3010
|
{
|
|
@@ -7099,7 +7099,7 @@ ShaderInstructionEncoder._FUNC_MACRO_RE = /^(\w+)\(([^)]*)\)\s*(.*)/;
|
|
|
7099
7099
|
if (LALR1._isKnownShiftPreferred(terminal, exist, action)) {
|
|
7100
7100
|
if (exist.action === EAction.Shift && action.action === EAction.Reduce) return;
|
|
7101
7101
|
} else {
|
|
7102
|
-
|
|
7102
|
+
engineCore.Logger.warn("conflict detect: <Terminal " + GrammarUtils.toString(terminal) + "> \n", GrammarUtils.printAction(exist), "\n", GrammarUtils.printAction(action));
|
|
7103
7103
|
}
|
|
7104
7104
|
}
|
|
7105
7105
|
table.set(terminal, action);
|
|
@@ -9586,7 +9586,7 @@ ShaderCompiler._shaderPositionPool = ShaderCompilerUtils.createObjectPool(Shader
|
|
|
9586
9586
|
ShaderCompiler._shaderRangePool = ShaderCompilerUtils.createObjectPool(ShaderRange);
|
|
9587
9587
|
|
|
9588
9588
|
//@ts-ignore
|
|
9589
|
-
var version = "2.0.0-alpha.
|
|
9589
|
+
var version = "2.0.0-alpha.34";
|
|
9590
9590
|
var mode = "Release";
|
|
9591
9591
|
mode = "Verbose";
|
|
9592
9592
|
console.log("Galacean Engine Shader Compiler Version: " + version + " | Mode: " + mode);
|