[webkit-changes] [WebKit/WebKit] ca50fe: [WebGPU] RGB external textures read RRG channels i...

mwyrzykowski noreply at github.com
Mon Jun 3 18:04:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca50fe80d4cf47c03f1fc36603a1b604c0bf1322
      https://github.com/WebKit/WebKit/commit/ca50fe80d4cf47c03f1fc36603a1b604c0bf1322
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    A LayoutTests/fast/webgpu/regression/repro_274977-expected.txt
    A LayoutTests/fast/webgpu/regression/repro_274977.html
    M Source/WebGPU/WebGPU/BindGroup.mm

  Log Message:
  -----------
  [WebGPU] RGB external textures read RRG channels instead of RGB
https://bugs.webkit.org/show_bug.cgi?id=274977
<radar://129054259>

Reviewed by Tadeu Zagallo.

Fix an issue where single planar external textures attempted to read
from a null texture and instead of reading RGB we would read RRG or ARR.

* LayoutTests/fast/webgpu/regression/repro_274977-expected.txt: Added.
* LayoutTests/fast/webgpu/regression/repro_274977.html: Added.
* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::metalPixelFormat):
(WebGPU::Device::createExternalTextureFromPixelBuffer const):

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