commit | f319cdf324b17b378fb6b03c4965026195ab1faf | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Sep 26 17:21:24 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 26 17:21:24 2023 +0000 |
tree | 8ec79cb5113315104ac3acf74a84c2e3e449082f | |
parent | 7309db432187a9402219a79bf6159b27a6de9929 [diff] |
[tint][intrinsic] Add 'Table' and 'Dialect' types Re-introduce a Table class that wraps new Dialect structures. This makes the lookup functions type-safe by statically associating the table data with the enum types. Should avoid bugs where the wrong dialect enum is used to look up entries from a different dialect's table. Change-Id: Ic2ffdb44a5463de3a70211cbb131d9b73f079ec0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153620 Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: James Price <jrprice@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.