Updates Chain utilities with wrapper and for Out structs as well. - Adds Unpacked<T> template as wrapping util. - Moves existing validation helpers into the class. - Moves bitset into wrapping class so that it can be computed on construction. - Adds ValidateSubset helper to eventually replace ValidateSType helpers. - Fixes existing usages and updates tests. Bug: dawn:1955 Change-Id: I72ad96ceab83a887a4a22ee1d12b8885fea36023 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/163600 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Loko Kung <lokokung@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.