[webkit-changes] [WebKit/WebKit] f3577b: [WebGPU] Textures with size greater than 4096 are ...

mwyrzykowski noreply at github.com
Wed Mar 20 23:40:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f3577bf0e0621e26e819f81574c64a363d21db63
      https://github.com/WebKit/WebKit/commit/f3577bf0e0621e26e819f81574c64a363d21db63
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/CommandEncoder.mm
    M Source/WebGPU/WebGPU/Texture.h
    M Source/WebGPU/WebGPU/Texture.mm

  Log Message:
  -----------
  [WebGPU] Textures with size greater than 4096 are not cleared correctly
https://bugs.webkit.org/show_bug.cgi?id=271303
<radar://125068306>

Reviewed by Dan Glastonbury.

We can not use 16 bytes for all texture formats since that will
copy too many bytes and fail the validation layer for texture widths
greater than 4096 when the bytes per pixel is < 16.

* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::clearTexture):
* Source/WebGPU/WebGPU/Texture.h:
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Texture::bytesPerRow):

Canonical link: https://commits.webkit.org/276446@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list