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

  Changed paths:
    A LayoutTests/fast/webgpu/nocrash/fuzz-291570-expected.txt
    A LayoutTests/fast/webgpu/nocrash/fuzz-291570.html
    M Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp

  Log Message:
  -----------
  [WebGPU] Use of discard can cause MTLCompiler crash
https://bugs.webkit.org/show_bug.cgi?id=291570
rdar://149246642

Reviewed by Tadeu Zagallo.

Certain discard usage results in a MTLCompiler crash, avoid this
with a volatile load.

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

* Source/WebGPU/WGSL/Metal/MetalFunctionWriter.cpp:
(WGSL::Metal::FunctionDefinitionWriter::visit):
Codegen workaround.

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