[webkit-changes] [WebKit/WebKit] f41821: [WebGPU] Invalid bind group should be returned if ...

mwyrzykowski noreply at github.com
Wed Dec 6 12:18:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f4182110bf08b0c9ac3558675aef90defbe140a4
      https://github.com/WebKit/WebKit/commit/f4182110bf08b0c9ac3558675aef90defbe140a4
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M LayoutTests/http/tests/webgpu/webgpu/api/validation/getBindGroupLayout-expected.txt
    M Source/WebGPU/WebGPU/BindGroup.mm

  Log Message:
  -----------
  [WebGPU] Invalid bind group should be returned if the bind group layout is not compatible with the bind group descriptor
https://bugs.webkit.org/show_bug.cgi?id=265918
<radar://119225289>

Reviewed by Tadeu Zagallo.

If the BindGroupLayout is not compatible with the BindGroup, an
invalid BindGroup should be returned.

* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::hasBinding):
(WebGPU::Device::createBindGroup):

* LayoutTests/http/tests/webgpu/webgpu/api/validation/getBindGroupLayout-expected.txt:
getBindGroupLayout test is now passing locally.

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




More information about the webkit-changes mailing list