commit | 00c999acd55bfe3050569b04033a7226abcf488d | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Jun 23 14:55:13 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 23 14:55:13 2021 +0000 |
tree | 1e1b620db23a38949eb7f522ef7d66a21caa1be0 | |
parent | d5f44ce68c9037d8b9356d33416c46ca9b12668a [diff] |
Guard against some arithmetic overflows Fixes locations that explicitly have TODOs about checking for overflow. Also fixup other locations found while searching the code for arithmetic operations. Fixes: dawn:830 Change-Id: I4ef6b97a9cde14439e573a1da8d569ab985efc53 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/55605 Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@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.