commit | 50414807150bdac9f41817fea7bdf939425768be | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Fri Jun 24 08:06:19 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 24 08:06:19 2022 +0000 |
tree | 4637941977725c886e6f0aa11dc3b00c6290ea41 | |
parent | 18b966321bca9ed2a7787c0adbbb18d013fac43e [diff] |
tint/writer: Clean up EmitConstant() methods Aside from more SPIR-V using OpConstantNull, this is a no-op change. By refactoring these methods, they're easier to read, and contain less lambda-heavy code. Change-Id: I89c26b2b9f1cd0785d86fb3293f7cfda550bef2e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94331 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@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.