commit | 2a8c00f53a2e332d837902cde2621aba13a359c9 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Jul 13 14:28:23 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 13 14:28:23 2022 +0000 |
tree | 6997ca848524cbcb355fa729d4768993988fe746 | |
parent | 4a9ce59cb279c9b85231beea827b62247dd01c39 [diff] |
tint: Limit const expr vector reserve size The `el_count` will match the WGSL declared array size *before validation*. Fuzzers have started triggering out-of-memory cases by constructing large constant arrays, just to then error out. Bug: chromium:1343963 Change-Id: I537ff3a570fe56b40e510b3bc6dfcd9b9752386a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96102 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Corentin Wallez <cwallez@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.