Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d7430f08e3da290d714b4e491678d4b7d9300e14
      
https://github.com/WebKit/WebKit/commit/d7430f08e3da290d714b4e491678d4b7d9300e14
  Author: Mike Wyrzykowski <mwyrzykow...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to