commit | ef976b28459f55b5d916d97d0b43b1ec6341d258 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Mar 05 09:58:18 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 05 09:58:18 2025 -0800 |
tree | 0e273573fa433f928466fbd497d731c4f821947b | |
parent | a2ad6b01f4a1032deaadda1737e1fbfceaf6aa0f [diff] |
[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>
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.