Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f3577bf0e0621e26e819f81574c64a363d21db63
      
https://github.com/WebKit/WebKit/commit/f3577bf0e0621e26e819f81574c64a363d21db63
  Author: Mike Wyrzykowski <[email protected]>
  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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to