commit | e3fd02610817868ccf96f698666d0104035f3dab | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Tue Jan 05 07:40:48 2021 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Tue Jan 05 07:40:48 2021 +0000 |
tree | 8895ad0111022cd05ba37438abe206b0e55a864c | |
parent | c120b02dbe147b4cfdfabc55b7c63808e662bf05 [diff] |
Use a common helper for std::nothrow It's come up multiple times that ASAN doesn't support std::nothrow which leads to OOM bugs filed by the fuzzers. Use a common helper to avoid this and return nullptr for large allocations when ASAN is enabled. Bug: none Change-Id: I492b4ff4e498cf82d4ca08ba849671d3d16b9cfb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/36280 Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: 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.