commit | 741511a56690aa4eccc12f7d416b9d8ae192d84b | [log] [tgz] |
---|---|---|
author | Antonio Maiorano <amaiorano@google.com> | Thu Jun 26 08:23:57 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 26 08:23:57 2025 -0700 |
tree | e95eccf0972b3bb3bd6810dad33811776269ade0 | |
parent | 68f3397c7c182f23feebea72722278ec10bb0eb0 [diff] |
d3d: Add missing unit test coverage of Compute2DTextureCopySplits to CopySplitTests This CL updates CopySplitTest::DoTest to emulate RecordBufferTextureCopyWithBufferHandle in how it calls the Compute* and Record* functions. Formerly, it handled 1D and 2D the same way, and ignored 2D tests with more than 1 layer. Now, for 2D cases, it calls Compute2DTextureCopySubresource (or Compute2DTextureCopySubresourceWithRelaxedRowPitchAndOffset for relaxed), and iterates over each layer, validating the computed values per layer. Bug: 424536624 Change-Id: Ibeeb047eb9ab216a7e689046b1a4b8af922c47b0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/249134 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Antonio Maiorano <amaiorano@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.