diff options
Diffstat (limited to 'tools/README.md')
-rw-r--r-- | tools/README.md | 13 |
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. |