Added build instructions to README.

Change-Id: I0bada6db974d390bfc154f125c0e0428c1d427a7
1 file changed
tree: 29eec0fd7db61a1764057817ecf328b864640312
  1. docs/
  2. src/
  3. third_party/
  4. tools/
  5. .gclient
  6. .gitignore
  7. .gitmodules
  8. AUTHORS
  9. CMakeLists.txt
  10. CMakeSettings.json
  11. DEPS
  12. LICENSE
  13. OWNERS
  14. README.md
README.md

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.