commit | 03f9437ae8f5037677997b89234aee146e5f4bf9 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Jul 21 09:34:28 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 21 09:34:28 2021 +0000 |
tree | a356c653d987f549dfc2f334fc6bac42b2130102 | |
parent | 28497129d5ade04b63789151fc573900392d76a1 [diff] |
Metal: Handle failures in Texture and TextureView creation. This includes OOM as well as internal driver failures when creating a view of an MTLTexture. This required changing the code to use the Create-Initialize pattern used everywhere else. Bug: dawn:801 Change-Id: Ib8a8dec74141aacfa58a55bb8201a83351b3b739 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/58721 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Stephen White <senorblanco@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.