[webkit-changes] [WebKit/WebKit] 9763f6: [WebGPU] NPOT compressed textures are not correctl...

mwyrzykowski noreply at github.com
Wed Oct 16 20:41:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9763f6b663affc737125598318a88e2559f75804
      https://github.com/WebKit/WebKit/commit/9763f6b663affc737125598318a88e2559f75804
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    A LayoutTests/fast/webgpu/nocrash/fuzz-281555-expected.txt
    A LayoutTests/fast/webgpu/nocrash/fuzz-281555.html
    M Source/WebGPU/WebGPU/Queue.mm

  Log Message:
  -----------
  [WebGPU] NPOT compressed textures are not correctly supported in GPUQueue.writeTexture
https://bugs.webkit.org/show_bug.cgi?id=281555
rdar://137966504

Reviewed by Tadeu Zagallo.

Non-power of two compressed textures did not resize to a block aligned size.

Reland with correct checked arithmetic.

* LayoutTests/fast/webgpu/nocrash/fuzz-281555-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-281555.html: Added.
Add regression test.

* Source/WebGPU/WebGPU/Queue.mm:
(WebGPU::Queue::writeTexture):

Canonical link: https://commits.webkit.org/285302@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