Matrix Space

Dawn Samples

WORK IN PROGRESS

Samples for the Dawn library

Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL.

Building

Samples

  • Clone the repository locally.
  • Fetch the dependencies using python tools/fetch_dawn_dependencies.py
  • Compile using Cmake+make
mkdir -p out/Debug
cd out/Debug
cmake ../..
make # -j N for N-way parallel build

Android Samples

  • Clone the repository.
  • Fetch the dependencies using python tools/fetch_dawn_dependencies.py
  • Open src/samples/android in Android Studio Flamingo 2022 or greater.
  • Build and run any of the samples on a physical Android device.

License

BSD 3-Clause License, please see LICENSE.

Disclaimer

This is not an officially supported Google product.