commit | 3e2e6297866e1ca0251afee69ffaeedc57fc4d84 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Mar 07 00:06:24 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 07 00:06:24 2025 -0800 |
tree | b498ed606572904626c5f71a921f048c4383aea6 | |
parent | 181fc9af440324c2c43e9a552bbbd9e27c8a1405 [diff] |
Reland "[dawn] Fix detection of __builtin_assume for DAWN_ASSERT" This is a reland of commit ef976b28459f55b5d916d97d0b43b1ec6341d258 Original change's description: > [dawn] Fix detection of __builtin_assume for DAWN_ASSERT > > The proper way to detect the presence of the builtin is using > __has_builtin. This triggers a warning that the assume is a noop > if the ASSERT contains side effects. It is suppressed because we > want to call functions in ASSERT, and still turn most of them into > __builtin_assume in Release. > > Fixed: 394823026 > Change-Id: I60f6526a0c9e8019b2b83afe2d48ea43713ac13f > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/227794 > Reviewed-by: Geoff Lang <geofflang@chromium.org> > Commit-Queue: Corentin Wallez <cwallez@chromium.org> Fixed: 394823026 Change-Id: I2037f5200d722fde69414ac1f7509cbf5e9e5b7d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/229394 Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@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.