commit | 8faaad9b5e01dcc84df80097660446a68509e47c | [log] [tgz] |
---|---|---|
author | Shrek Shao <shrekshao@google.com> | Fri May 13 21:05:57 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 13 21:05:57 2022 +0000 |
tree | fe816e9a729e156244e004d6be11d47d1a6ad8ef | |
parent | 83fc247d4bb9ab23616a697f272d69f29f44447f [diff] |
Validate if device is alive in EncodeFunction of EncodingContext::TryEncode GetOrCreateAttachmentState access mCaches in Device even if device is already destroyed. Gate the function by checking if encoder is destroyed. Bug: chromium:1323310 Change-Id: I8151c5ec696e4da28b8296d9142f3120379782ef Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89860 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Shrek Shao <shrekshao@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.