dawn_node: Document `npm install` step for CTS
If you have a fresh checkout of CTS and miss this step, you get errors when running the CTS scripts that are hard to figure out. Change-Id: I12c63455a165d2c37beae75fedd34a4da6c30f28 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/66640 Commit-Queue: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
98dc0ebe4c
commit
17dd734e54
|
@ -45,6 +45,7 @@ ninja dawn.node
|
||||||
|
|
||||||
1. [Build](#build) the `dawn.node` NodeJS module.
|
1. [Build](#build) the `dawn.node` NodeJS module.
|
||||||
2. Checkout the [WebGPU CTS repo](https://github.com/gpuweb/cts)
|
2. Checkout the [WebGPU CTS repo](https://github.com/gpuweb/cts)
|
||||||
|
- Run `npm install` from inside the CTS directory to install its dependencies
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./src/dawn_node/tools/run-cts --cts=<path-to-webgpu-cts> --dawn-node=<path-to-dawn.node> [WebGPU CTS query]
|
./src/dawn_node/tools/run-cts --cts=<path-to-webgpu-cts> --dawn-node=<path-to-dawn.node> [WebGPU CTS query]
|
||||||
|
|
Loading…
Reference in New Issue