[tint] Make binding space consistent for array length from uniform MSL had the `bindpoint_to_size_index` keys in post-remap space, which goes against the principle that all inputs should be in WGSL binding space. Also change the `ubo_binding` to use the target-language's output binding type. This requires forking the common `ArrayLengthFromUniformOptions` structure into the two places that use it. Fixed: tint:2178 Change-Id: I02f849cef704a5c1dc045c3fea602eb7639f1ec4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/176940 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: dan sinclair <dsinclair@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.