commit | af908a32679248b3a6a3f4a6f32519fc622bbf8a | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Sun Aug 07 11:01:49 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Aug 07 11:01:49 2022 +0000 |
tree | 57e6b2dc3e8010b36beb7d52bbb8bae09af9cd28 | |
parent | 66fbd2c1ecefd33f8ec5ec6327f15a746ff041e4 [diff] |
dawn: Make ASSERT() breakpoint on all supported platforms. This moves the implementation of DAWN_BREAKPOINT() in the only file that uses it and completes it for all supported architectures. If in the future breakpoints are needed in other places, it would be possible to expose the function in a header. Add DAWN_PLATFORM_IS macros for all supported architectures so they can be used for implementing Breakpoint() and add support for RISCV. Bug: dawn:1506 Change-Id: Ib1b92c2d0c119cfc1b348fe905029fe366f5ad04 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98121 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@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.