[Webkit-unassigned] [Bug 266882] New: Web Inspector: No errors reported in console when unimplemented WGSL radians() function is used in compute shader
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Dec 25 11:52:00 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=266882
Bug ID: 266882
Summary: Web Inspector: No errors reported in console when
unimplemented WGSL radians() function is used in
compute shader
Product: WebKit
Version: Safari Technology Preview
Hardware: Mac (Apple Silicon)
OS: macOS 14
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: umar.ahmed1998 at gmail.com
CC: inspector-bugzilla-changes at group.apple.com
Created attachment 469200
--> https://bugs.webkit.org/attachment.cgi?id=469200&action=review
Screenshot showing Safari TP running with the unpatched version of my code
I was testing out my project (https://github.com/umar-ahmed/webgpu-pathtracer/) on Safari Technical Preview 185 with the WebGPU feature flag enabled. However, when I loaded it up, I was met with a black screen and no errors in the console.
Using `git bisect`, I was able to narrow down the issue to the use of the radians() function in my WGSL compute shader, which doesn't seem to be supported on this build of Safari (but is supported in Chrome Version 121.0.6167.16 (Official Build) beta (arm64), which I was using to develop). This was the patch that I applied to resolve the issue: https://github.com/umar-ahmed/webgpu-pathtracer/commit/8fdfe37cbb3c38e856feba19275eb023a70b2ff7.
I'm filing this bug as a Web Inspector bug instead of a WebGPU bug because I'm not sure if radians() is supposed to be implemented yet in Safari. If it is, then this bug can be recategorized. But my immediate concern was that I got no compiler/runtime warning when the shader was executed.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231225/b943b7b1/attachment-0001.htm>
More information about the webkit-unassigned
mailing list