| commit | 29859ea14fcddec4f2acad460b57bc3ac601cc8b | [log] [tgz] |
|---|---|---|
| author | Kai Ninomiya <kainino@chromium.org> | Fri Nov 03 22:03:39 2023 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 03 22:03:39 2023 |
| tree | e0814655db49c3b63281e58576bc5ef48ced0dad | |
| parent | 65e5d48d4ba4c310275c2f74f90142f9d1458322 [diff] |
Reject requiredLimits values that are too large for the type This could have been a 1-character fix, but I preferred to use CheckedNumeric, and also wanted to update the error message. Note this doesn't quite match the WebGPU spec - the spec technically says to allow alignments to be set to powers of 2 >= 2**32, but this disallows anything higher than 2**31. I'm going to propose to the spec to tighten this for simplicity of implementation. Test: https://github.com/gpuweb/cts/pull/3132 Fixed: 1499030 Change-Id: Id2c6e56fcbc326c445b28219b724f6ae325077ed Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5002999 Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Cr-Commit-Position: refs/heads/main@{#1219757}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.