Fix webgpu_dawn exported symbols. DEFINE_PREFIX = "WGPU" didn't apply to sources in webgpu_dawn_native_proc_sources target, thus they didn't compile with WGPU_IMPLEMENTATION and WGPU_SHARED_LIBRARY defined, so move these sources into webgpu_dawn target directly. This also fixes MSVC component build, which wasn't generating LIB file, because the DLL didn't export any symbols. Bug: 449779009 Change-Id: I0cf0ab1ca4a7a119af2d2867fb089ab4880f93a7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/278815 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Auto-Submit: Yuly Novikov <ynovikov@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.