commit | ed2b465f860720be30eeba35a56088dc5ba66d46 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Sun Sep 27 02:00:52 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Sun Sep 27 02:00:52 2020 +0000 |
tree | 334d589fa96aea31159eec200ca46f50dbceb700 | |
parent | ddef7a04a2d3f66b3914576caf6057b43e135e3d [diff] |
Report more detailed error information for the failures of mapAsync This patch adds two new buffer map async status "destroyed before callback" and "unmapped before callback" to replace the status "unknown" so that the developers can get more details when meeting such errors in the call of buffer mapAsync. Note that this patch still preserves "unknown" as it is still being used in Chromium. BUG=dawn:533 TEST=dawn_unittests Change-Id: I12deefb49311ea6adea72c24e4e40797dd7eb4a1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28883 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.