commit | 49ba8e5e9c8ea2fc26bebe932d803aaeb3e570ca | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Mon Jul 14 21:34:23 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 14 21:34:23 2025 -0700 |
tree | 1637257f11f8bfd197c2d03686334b787311e623 | |
parent | ef3bbd21fbacf423e942c0f8656c8686c0280449 [diff] |
[emdawnwebgpu] Change link test to make function calls to test code size Real function calls (even with bogus arguments) force all of the code to be included, and also be able to invoke LTO inlining. A volatile hack is used to prevent any of the arguments to the function from being constexpr so they can't be constant-folded. Bug: 414858419 Change-Id: Ic8e8245567990a55d15eaf504e75345c7ffcb4a3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/252316 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Kai Ninomiya <kainino@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.