| commit | a55d9e40a35fc50a47fa3d11ed8cbc85f9f39e3a | [log] [tgz] |
|---|---|---|
| author | Corentin Wallez <cwallez@chromium.org> | Sun Feb 08 07:56:04 2026 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Feb 08 07:56:04 2026 -0800 |
| tree | b7559b17532fba9d30a0a6fa667933f3f56cc917 | |
| parent | 80d5ec3921f1543fc040721f4fe78516f15ed3ab [diff] |
[dawn][metal] Use Texel/Block types for ComputeTextureBufferCopySplit While converting more parts of dawn::native to use strong Texel/Block types, ComputeTextureBufferCopySplit required a lot of changes, so they are split off to their own CL. - Make ComputeTextureBufferCopySplit use strong types for Texel/Blocks - Update callers to pass in these strong types. - Add helpers to convert from TexelOrigin/Extent do MTLSize/Origin, as Metal always counts the sizes/origins in texels. - Add TODOs to a bunch of places that could use Texel/Blocks strong types. - Add a CopyTest for using extremely large bytesPerRow as that has a special case in ComputeTextureBufferCopySplit that wasn't covered previously. Bug: 424536624, 481934465 Change-Id: Iab315910885ba3ce308289af3383a4d1a0f23320 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/287955 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
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.