commit | a70e365313d31757bc9b75002fa46b3366d551a8 | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Tue Nov 08 18:27:08 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 08 18:27:08 2022 +0000 |
tree | e68fbb84cdbedb9c55e9eed1aeff0240576b44bd | |
parent | 0a7364815ce9e6b49ccbb9a90c109207a039f1f4 [diff] |
tint: fix extractBits edge case If count is highest and offset is non-zero, or vice-versa, we'd overflow the count + offset > bit-width check. This CL fixes this case. Bug: tint:1581 Bug: chromium:1381810 Change-Id: I6ee60ec1a13230fca6f4bb6407cd33bcc6730eb7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/109162 Commit-Queue: Antonio Maiorano <amaiorano@google.com> 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.