@thi.ng/shader-ast-optimize 1.0.7 → 1.0.8
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/CHANGELOG.md +1 -1
- package/defoptimized.d.ts +4 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
package/defoptimized.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { FnBody0 } from "@thi.ng/shader-ast";
|
|
2
2
|
import { defMain } from "@thi.ng/shader-ast/ast/function";
|
|
3
3
|
/**
|
|
4
|
-
* Same as
|
|
5
|
-
*
|
|
4
|
+
* Same as
|
|
5
|
+
* [`defMain`](https://docs.thi.ng/umbrella/shader-ast/functions/defMain.html),
|
|
6
|
+
* but applies optimizations (e.g. {@link constantFolding}) to the given
|
|
7
|
+
* function body.
|
|
6
8
|
*
|
|
7
9
|
* @param fn
|
|
8
10
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/shader-ast-optimize",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Shader AST code optimization passes/strategies",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.11.
|
|
43
|
-
"@thi.ng/defmulti": "^3.0.
|
|
44
|
-
"@thi.ng/errors": "^2.5.
|
|
45
|
-
"@thi.ng/logger": "^3.1.
|
|
46
|
-
"@thi.ng/math": "^5.11.
|
|
47
|
-
"@thi.ng/shader-ast": "^1.0.
|
|
42
|
+
"@thi.ng/api": "^8.11.20",
|
|
43
|
+
"@thi.ng/defmulti": "^3.0.60",
|
|
44
|
+
"@thi.ng/errors": "^2.5.26",
|
|
45
|
+
"@thi.ng/logger": "^3.1.1",
|
|
46
|
+
"@thi.ng/math": "^5.11.20",
|
|
47
|
+
"@thi.ng/shader-ast": "^1.0.8"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"esbuild": "^0.
|
|
51
|
-
"typedoc": "^0.27.
|
|
50
|
+
"esbuild": "^0.25.0",
|
|
51
|
+
"typedoc": "^0.27.7",
|
|
52
52
|
"typescript": "^5.7.3"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"parent": "@thi.ng/shader-ast",
|
|
91
91
|
"year": 2019
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
94
94
|
}
|