[webkit-changes] [WebKit/WebKit] 36bb9e: [WebGPU] validateLinearTextureData is incorrect fo...

mwyrzykowski noreply at github.com
Fri Nov 3 10:48:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 36bb9e15807aa31d7341b2e3b8c8db24aefd9472
      https://github.com/WebKit/WebKit/commit/36bb9e15807aa31d7341b2e3b8c8db24aefd9472
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

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

  Log Message:
  -----------
  [WebGPU] validateLinearTextureData is incorrect for single row textures (height == 1)
https://bugs.webkit.org/show_bug.cgi?id=264139
<rdar://problem/117891312>

Reviewed by Tadeu Zagallo.

rowsPerImage is only used for height > 1, we don't need to validate it when it
is not used.

* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Texture::validateLinearTextureData):

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




More information about the webkit-changes mailing list