commit | 436fffe2a13cb8c4074fdd09944bc8b72a873788 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu May 04 21:26:58 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 04 21:26:58 2023 +0000 |
tree | e3358d0b5e6aad64292f2218b4bf81fb3b9079d0 | |
parent | 0edb5204ab8378a7c0d24287641c99705a3e647b [diff] |
ir/spirv-writer: Emit function declarations Emit the return type, function type, and the OpFunction instruction. The body is just a label and a hardcoded OpReturn for now and will be emitted properly in a future patch, along with entry point declarations and function parameters. Bug: tint:1906 Change-Id: Id7117da078bccd77a00afb54a63c9c55b13236f9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/131600 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@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.