commit | 0bb94304f44102c0b55eeb772d8c3e6935c4b33b | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Aug 03 23:34:52 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 03 23:34:52 2023 +0000 |
tree | 1ec142f99505880f0236f02d4e155f3452e84a70 | |
parent | 8cc3960368ad836d1ec1c13813875aa0f74631ac [diff] |
[ir] Fixup potentially invalid read. When updating the lookup item in the expression hash, we use the result afterwards. It's possible for the value to have been replace before it's read again and the wrong value returned. Copy the values, then update and return the copies instead. Bug: tint:1718 Change-Id: Iacae8d040ff59e4bb6019d6f8f8face09a66e922 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/144841 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Dan Sinclair <dsinclair@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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.