commit | 0cb3761b7c8325e9c76858d479945aab7e45b1b6 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Apr 22 11:08:09 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 22 11:08:09 2025 -0700 |
tree | 924129bee270eff28f15247d13cb051b15cf6551 | |
parent | 3805f1f00cc6e9d863d9d2eb1993204559a083b3 [diff] |
[dawn][native] Add Compatibility between BGLEArraySize and binding_array This adds reflection of the array size of the WGSL bindings in EntryPointMetadata. The compatibility check with the BGL is updated to require the arraySize to be big enough. The pipeline defaulting is also updated to make a BGLEArraySize when needed. Tests are added. Bug: 393558555 Change-Id: I77e1ad908cd0cc48a9e54a94e2beb004f40079c8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/236734 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Brandon Jones <bajones@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.