[webkit-changes] [WebKit/WebKit] 014e5f: [WebGPU] Add CPU workaround for non-32bpp textures...
mwyrzykowski
noreply at github.com
Mon Oct 30 11:42:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 014e5f76bd1886d90e82e56fa58e1ad94cd6f556
https://github.com/WebKit/WebKit/commit/014e5f76bd1886d90e82e56fa58e1ad94cd6f556
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2023-10-30 (Mon, 30 Oct 2023)
Changed paths:
M Source/WebCore/Modules/WebGPU/GPUQueue.cpp
Log Message:
-----------
[WebGPU] Add CPU workaround for non-32bpp textures for copyExternalImageToTexture
https://bugs.webkit.org/show_bug.cgi?id=263691
<radar://117501593>
Reviewed by Tadeu Zagallo.
This patch unblocks some API <-> WGSL compiler dependencies by
supporting floating point or non-32bpp textures in copyExternalImageToTexture.
This needs to be addressed with https://bugs.webkit.org/show_bug.cgi?id=263692
so that copying is not lossy and in the web content process.
* Source/WebCore/Modules/WebGPU/GPUQueue.cpp:
(WebCore::copyToDestinationFormat):
(WebCore::GPUQueue::copyExternalImageToTexture):
Canonical link: https://commits.webkit.org/269961@main
More information about the webkit-changes
mailing list