commit | 2721137840e46cc13c10f1d353bedb8e8de630d3 | [log] [tgz] |
---|---|---|
author | Xu Xing <xing.xu@intel.com> | Thu May 15 19:02:40 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 15 19:02:40 2025 -0700 |
tree | cecf179caa7ca0f8849442aa0b7bf28f175bede4 | |
parent | f68196e92cc1f7f19ab99f2276cf585fc4e09a5f [diff] |
Implement resolve rect 'RenderPassDescriptorResolveRect' can be chained to 'RenderPassDescriptor' to indicate that only a specified rectangular region needs to be expanded and resolved, avoiding the need to process the entire texture. The difference between 'RenderPassDescriptorResolveRect' and 'RenderPassDescriptorExpandResolveRect is: 'RenderPassDescriptorResolveRect' creates an MSAA texture with dimensions no smaller than {'width', 'height'}, which loosens the requirement of color attachment texture size to match resolve texture size. 'RenderPassDescriptorExpandResolveRect' creates an MSAA texture that matches the size of the resolve texture. Bug: 402810062 Skip-Clang-Tidy-Checks: modernize-use-std-format Change-Id: Ia5d0325944e227286be19d92f10b4230e4663121 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/238976 Commit-Queue: Xing Xu <xing.xu@intel.com> Reviewed-by: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.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.