Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f0946544d1cfcb15dbf526744d0916e7d6a19e37
      
https://github.com/WebKit/WebKit/commit/f0946544d1cfcb15dbf526744d0916e7d6a19e37
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M LayoutTests/fast/webgpu/fuzz-126848520-explicit-layout-expected.txt
    M LayoutTests/fast/webgpu/fuzz-128381161-expected.txt
    M LayoutTests/fast/webgpu/fuzz-128677742-expected.txt
    M LayoutTests/fast/webgpu/regression/repro_274706-expected.txt
    M LayoutTests/fast/webgpu/regression/repro_274706b-expected.txt
    M LayoutTests/fast/webgpu/regression/repro_274706c-expected.txt
    A LayoutTests/fast/webgpu/regression/repro_275071-expected.txt
    A LayoutTests/fast/webgpu/regression/repro_275071.html
    M Source/WebGPU/WebGPU/BindGroup.mm
    M Source/WebGPU/WebGPU/BindableResource.h
    M Source/WebGPU/WebGPU/Pipeline.mm

  Log Message:
  -----------
  [WebGPU] Buffer binding size check does not take into account binding offset
https://bugs.webkit.org/show_bug.cgi?id=275071
<radar://129160139>

Reviewed by Dan Glastonbury.

Correct buffer size validation so the buffer offset is taken into account.

* LayoutTests/fast/webgpu/regression/repro_275071-expected.txt: Added.
* LayoutTests/fast/webgpu/regression/repro_275071.html: Added.
Add regression tests.

* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::makeBindGroupEntryUsageData):
(WebGPU::Device::createBindGroup):
* Source/WebGPU/WebGPU/BindableResource.h:
* Source/WebGPU/WebGPU/Pipeline.mm:
(WebGPU::errorValidatingBindGroup):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to