Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 182eaf12f1213e635e8ca5fe3e3c2a0d1221c0ee
      
https://github.com/WebKit/WebKit/commit/182eaf12f1213e635e8ca5fe3e3c2a0d1221c0ee
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    A LayoutTests/fast/webgpu/nocrash/fuzz-291400-expected.txt
    A LayoutTests/fast/webgpu/nocrash/fuzz-291400.html
    M Source/WebGPU/WebGPU/RenderPassEncoder.h
    M Source/WebGPU/WebGPU/RenderPassEncoder.mm

  Log Message:
  -----------
  [WebGPU] Shader validation workaround for memory barriers requires events
https://bugs.webkit.org/show_bug.cgi?id=291400
rdar://148965380

Reviewed by Tadeu Zagallo.

Using fences was insufficient, at least on iOS, which now encounters
the pass splitting after https://bugs.webkit.org/show_bug.cgi?id=290739
when shader validation is enabled.

MTLEvent appears to provide the correct synchronization.

* LayoutTests/fast/webgpu/nocrash/fuzz-291400-expected.txt: Added.
* LayoutTests/fast/webgpu/nocrash/fuzz-291400.html: Added.
Add regression test.

* Source/WebGPU/WebGPU/RenderPassEncoder.h:
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::RenderPassEncoder::splitRenderPass):
Use MTLEvent instead of MTLFence.

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