Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

ben-clayton/dawn-node

Repository files navigation

Note: This repo holds the origial prototype for dawn-node and is no longer maintained.
Development continues here.


Fetching deps

git submodule update --init

Apply WIP CMake change to Dawn

cd third_party/dawn
git fetch https://dawn.googlesource.com/dawn refs/changes/43/64743/1 && git checkout FETCH_HEAD

Building

mkdir build
cd build
cmake .. -GNinja
ninja

Running CTS

Run this .js script from the root of a WebGPU CTS checkout:

#!/usr/bin/env node

require('../dawn-node/build/dawnnode.node'); // Path to dawn_node build.
require('./src/common/tools/setup-ts-in-node.js');
require('./src/common/runtime/cmdline.ts');

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •