commit | 1b35e3f9a8c10c11d750fde76f0862e8e9bc9534 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu May 19 21:55:29 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 19 21:55:29 2022 +0000 |
tree | 272d7ccef4816f376bf2308c006f9de236593861 | |
parent | e5a67ac891a5c8aa584b7998d35453a29b778a93 [diff] |
tint: Add new sem::Type helpers Add: • sem::Type::is_abstract_or_scalar() • sem::Type::ElementOf() Use these to clean up some code in src/tint/sem/constant.cc. Bug: tint:1504 Change-Id: I78e06b580a750c97ac654af4b0b364ddd3de6596 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/90534 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 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.