[Webkit-unassigned] [Bug 266882] 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
Thu Dec 28 13:13:50 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=266882

--- Comment #6 from Umar <umar.ahmed1998 at gmail.com> ---
(In reply to Mike Wyrzykowski from comment #2)
> My reading of the specification per
> https://gpuweb.github.io/gpuweb/#dom-gpudevice-createshadermodule is that
> getCompilationInfo should return any error messages, see
> https://gpuweb.github.io/gpuweb/#dom-gpushadermodule-getcompilationinfo as
> opposed to reporting warnings / errors in alternative means
> 
> 
> Does shaderModule.getCompilationInfo() return anything useful when you use
> radians here? My understanding is shader compilation errors should be
> reported via that mechanism

I'm not seeing any messages when I look at the GPUCompilationInfo object resolved from that method.

If I use some other undefined function like `someRandomFunction`, it will output GPUCompilationMessage with `message = "unresolved call target 'someRandomFunction'"` as expected, but not for `radians()`.

-- 
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/20231228/8c1475fd/attachment.htm>


More information about the webkit-unassigned mailing list