commit | e80a7c79a070534a2f898ebabae835b7216ab0dc | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Apr 22 07:23:23 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 22 07:23:23 2025 -0700 |
tree | 88fccbc281fe299a70df52bf2e39406f0b639484 | |
parent | c932d8084b23bcfe5c92d7e59fe9a1e0939970f3 [diff] |
[dawn][native] Support BG with BGLs that use arraySize. This expands the single BGL entry at the API surface into one BindingInfo per element in the BGL's internal format. This lets BG validation and code to store element unchanged. A test is added that one must specify all the array elements when creating a BG with a BGL that uses arraySize. BGL validation is updated to require that elements created for the arrays never go past maxBindingsPerBindGroup, and a test is added. Bug: 393558555 Change-Id: I7e91040d7659d4db26bc1b46a38aef08e707be0c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/236554 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Reviewed-by: 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.