commit | 981d5a6f08d59e9a1f4988696f6a1c39fd567392 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Thu Mar 16 19:06:33 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 16 19:06:33 2023 +0000 |
tree | 626b0dd9422841312c3bba9ef3d6d75197eb8493 | |
parent | 498e91826e94b4b5fcdd8082cbdde7e77aec3b13 [diff] |
Dawn: Refactor adapter features, part 1 This CL make adapter base holds it supported features set as private instead of protected and provide a method to set features enabled. This CL also rename SetSupportedFeatures in null adapter to SetSupportedFeaturesForTesting. This is a pre-CL for implementing UseDXC as instance toggle, which may require further refactor and adapter features logic to handle the toggles. Bug: dawn:1495 Change-Id: I0a07e5653b43f18278cb4a2fe90985cc90b66068 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/124421 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Reviewed-by: 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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.