commit | 00208bd134e55768833665500d1579c1bf897641 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Jan 06 14:28:24 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 06 14:28:24 2023 +0000 |
tree | c8a81e4a8106d2c5bee6e8f2289000c98be68a8f | |
parent | 1ec6e861ec7318b77124ec60cb17003121cbb5a4 [diff] |
Fix CopyExternalTextureForBrowserTests overflow. The call to Queue::WriteTexture was passing a size that was bigger than the array of data being used. This caused an ASAN failure when running with the wire, because the serialization of the command would memcpy past the end of the data. Bug: dawn:1625 Change-Id: I2a00f2e32e3d8f8ff66d85575d1908480861f153 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116288 Reviewed-by: Austin Eng <enga@chromium.org> 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.