Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d8d8ad4f40f82b978d5739d296e2719f080b8b47
      
https://github.com/WebKit/WebKit/commit/d8d8ad4f40f82b978d5739d296e2719f080b8b47
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M Source/WebGPU/WebGPU/ShaderModule.mm
    M Source/WebGPU/WebGPU/WebGPUExt.h

  Log Message:
  -----------
  [WebGPU] Metal shader compilation should assert for fuzzer builds
https://bugs.webkit.org/show_bug.cgi?id=265529
<radar://118939290

Reviewed by Dan Glastonbury.

Add an assertion macro which will assert in fuzzing and asan builds.

Use it when shader compilation fails at the metal compiler level.

* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::ShaderModule::createLibrary):
* Source/WebGPU/WebGPU/WebGPUExt.h:

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to