commit | 636e3d0111081026e718f7efaf3e46fcca5768a6 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue May 10 16:02:06 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 10 16:02:06 2022 +0000 |
tree | ee32235959af23f338358a19199914a20c19c81a | |
parent | 17fa42d5274acc8693ed0d68fb2b26cf27adcf3d [diff] |
tint: Add a negation operator to Number Use this for expressing negative i32s. Replacing `i32(-123)` with `-123_i` is more readable as the former looks like it should be generating a WGSL cast, which it does not. Bug: tint:1504 Change-Id: Iead3885b903e1f707b8a7e6b9090d65930df118e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89401 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@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.