Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c8a8404f7311af14a4e4b347d2298ed73622caaa
      
https://github.com/WebKit/WebKit/commit/c8a8404f7311af14a4e4b347d2298ed73622caaa
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    A LayoutTests/fast/webgpu/fuzz-272903-expected.txt
    A LayoutTests/fast/webgpu/fuzz-272903.html
    M Source/WebGPU/WebGPU/BindGroup.mm
    M Source/WebGPU/WebGPU/CommandEncoder.mm
    M Source/WebGPU/WebGPU/RenderPassEncoder.h
    M Source/WebGPU/WebGPU/RenderPassEncoder.mm

  Log Message:
  -----------
  [WebGPU] setVisibilityResultMode can be called twice at the same offset, 
leading to validation errors
https://bugs.webkit.org/show_bug.cgi?id=272903
<radar://126621103>

Reviewed by Tadeu Zagallo.

Add checks for some invalid inputs along with a test to catch
these cases.

* LayoutTests/TestExpectations:
* LayoutTests/fast/webgpu/fuzz-272903-expected.txt: Added.
* LayoutTests/fast/webgpu/fuzz-272903.html: Added.
Add regression tests, the test passes if it reaches the end.

* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::Device::createBindGroup):
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::endEncoding):
(WebGPU::CommandEncoder::copyBufferToTexture):
* Source/WebGPU/WebGPU/RenderPassEncoder.h:
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::beginOcclusionQuery):

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