Skip to content

Commit

Permalink
add CTS docs
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jan 6, 2025
1 parent b3e81c0 commit 5b33bd4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.pyc
.DS_Store
node_modules
third_party/package.json

# --cut-here--
dist
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,25 @@ looked into it.
What you can do is render to textures and then read them back. You can also run compute shaders
and read their results. See the example linked above.

## Bugs / Issue
## Bugs / Issues

This repo just publishes `dawn.node` from the dawn project [here](https://dawn.googlesource.com/dawn/+/refs/heads/main/src/dawn/node/).
Bugs related to dawn, WebGPU should be filed in the in the
[chromium issue tracker](https://crbug.com/dawn)

## Running the CTS

```
npm run build
cd third_party/dawn/third_party/webgpu-cts
npm ci
cd ../..
cp third_party/webgpu-cts/package.json ..
./tools/run run-cts --bin=out/cmake-release 'webgpu:*'
```

Note: this is no different than running the CTS in dawn itself.

## Updating

This updates to the latest dawn and depot_tools
Expand Down

0 comments on commit 5b33bd4

Please sign in to comment.