commit | 514a18aed3fc6cbef08cfab57fc3b5155f6f84b9 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Jan 09 10:44:27 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 09 10:44:27 2024 +0000 |
tree | 0a76abd0025d69a48ad60fb3b6fa341238674ae2 | |
parent | b7a1641725fa62df9337bc4975a12a94abe1f00d [diff] |
[tint][ir] Use intrinsic table for binary ops. Much like BuiltinCall, make ir::Binary abstract, with a derived class for each dialect. Add ir::CoreUnary to hold the core-dialect binary operators. Make the validator consult the dialect's intrinsic table. Change-Id: I798cd0d2c3d417b95e959ef9551e5c2b1f2fb34d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/168226 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.