Clone this repo:

Branches

  1. 62ea866 Added build instructions to README. by Sonakshi Saxena · 4 months ago main
  2. 1e30932 Enable gclient sync in the repo. by Sonakshi Saxena · 5 months ago
  3. 94ec923 Include Android Samples to Dawn by Sonakshi Saxena · 5 months ago
  4. 1929587 Rolled deps manually by updating the hashes to- by Sonakshi Saxena · 5 months ago
  5. 1e78ce8 Rolled third_party/dawn by Sonakshi Saxena · 5 months ago

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.