commit | 7be1d84975bbc9c2efd47adacb901c300bf7283b | [log] [tgz] |
---|---|---|
author | Brandon Jones <brandon1.jones@intel.com> | Thu Apr 09 23:28:22 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Apr 09 23:28:22 2020 +0000 |
tree | 60c76d28aca5206bf11a2cbc8f22ba34cad9c6c5 | |
parent | 26b7d8f6d719f13b802fdc85797cb1ea75f4ef98 [diff] |
Residency Bug: Make Setting Heap's Last Submission Serial Optional When attempting to allocate more than Dawn's budget within a single serial, all heaps in the LRU will be un-evictable because the last submission serial is the same as the current serial. We can work around this by instead using the LockHeap and UnlockHeap functions instead of EnsureCanMakeResident when calling CreatePlacedResource. Also added in some additional comments regarding the last submission serial. Bug: dawn:193 Change-Id: Ie4ec7ed5350b0858ea817431fbf77df6ca8acd96 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/18622 Commit-Queue: Brandon Jones <brandon1.jones@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Rafael Cintron <rafael.cintron@microsoft.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.