Fix cross-compilation for Windows on Mac/Linux Somehow, these were the only fixes needed! To do this, follow these instructions: https://chromium.googlesource.com/chromium/src/+/main/docs/win_cross.md Except on Mac, you may need to build with `autoninja --offline`. Siso should work, but various system headers don't build when built remotely (... though I actually have this problem occasionally with mac-on-mac builds too). I'm getting a warning like this, which may be related: You have wrong version of reclient_cfgs not matched with third_party/llvm-build. cr_build_revision=llvmorg-23-init-10931-g20b6ec66-11,win reclient_cfgs=llvmorg-23-init-10931-g20b6ec66-11 Make sure you have 'download_remoteexec_cfg' in .gclient custom_vars and run 'gclient runhooks' Change-Id: Idfdfe4e6580f073325966a64339e19d7f130c479 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/312076 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Auto-Submit: 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.