commit | 525ef86c2ee52e3432d245e7b9ef2c45dbe519d5 | [log] [tgz] |
---|---|---|
author | Bryan Bernhart <bryan.bernhart@intel.com> | Mon Feb 03 19:17:34 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Mon Feb 03 19:17:34 2020 +0000 |
tree | ea4a6de926041dd73c25c90afa1031ab6d2972cc | |
parent | 97c3be26997f0638179fbc06d2ef753d3c58656f [diff] |
Vulkan: attempt sub-allocation before direct allocation. Falling-back to direct allocation ensures allocation failure returns OOM. If no OOM, the resource could be left then used while in an invalid state. BUG=chromium:1045811,chromium:1047220,chromium:1047048 Change-Id: I927962b1dc6a7422a7d6eac114d82f28a42794a2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15600 Commit-Queue: Bryan Bernhart <bryan.bernhart@intel.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 webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.