[webkit-changes] [WebKit/WebKit] d7430f: [WebGPU] MTLTextureUsagePixelFormatView needs to b...
mwyrzykowski
noreply at github.com
Wed Dec 6 10:28:24 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d7430f08e3da290d714b4e491678d4b7d9300e14
https://github.com/WebKit/WebKit/commit/d7430f08e3da290d714b4e491678d4b7d9300e14
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2023-12-06 (Wed, 06 Dec 2023)
Changed paths:
M Source/WebGPU/WebGPU/Texture.mm
Log Message:
-----------
[WebGPU] MTLTextureUsagePixelFormatView needs to be specified on compressed textures
https://bugs.webkit.org/show_bug.cgi?id=265929
<radar://119234400>
Reviewed by Tadeu Zagallo.
As we do not know in advance if createView will be called on a compressed
texture, set the flag pre-emptively instead of recreating the texture.
This approach could be revisited if we see performance issues.
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Texture::usage):
Canonical link: https://commits.webkit.org/271619@main
More information about the webkit-changes
mailing list