[emscripten] More fixes for passing pointers and i64s - Change emwgpuWaitAny to return `double` as a workaround for https://github.com/emscripten-core/emscripten/issues/23441 - Fix a bunch more pointer/i64 values that need to be BigInt in WASM_BIGINT/MEMORY64 builds. Found these just by searching for '0' or 'stringToUTF8OnStack', probably missed some. I tested a few by triggering error conditions but most are untested. - A few random nits. Tested with 40 different build configurations: https://github.com/kainino0x/webgpu-cross-platform-demo/blob/5675031561e4134b2467cd2b7f054c32776001d3/build_all.sh#L60-L78 Bug: 389977397 No-Try: true Change-Id: I0af67a347351be7002fc25e2157e3767f1e25be3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/222314 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: 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.