commit | 2939c4531e84b22f49900b606cf56f0af4351d10 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Dec 01 20:39:33 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 01 20:39:33 2022 +0000 |
tree | 9bb9d621344879743b69bb44c85a53068b44c965 | |
parent | 6992f51ebd3feefb50b03e72cfc9170e5dd46793 [diff] |
Fix stack-overflow in `lhs_expression`. Currently when parsing `*` and `&` we recursively call into ourselves to process the tokens. This can cause stack issues if there are an excessive number of `*`s and `&`s. This Cl changes `lhs_expression` to generate a list of UnaryOps to be applied and does not recursively call `lhs_expression`. Bug: chromium:1394972 Change-Id: I40caee05c9b7f71abb776d375cbf995c6a1fd36f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/112580 Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> 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.