commit | c7355b78b0c3e5ef99dd46cc92311acdec2b67d2 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@intel.com> | Wed Jun 21 06:10:31 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 21 06:10:31 2023 +0000 |
tree | 5e29bb6c38ccd6d1cdae93eead7ece9490834389 | |
parent | d77a56ac507b4c888081921455205f1d09c60e60 [diff] |
Dawn: Implement adapter toggles and promote UseDXC as adapter toggle This CL implement adapter toggles by accepting DawnTogglesDescriptor in instance.EnumerateAdapters and APIRequestAdapter, and also promote UseDXC as an adapter toggle. This CL also make adapters report supported features based on its own toggles state, while validate device required features using device's toggles state. In this case, a device may support more features than its adapter reported to support (i.e. those features enabled by device's overridden toggles). Bug: dawn:1495 Change-Id: I08cefc14c636d749520b11bf6db8dd13b2cdce7d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/136481 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@intel.com> Kokoro: Kokoro <noreply+kokoro@google.com>
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.