commit | b22c5a465c2cd0811bd5cdcc1189584bd9b8e7e2 | [log] [tgz] |
---|---|---|
author | François Beaufort <beaufort.francois@gmail.com> | Thu May 04 06:46:19 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 04 06:46:19 2023 +0000 |
tree | 01430e235e007314f245d3ad327e385e02e96555 | |
parent | dac162716cc826f03a0324387c43649462a74c70 [diff] |
Handle new errors to WGPUBufferMapAsyncStatus This CL raises "mapping already pending", "offset out of range", and "size out of range", and "validation error" error to make it easier for developers to know why APIMapAsync fail in those cases. Bug: chromium:1431622 Change-Id: I6f04751b2d67420a51d94aeac39ffbfd6e126fbf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/129740 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Fr <beaufort.francois@gmail.com> Reviewed-by: Austin Eng <enga@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.