commit | e3d5d6eb1e1fef2c4b956e14172c6f7e03835938 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Wed Sep 04 02:43:23 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 04 02:43:23 2024 +0000 |
tree | aa88573e958e4240edf7d5da2e197fc21ca2195b | |
parent | 379c7df12680eff85b3b92f7d5ac560ec0f6b6d4 [diff] |
Reserve command blocks once in CommandIterator::AcquireCommandBlocks This patch first computes the total size of all the incoming command blocks before acquiring all the command blocks so that we only need to call `mBlocks.reserve()` once in this function. Bug: 363713615 Change-Id: I0f5bc56f021944d6ca1ade9b8497ba02f2402cf6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/204700 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@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.