commit | f53bc591dafdb0d2183850ed7baeda70f6059586 | [log] [tgz] |
---|---|---|
author | Xu Xing <xing.xu@intel.com> | Wed May 28 20:52:19 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 28 20:52:19 2025 -0700 |
tree | 554ac9ebb0acef7c49a55186a2efb136b131f608 | |
parent | d2c37a9a0d4ed61916c8f63547e79bd46bfe945c [diff] |
Support clear and load with RenderPassDescriptorResolveRect When the load operation is set to wgpu::LoadOp::Clear: 1. Clear the entire MSAA texture. 2. Optional user draws to the MSAA texture. 3. Resolve the MSAA texture's region {colorOffsetX, colorOffsetY, width, height} into the resolve texture's region {resolveOffsetX, resolveOffsetY, width, height}. When the load operation is set to wgpu::LoadOp::Load: 1. Load the MSAA texture. 2. Optional user draws to the MSAA texture. 3. Resolve the MSAA texture's region {colorOffsetX, colorOffsetY, width, height} into the resolve texture's region {resolveOffsetX, resolveOffsetY, width, height}. BUG: 417631315 Change-Id: Ief6203f3bf0ec4aec12a51025494614d623c1939 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/243455 Reviewed-by: Quyen Le <lehoangquyen@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Jiawei Shao <jiawei.shao@intel.com> Commit-Queue: 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.