commit | 97d75011b85b18ca5b7113d1936ccff138dbba2d | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Tue Mar 18 21:44:32 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 18 21:44:32 2025 -0700 |
tree | c6ec3136596cf9aedd79d84611a92a4d435b8b10 | |
parent | dfc82bb1097ad97801af4f66769b74d041d9b8bf [diff] |
[dawn][headers] Updates constants code-gen to match upstream. - Adds "depth clear value undefined" and use NaN in C header to match upstream. - Adds special case handling for C++ static constexpr because NAN from math.h doesn't compile on Windows because it doesn't allow the NaN. - Updates constant generation code so that C++ uses the C++ constexpr values. Bug: 402498731 Change-Id: I7f45c8cdb9bf65719278c159b03b692a9bfe4903 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/230554 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: 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.