| commit | cab55c3ab615e22518071a077c20bb8ab4d74a6d | [log] [tgz] |
|---|---|---|
| author | Kai Ninomiya <kainino@chromium.org> | Fri Oct 31 13:28:02 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 31 13:28:02 2025 -0700 |
| tree | 9d3d72ccb4e72ac7b95c3cee6593da64300a5754 | |
| parent | 65b8af25aa6ba0f5a3072649185200e4882b74db [diff] |
[emscripten] Add missing header to (non-pkg) CMake build The CMake build files for Emdawnwebgpu had a bug where they were relying on the system include paths in Emscripten. Now that Emscripten has removed USE_WEBGPU, there's no include path that includes webgpu/webgpu_enum_class_bitmasks.h. This shims that in via emdawnwebgpu_headers_gen, same as what we did with webgpu_glfw.h. The originally-reported bug can be reproduced by building emdawnwebgpu_init_only_sample with CMake on Emscripten 4.0.18. (Will roll that separately to make sure this works both before and after.) Fixed: 456628846 Change-Id: I8e15c3d629e36fec85d2443c941d1a2af532a437 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/270194 Auto-Submit: Kai Ninomiya <kainino@chromium.org> Reviewed-by: François Beaufort <fbeaufort@google.com> Reviewed-by: Loko Kung <lokokung@google.com> 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.