commit | 6ced832d74d9cd86471b0232e69306d21fb56205 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri May 29 08:04:48 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Fri May 29 08:04:48 2020 +0000 |
tree | 92e21f160841202b33c17cc0c1921c312a60e758 | |
parent | 0e5301c23ef0e68bd32513658d53d76deca668ab [diff] |
Fix unlinking nullptr error scopes if device init failed When device initialization failed, DeviceBase::mCurrentErrorScope is nullptr so we need to guard the call to UnlinkForShutdown. Bug: chromium:1081998 Change-Id: I65a1948117fa9461f7fc8d2d1d70aef669bc375d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/21685 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> 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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.