| commit | 4f543b54f70cae30c767b4c983ed1b0db94b5a6c | [log] [tgz] |
|---|---|---|
| author | Kai Ninomiya <kainino@chromium.org> | Sat Jan 06 02:26:48 2024 +0000 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jan 06 02:26:48 2024 +0000 |
| tree | 6db9279f67b6f2a9d12ae72604c789b589787d89 | |
| parent | 4aa0eeb2c8ad61064172464675bf353833b41cb1 [diff] |
webgpu.h: Re-number enums, with defaulting: aspects/dimensions Part 2 implements the following, which occur directly in the frontend: - ImageCopyTexture.aspect: TextureAspect = All - TextureDescriptor.dimension: TextureDimension = 2D - TextureViewDescriptor.aspect: TextureAspect = All Spot tests are added for all of these. They won't necessarily catch if the defaulting is _wrong_, but should crash if it is _missing_. Bug: dawn:2224 Change-Id: I6bdf39f925d62734713f0e96243a70d6cd33c1f5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/166821 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@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.