commit | 275e078952a530a6ee6428b44cd3694625bce13b | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@google.com> | Tue Apr 30 19:45:59 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 30 19:45:59 2024 +0000 |
tree | aaa2dce814bd0692c8ebed60baf2acbe6c50f0e4 | |
parent | 0d8064652421a06c6f6ba639c4128cdc47b8bbc5 [diff] |
Fix DynamicUploader::Deallocate to not skip buffers when erasing Previously, we would both .erase() from a vector, and increment the index variable. It is not necessary to increment if a value is erased, because `i` then points to the next value. Change-Id: If6396fde403524e473aecaf94786fd7f77b49685 Fixed: dawn:2554 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/186480 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Shrek Shao <shrekshao@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Austin Eng <enga@google.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.