[webkit-changes] [WebKit/WebKit] 183fd5: [WebGPU] When creating bind groups, a buffer's bin...

mwyrzykowski noreply at github.com
Wed May 29 14:31:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 183fd57756fe8071461981b25aabf2a53a1961c9
      https://github.com/WebKit/WebKit/commit/183fd57756fe8071461981b25aabf2a53a1961c9
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M LayoutTests/fast/webgpu/fuzz-126848520-auto-layout-expected.txt
    A LayoutTests/fast/webgpu/regression/repro_274737-expected.txt
    A LayoutTests/fast/webgpu/regression/repro_274737.html
    A LayoutTests/fast/webgpu/regression/repro_274737b-expected.txt
    A LayoutTests/fast/webgpu/regression/repro_274737b.html
    M Source/WebGPU/WebGPU/BindGroup.mm

  Log Message:
  -----------
  [WebGPU] When creating bind groups, a buffer's binding offset is not considered in validation
https://bugs.webkit.org/show_bug.cgi?id=274737
<radar://128610873>

Reviewed by Tadeu Zagallo.

Buffer's offset was not considered when performing range validation.

Correct validation and add regression test.

* LayoutTests/fast/webgpu/regression/repro_274737-expected.txt: Added.
* LayoutTests/fast/webgpu/regression/repro_274737.html: Added.
* LayoutTests/fast/webgpu/regression/repro_274737b-expected.txt: Added.
* LayoutTests/fast/webgpu/regression/repro_274737b.html: Added.
Add regression test.

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

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