commit | b61e0452f86acfff49c099c504234f94bea723cf | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Mon May 09 21:22:24 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 09 21:22:24 2022 +0000 |
tree | d81ffe76f49bcc83f2b700504daf33d603bc8186 | |
parent | 7378612ca542740061fed430a1bb551ffd661ce5 [diff] |
tint: Add unary-ops to the intrinsic table • Declare all the unary ops in the intrinsics.def file. • Reimplement the bulk of Resolver::UnaryOp() with the IntrinsicTable. This will simplify maintenance of the operators, and will greatly simplify the [AbstractInt -> i32|u32] [AbstractFloat -> f32|f16] logic. Bug: tint:1504 Change-Id: Ifc646d086fc93cfbe3f3f861b8c447178664c1f7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89028 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@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.