commit | b4ce2802821560299252e4d350096f8cddd4e839 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Fri May 16 12:40:39 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 16 12:40:39 2025 -0700 |
tree | 6e6e90b92f32f0996ae4631d075c7f102a2217e5 | |
parent | 30a3b59bf251845cc58bce11e55b57f5d4d3f331 [diff] |
[emscripten] Fix fillAdapterInfoStruct__deps & externs The deps need to be on the fillAdapterInfoStruct helper rather than the functions that use it, I think because it's positioned like a public API so Emscripten assumes it can't eliminate it (but still assumes it can eliminate stringToNewUTF8). It's not an immediate code size problem because Closure still eliminates it if it's unused, but Closure needs the code to be valid to do that. Tested this fixes a local release+closure build. Also updated the externs for these; I have not verified that change (but it's safe, it can't break anything). No-Try: true Bug: https://github.com/emscripten-core/emscripten/pull/24303#issuecomment-2887004258 Change-Id: Ib718f37c2dccf18374a115c9f12192685da55e46 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/242734 Commit-Queue: Loko Kung <lokokung@google.com> Auto-Submit: Kai Ninomiya <kainino@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.