commit | 0df4753ba63aa187b8769cf38deea09cf8830ef4 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Sat Jan 25 09:35:50 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Sat Jan 25 09:35:50 2020 +0000 |
tree | e57c1bce237834ac3639ec4216135c9cc7be82bc | |
parent | 13e2e139a516258ec43535b09a7aa212a00ae667 [diff] |
Vulkan: Fix crashes on Device destruction if Device::Initialize fails If Device creation fails, several things are just partially initialized and the destroy sequence crashes dereferencing null data. This commit marks the Vulkan device as lost until after it is created. This avoids parts of the destroy sequence which are unecessary since the Device was never successfully created and no commands are in flight. Bug: chromium:1043095 Change-Id: I8e121709fa19b215e118a615b639380d1db1f3f2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15460 Reviewed-by: Kai Ninomiya <kainino@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.