summaryrefslogtreecommitdiff
path: root/tools/README.md
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-12-09 01:19:16 +0100
committerGitHub <noreply@github.com>2023-12-09 01:19:16 +0100
commit393abed3873d83019feb5bcebb10a6929133862a (patch)
treec346e6d628e6b037fb8f881a70ca2ae6f70692b6 /tools/README.md
parent123d9ea047a2e10803e260ebf00f31fcc98463ee (diff)
feat: bring back WebGPU (#20812)
Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com> Co-authored-by: Kenta Moriuchi <moriken@kimamass.com> Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tools/README.md')
-rw-r--r--tools/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/README.md b/tools/README.md
index f30e16b8f..012302733 100644
--- a/tools/README.md
+++ b/tools/README.md
@@ -31,6 +31,19 @@ executable
cargo run -- run --allow-read --allow-write --allow-run --unstable ./tools/<script>
```
+## wgpu_sync.js
+
+`wgpu_sync.js` streamlines updating `deno_webgpu` from
+[gfx-rs/wgpu](https://github.com/gfx-rs/wgpu/).
+
+It essentially vendors the `deno_webgpu` tree with a few minor patches applied
+on top, somewhat similar to `git subtree`.
+
+1. Update `COMMIT` or `V_WGPU` in `./tools/wgpu_sync.js`
+2. Run `./tools/wgpu_sync.js`
+3. Double check changes, possibly patch
+4. Commit & send a PR with the updates
+
## copyright_checker.js
`copyright_checker.js` is used to check copyright headers in the codebase.