[webkit-changes] [WebKit/WebKit] d8d8ad: [WebGPU] Metal shader compilation should assert fo...
mwyrzykowski
noreply at github.com
Wed Nov 29 16:22:55 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d8d8ad4f40f82b978d5739d296e2719f080b8b47
https://github.com/WebKit/WebKit/commit/d8d8ad4f40f82b978d5739d296e2719f080b8b47
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
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
More information about the webkit-changes
mailing list