| commit | ee211622a3bc77b34e2bbbb0374c27dec85f8ade | [log] [tgz] |
|---|---|---|
| author | James Price <jrprice@google.com> | Tue Dec 02 14:38:35 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 02 14:38:35 2025 -0800 |
| tree | 0180c621e8aab38d0a1524137287ad3814285929 | |
| parent | b06bb483c8e510a64f277445bc538bb370c0e259 [diff] |
[ir] Validate intermediate workgroup size products When checking that the total workgroup size is less that UINT32_MAX, we were only checking the final x*y*z product. This may overflow a uint64_t and wrap around to be a valid uint32_t value, so we need to check the intermediate products instead. Fixed: 463283605 Change-Id: Ie4cb2354bc6693230b5b591d152ec3d95b0469c4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/277935 Reviewed-by: Peter McNeeley <petermcneeley@google.com> Commit-Queue: James Price <jrprice@google.com> Commit-Queue: Peter McNeeley <petermcneeley@google.com> Auto-Submit: James Price <jrprice@google.com>
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.