commit | b8a56af1767c3197eafc967cd2169f41acb4f625 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Thu Jul 30 15:25:37 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Jul 30 15:25:37 2020 +0000 |
tree | 9559cce771bd7f7546437bf9afa4a3317a49dee6 | |
parent | 38ba51ce7ad82a4b4935ca5e71ea1570e2dd9ca3 [diff] |
Rephrase Format::aspect enum as an enum class mask Format::aspect should be a mask so that it is easier to iterate over and test if an aspect is present. This CL also re-exports wgpu's EnumClassBitMask helpers in dawn_native. It also adds an EnumMaskIterator which wraps BitSetIterator to allow iterating over the enums in an enum mask. Bug: dawn:439 Change-Id: I08180a45b27c6031e2f80b0fa1801716677fd813 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24682 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: Austin Eng <enga@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.