commit | bd9da033ea5b4242217b1343d16eaf9c2d098d44 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Jan 09 20:51:41 2024 +0000 |
committer | James Price <jrprice@google.com> | Tue Jan 09 20:51:41 2024 +0000 |
tree | 6566c426d5a24ebe71f01c4949705938d06ffdcc | |
parent | df41dad13f79f66e81d8693a10f44d67a2edbec7 [diff] |
[spirv-reader] Add Emit() and AddValue() helpers This simplifies the mechanism for emitting instructions to the current block and mapping SPIR-V result IDs to Tint IR values. Add a test coverage for capturing the result of a function call, which was not previously happening. Bug: tint:1907 Change-Id: I1ca11b9eac3100e4cc7f513fafe5f0e33ec0ed74 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/168207 Reviewed-by: David Neto <dneto@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> 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.