commit | 892bb94dfc85a3e60b25eb2c6e707adfd58e1079 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Tue May 20 00:57:00 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 20 00:57:00 2025 -0700 |
tree | 9a73631032d9cfa862f17512ab88b1f2d26c94f1 | |
parent | a3bfb33a777c75f77da36a7eb5ea4be24b86810f [diff] |
[dawn][native][emscripten] Move/rename bindingArraySize to core struct The handling of the new struct is equivalent to the handling of the old struct with an extension, so this is like the extension struct is always on. Validation is updated so that instead of the extension struct being unsafe, bindingArraySize > 1 is unsafe. (bindingArraySize = 0 and 1 are equivalent, and both are allowed with both array and non-array shader bindings). If any dependencies use non-designated initializers to create WGPUBindGroupLayoutEntry objects (like in WireArgumentTests.cpp), this will break compilation. Fortunately there doesn't seem to be any build breakage in Chromium or Skia. Fixed: 415092021 Change-Id: Ifbccfa87711e5bf5cb14242224e272a0556f7de1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/242395 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@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.