commit | c792f188f03d9a1da4a532e3b6632b7963e52e50 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Mon Mar 24 23:43:23 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 24 23:43:23 2025 -0700 |
tree | 2488c377baf4b6faa569e8800abe520c03de79b9 | |
parent | c5a1c32fe1664f79c1a6efb3accc15e72af918b7 [diff] |
[emscripten] CreateBuffer: return nullptr on RangeError This makes emdawnwebgpu match the behavior of JS and Dawn Wire (and Dawn Native after the corresponding fix). No-Try: true Bug: 42241190 Change-Id: If1ff7db995e73e6d32cbbc0cbc3911a95225f43d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/230474 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: 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.