Ensure bundle_libraries is called with uppercase link type In the root CMakeLists.txt, a call to `TOUPPER` suggests that the value of `DAWN_BUILD_MONOLITHIC_LIBRARY` might have any case. However, its value is used as is in the call to `bundle_libraries`, which in turn uses it in a call to `add_library`, which requires uppercase `STATIC`or `SHARED`. This ensures that the argument passed to `bundle_libraries` is uppercased. Another fix could be to place a call to `TOUPPER`directly within `bundle_libraries`'s definition. This is an imported pull request from https://github.com/google/dawn/pull/56 GITHUB_PR_HEAD_SHA=2ce3a5f3290dd763804d1f5c6170edf756943502 ORIGINAL_AUTHOR=Elie Michel <eliemichel@users.noreply.github.com> GitOrigin-RevId: 69ce404dd4cb9c7b9cdae7956b63bfd8cf700172 Change-Id: Ibfea2cdc67b45142c5d7916e4a2a48b74524d2cd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/285403 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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.