commit | 9d7913dcb78b0530eb09cb4535178cf70fba9a99 | [log] [tgz] |
---|---|---|
author | Trevor David Black <vantablack@google.com> | Fri May 10 18:06:13 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 10 18:06:13 2024 +0000 |
tree | 4a80edd5588ce38f4fa1b3c10b82c007d1aeeb00 | |
parent | 4baa8037223a2d759d0348f94bbeb18781e948b5 [diff] |
Unit test example for generated kotlin Requires the files to be generated with $ python3 generator/dawn_json_generator.py --template-dir generator/templates --output-dir tools/android/webgpu/src/main --dawn-json src/dawn/dawn.json --targets kotlin --jinja2-path third_party/jinja2 Once kotlin bindings are generated the tests can be run locally with $ gradle wrapper $ ./gradlew :webgpu:testDebugUnitTest Change-Id: Ib1a7b8a9eb4bec0e26dfc2469762a65e92f17a44 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/182364 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Trevor David Black <vantablack@google.com>
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. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.