commit | 9e9ed676f7ee71883c35dab8b591abad07fdd84f | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Thu Nov 21 11:56:04 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 21 11:56:04 2024 +0000 |
tree | 1938d1f7f593ae8b92a3e9a91bc3e3dfca39b679 | |
parent | d2ad5a36f4e66c5c5306d86b8756ae0b0c8626a9 [diff] |
[dawn] Support apparentSize in ExternalTexture Instead of using visibleSize to scale the loadTransform in ExternalTexture, use apparentSize to allow some scaling to happen. This CL also changes all uses of visibleSize/Origin to cropSize/Origin and updates the name in the respective Tint transform. Validation tests and execution tests are added to check the behavior of apparentSize. Bug: 377574981 Change-Id: I7753a18ce190e10b5575b1acdda6ee200f81d7be Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/213994 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: dan sinclair <dsinclair@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.