commit | b38b3b0f8c4f2fa9dbcc7c607c0a2c0974316300 | [log] [tgz] |
---|---|---|
author | Brandon Jones <bajones@chromium.org> | Mon Dec 19 19:46:12 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 19 19:46:12 2022 +0000 |
tree | c61dd52acab171031161eae020161e4151d87dde | |
parent | 915e55a0d8ff2bdcdd624f0ee1b0e3689dc72a3d [diff] |
Implement AlwaysResolveIntoZeroLevelAndLayer globally Previously this toggle was implemented only for the Metal backend, but a need for it was identified on Android as well. This change moves the implementation to the backend-agnostic command encoder recording so that it works for all backends. Fundamentally it's still doing the same thing, however: Swapping resolve targets that point at a non-zero mip level or layer with a temporary texture and then performing a copy once the render pass has ended. Bug: dawn:1569 Change-Id: I292860cc74f653b2880e727d2ef3a7dfa3f10b91 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/106040 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.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 the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.