commit | f6c20f12b982c4c921fd8dc6dccffa6dbf1924e2 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Feb 20 14:45:27 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 20 14:45:27 2024 +0000 |
tree | 99aaa3c0887c9129547adcd110fe6bd758d6bfc6 | |
parent | e00aeb487402f8d3e0b27206aacdc91c750c3389 [diff] |
[tint][intrinsics] Simplify intrinsic table * Combine the type and number matcher index tables. The usage knows which kind of matcher is needed. * Combine the type and number template structures. * Change the template matcher from a single matcher index, to a list of matchers. This allows templates to match using other templates. * Remove the validation forbidding the direct use of a matcher in a parameter. While this is discouraged for WGSL due to readability of diagnostics messages, there's no reason this couldn't be used to simplify other definition files. Change-Id: I86897d49297c3d4b960e1f73c465103593a445d4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/175242 Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Reviewed-by: dan sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
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.