commit | 2a6cc4f8fb40beb27a3542528955df7790a42116 | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Thu Jun 25 00:00:18 2020 +0000 |
committer | Commit Bot service account <commit-bot@chromium.org> | Thu Jun 25 00:00:18 2020 +0000 |
tree | 258a4637c0c7613e0f807ca7a8ba5c3f6e1c25c4 | |
parent | 10e4a44ce6512887861f1b5c6801655029bf8350 [diff] |
Optimize B2T and T2B copies with multiple array layers on Metal This patch moves the computation of TextureBufferCopySplit outside of the loop over each copy texture array layer so that we only need to do the computation once for each B2T and T2B copy command. BUG=dawn:453 TEST=dawn_end2end_tests Change-Id: I1fcfc972504f845467af92a77bc37870ed7b52a7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23720 Commit-Queue: Jiawei Shao <jiawei.shao@intel.com> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@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.