[spirv-reader][shader-io] Fold away lets to var's. If there is a `let` of a `var` (which can happen from an `OpCopyObject`) then we need to fold away the let and use the var directly in ShaderIO. The var then folds away and becomes an input parameter. Add support for folding through `lets`. Bug: 42250952 Change-Id: I91db43a07cafcb4d1f1d9b50019316883e36db79 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/245594 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
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.