commit | 552a719e65d62eed4c8e16f448cd6a6a3f6e2ea4 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Mon Jan 15 13:07:08 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 15 13:07:08 2024 +0000 |
tree | 56260f4072b635ccd8b8c0d90d90ea1b1e1c1537 | |
parent | 86f603ed08c470b244fe051046ad70f72d128ed4 [diff] |
Fix ASAN stack-use-after-scope in dawn_unittests This unittest was using a stack variable to mock the mapped data. The mapped data needs to live until the client's map write flushes and completeds, because the map write mutates it. This was a test bug, and not a problem in the implementation. Fixed: chromium:1516605 Change-Id: I2c302ec7c78459084634d95f51ab997f1961a43f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/169440 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Auto-Submit: Austin Eng <enga@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.