commit | 6dbb463f1deff71c0bff1eccaf44a240aab8ace1 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Mon Oct 31 17:54:49 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 31 17:54:49 2022 +0000 |
tree | 8a74553d227ec7a654c7914e720a2e37076c9065 | |
parent | be83128031408a5f77f4ec26faa22db4f9d450e2 [diff] |
tint/writers: Polyfill integer clamp() ...to `min(max(e, low), high)` as defined by the WGSL spec. Fixed: tint:1479 Fixed: tint:1539 Change-Id: I39406d5256a155a781e44bd9d6081ce7a9bf5a68 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/107640 Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@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.