commit | 9b6f01d603c0f1e1e2e1768d79f56958991e4163 | [log] [tgz] |
---|---|---|
author | Yan,Shaobo <shaobo.yan@intel.com> | Tue Jan 17 09:29:20 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 17 09:29:20 2023 +0000 |
tree | 47bda38d21e54fa9e595dbad9b6fb808c38e5a0e | |
parent | 16c7ea6bfcce84d757744f90a6d23f41a5a8c573 [diff] |
Fix flipY logic in CopyTextureForBrowser() CopyTextureForBrowser() handles flipY by flipping source texture then applying copy op. But this is not correct. Instead it should find the copy rect and apply flipY op in copy rect only, which is the same as WebGPU GPUImageCopyExternalImage.flipY definition (https://www.w3.org/TR/webgpu/#dom-gpuimagecopyexternalimage-flipy). This CL fixed the issue and updated related end2end tests. Bug: dawn:1635 Change-Id: I3ea7c9de44fb45224bc438486e0e92385446bfb1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116924 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Shaobo Yan <shaobo.yan@intel.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.