[webkit-changes] [WebKit/WebKit] 340322: [WebGPU] Fix binding index for array length

Tadeu Zagallo noreply at github.com
Mon Oct 9 23:22:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3403223bd7baad5a58d5f8a6eb8ebec81c575c33
      https://github.com/WebKit/WebKit/commit/3403223bd7baad5a58d5f8a6eb8ebec81c575c33
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

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

  Log Message:
  -----------
  [WebGPU] Fix binding index for array length
https://bugs.webkit.org/show_bug.cgi?id=262902
rdar://116689323

Reviewed by Mike Wyrzykowski.

The wrong index was calculated when passing the size of the buffer used to
calculate `arrayLength` for runtime-sized arrays.

* Source/WebGPU/WebGPU/BindGroupLayout.mm:
(WebGPU::Device::createBindGroupLayout):

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




More information about the webkit-changes mailing list