commit | 0982dcea690069dc9a071a8252f36b37d87f820a | [log] [tgz] |
---|---|---|
author | Shrek Shao <shrekshao@google.com> | Tue Nov 29 23:05:30 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 29 23:05:30 2022 +0000 |
tree | 2e97a67202fca2c9b99e9f96d7b5605d9b5a3acb | |
parent | 106eaa2710a15234f56e3d1854bbb5afce60375f [diff] |
Add DisallowDeprecatedPath toggle The runtime toggle is off by default. When turned on, the deprecation warning will be turned into validation error. Replace device->EmitDeprecationWarning with DAWN_MAKE_DEPRECATION_ERROR macro which make an internal validation error or make a MaybeError{} based on the toggle. The callsite can wrap it with a DAWN_TRY. Bug: dawn:1563, dawn:1525, dawn:1269, dawn:1602 Change-Id: I7fd6f4f8ffc2e054e5fc5fc4aaf23c47f5733847 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111321 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Shrek Shao <shrekshao@google.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.