9b6f01d603
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 | ||
tint | ||
Placeholder.cpp |