commit | 976c2195bed46e417620484bc1b53e10bc9283e0 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Thu Mar 06 04:14:13 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 06 04:14:13 2025 -0800 |
tree | f2410d96c9aaf5379a749ce989c08cd4a922b72a | |
parent | 10d3d949c664f74bce91db34f417bdd4b7fbaf4c [diff] |
Revert "[dawn] Fix detection of __builtin_assume for DAWN_ASSERT" This reverts commit ef976b28459f55b5d916d97d0b43b1ec6341d258. Reason for revert: Fails compilation in Chromium 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> TBR=cwallez@chromium.org,geofflang@chromium.org,dawn-scoped@luci-project-accounts.iam.gserviceaccount.com No-Presubmit: true No-Tree-Checks: true No-Try: true Change-Id: I50bf0e20fec8981de58c27abd29a0fd549892032 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/229374 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Corentin Wallez <cwallez@chromium.org> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.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.