@thi.ng/shader-ast-stdlib 0.16.21 → 0.16.23
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 +7 -1
- package/README.md +11 -1
- package/package.json +7 -7
- package/tex/blur.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-
|
|
3
|
+
- **Last updated**: 2024-02-10T08:59:57Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [0.16.22](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.16.22) (2024-02-06)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- use shader type consts ([039a0bf](https://github.com/thi-ng/umbrella/commit/039a0bf))
|
|
17
|
+
|
|
12
18
|
### [0.16.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/shader-ast-stdlib@0.16.4) (2023-11-09)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/README.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
<!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
|
|
3
|
+
> [!IMPORTANT]
|
|
4
|
+
> ‼️ Announcing the thi.ng user survey 2024 📋
|
|
5
|
+
>
|
|
6
|
+
> [Please participate in the survey here!](https://forms.gle/XacbSDEmQMPZg8197)\
|
|
7
|
+
> (open until end of February)
|
|
8
|
+
>
|
|
9
|
+
> **To achieve a better sample size, I'd highly appreciate if you could
|
|
10
|
+
> circulate the link to this survey in your own networks.**
|
|
11
|
+
>
|
|
12
|
+
> [Discussion](https://github.com/thi-ng/umbrella/discussions/447)
|
|
3
13
|
|
|
4
14
|
# 
|
|
5
15
|
|
|
@@ -110,7 +120,7 @@ For Node.js REPL:
|
|
|
110
120
|
const shaderAstStdlib = await import("@thi.ng/shader-ast-stdlib");
|
|
111
121
|
```
|
|
112
122
|
|
|
113
|
-
Package sizes (brotli'd, pre-treeshake): ESM: 13.
|
|
123
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 13.42 KB
|
|
114
124
|
|
|
115
125
|
## Dependencies
|
|
116
126
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/shader-ast-stdlib",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.23",
|
|
4
4
|
"description": "Function collection for modular GPGPU / shader programming with @thi.ng/shader-ast",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"test": "bun test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@thi.ng/api": "^8.9.
|
|
42
|
-
"@thi.ng/shader-ast": "^0.13.
|
|
41
|
+
"@thi.ng/api": "^8.9.23",
|
|
42
|
+
"@thi.ng/shader-ast": "^0.13.8"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "^7.
|
|
46
|
-
"esbuild": "^0.
|
|
45
|
+
"@microsoft/api-extractor": "^7.40.1",
|
|
46
|
+
"esbuild": "^0.20.0",
|
|
47
47
|
"rimraf": "^5.0.5",
|
|
48
|
-
"typedoc": "^0.25.
|
|
48
|
+
"typedoc": "^0.25.7",
|
|
49
49
|
"typescript": "^5.3.3"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
@@ -354,5 +354,5 @@
|
|
|
354
354
|
],
|
|
355
355
|
"year": 2019
|
|
356
356
|
},
|
|
357
|
-
"gitHead": "
|
|
357
|
+
"gitHead": "e5e7d5c6ed2eadee7a91d59cbd0c86ce880ab1c5\n"
|
|
358
358
|
}
|
package/tex/blur.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V2, V4 } from "@thi.ng/shader-ast/api/types";
|
|
1
|
+
import { S2D, V2, V4 } from "@thi.ng/shader-ast/api/types";
|
|
2
2
|
import { assign } from "@thi.ng/shader-ast/ast/assign";
|
|
3
3
|
import { defn, ret } from "@thi.ng/shader-ast/ast/function";
|
|
4
4
|
import { vec2 } from "@thi.ng/shader-ast/ast/lit";
|
|
@@ -15,7 +15,7 @@ const singlePass = (col, tex, uv, off, k) => assign(
|
|
|
15
15
|
const blur5 = defn(
|
|
16
16
|
V4,
|
|
17
17
|
"blur5",
|
|
18
|
-
[
|
|
18
|
+
[S2D, V2, V2, V2],
|
|
19
19
|
(tex, res, uv, dir) => {
|
|
20
20
|
let col;
|
|
21
21
|
let off;
|
|
@@ -32,7 +32,7 @@ const blur5 = defn(
|
|
|
32
32
|
const blur9 = defn(
|
|
33
33
|
V4,
|
|
34
34
|
"blur9",
|
|
35
|
-
[
|
|
35
|
+
[S2D, V2, V2, V2],
|
|
36
36
|
(tex, res, uv, dir) => {
|
|
37
37
|
let col;
|
|
38
38
|
let off;
|
|
@@ -54,7 +54,7 @@ const blur9 = defn(
|
|
|
54
54
|
const blur13 = defn(
|
|
55
55
|
V4,
|
|
56
56
|
"blur13",
|
|
57
|
-
[
|
|
57
|
+
[S2D, V2, V2, V2],
|
|
58
58
|
(tex, res, uv, dir) => {
|
|
59
59
|
let col;
|
|
60
60
|
let off;
|