commit | e629aee91a87e9ad7d0b5d4cee88206eda15565e | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Jul 11 17:21:17 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 11 17:21:17 2022 +0000 |
tree | d67f224f1620096cf82736702c9c7a43a4f801a5 | |
parent | 8ce7183e686954e50f41df1e9da221f983a16ce0 [diff] |
dawn::native: Check that ExternalTexture bindings are ExternalTextures The code was checking the equivalence in one direction but not the other, leading to a case where passing a TextureView instead of an ExternalTexture passed validation and lead to crashes in the backends. Bug: chromium:1343099 Change-Id: I428252796df375e7cf3a6df1a03192d65364e370 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95944 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Shrek Shao <shrekshao@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@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.