@thi.ng/shader-ast-optimize 0.2.31 → 0.2.33
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/README.md +8 -11
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/shader-ast-optimize)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -22,7 +22,7 @@ This project is part of the
|
|
|
22
22
|
|
|
23
23
|
## About
|
|
24
24
|
|
|
25
|
-
Shader AST code optimization passes/strategies
|
|
25
|
+
Shader AST code optimization passes/strategies
|
|
26
26
|
|
|
27
27
|
### Tree optimizations
|
|
28
28
|
|
|
@@ -103,14 +103,11 @@ ES module import:
|
|
|
103
103
|
|
|
104
104
|
For Node.js REPL:
|
|
105
105
|
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
node --experimental-repl-await
|
|
109
|
-
|
|
110
|
-
> const shaderAstOptimize = await import("@thi.ng/shader-ast-optimize");
|
|
106
|
+
```js
|
|
107
|
+
const shaderAstOptimize = await import("@thi.ng/shader-ast-optimize");
|
|
111
108
|
```
|
|
112
109
|
|
|
113
|
-
Package sizes (
|
|
110
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 928 bytes
|
|
114
111
|
|
|
115
112
|
## Dependencies
|
|
116
113
|
|
|
@@ -140,7 +137,7 @@ TODO
|
|
|
140
137
|
|
|
141
138
|
## Authors
|
|
142
139
|
|
|
143
|
-
Karsten Schmidt
|
|
140
|
+
- [Karsten Schmidt](https://thi.ng)
|
|
144
141
|
|
|
145
142
|
If this project contributes to an academic publication, please cite it as:
|
|
146
143
|
|
|
@@ -155,4 +152,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
155
152
|
|
|
156
153
|
## License
|
|
157
154
|
|
|
158
|
-
© 2019 - 2022 Karsten Schmidt // Apache
|
|
155
|
+
© 2019 - 2022 Karsten Schmidt // Apache License 2.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/shader-ast-optimize",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.33",
|
|
4
4
|
"description": "Shader AST code optimization passes/strategies",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/thi-ng/umbrella.git"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/thi-ng/umbrella/tree/
|
|
13
|
+
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/shader-ast-optimize#readme",
|
|
14
14
|
"funding": [
|
|
15
15
|
{
|
|
16
16
|
"type": "github",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && tsc --declaration",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.
|
|
38
|
-
"@thi.ng/defmulti": "^2.1.
|
|
39
|
-
"@thi.ng/logger": "^1.4.
|
|
40
|
-
"@thi.ng/math": "^5.3.
|
|
41
|
-
"@thi.ng/shader-ast": "^0.12.
|
|
37
|
+
"@thi.ng/api": "^8.6.0",
|
|
38
|
+
"@thi.ng/defmulti": "^2.1.24",
|
|
39
|
+
"@thi.ng/logger": "^1.4.5",
|
|
40
|
+
"@thi.ng/math": "^5.3.16",
|
|
41
|
+
"@thi.ng/shader-ast": "^0.12.33"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@microsoft/api-extractor": "^7.33.
|
|
45
|
-
"@thi.ng/testament": "^0.3.
|
|
44
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
45
|
+
"@thi.ng/testament": "^0.3.7",
|
|
46
46
|
"rimraf": "^3.0.2",
|
|
47
47
|
"tools": "^0.0.1",
|
|
48
|
-
"typedoc": "^0.23.
|
|
49
|
-
"typescript": "^4.
|
|
48
|
+
"typedoc": "^0.23.22",
|
|
49
|
+
"typescript": "^4.9.4"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"typescript"
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"parent": "@thi.ng/shader-ast",
|
|
78
78
|
"year": 2019
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
|
|
81
81
|
}
|