commit | 4964d9bc20dabc5d8773d588ec742556ada1b7f1 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Aug 23 13:28:44 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 23 13:28:44 2022 +0000 |
tree | d106423d66081a3fb063751a179ffb9b1766a924 | |
parent | b7cf9dd263052710dc2714674dbb4da401874e14 [diff] |
Convert `@align` to hold an expression. With the updated WGSL grammar the `@align` attribute takes an expression instead of a value. This CL updates the internal data structures to store an expression instead of an integer value. The parser still only parses integers, they're just turned into `IntLiteralExpressions` at the moment. Bug: tint:1633 Change-Id: If34901798ed6ceaced354bc06ae9b6df875b700e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99980 Reviewed-by: Ben Clayton <bclayton@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: 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.