Re: Debugging WebGPU in Safari

This is super clear. Thank you for your quick response, Mike!

Le lun. 22 avr. 2024 à 12:31, Mike Wyrzykowski <mwyrzykowski@apple.com> a
écrit :

> Hi Nicolas,
>
> Safari / WebKit bugs can be reported at https://bugs.webkit.org/
>
> I took a Quick Look and filed
> https://bugs.webkit.org/show_bug.cgi?id=273070 for your site.
>
> It appears at least the first issue to be an issue in our WGSL -> metal
> step which does not handle this code yet:
>
> for (var i = 0; i < 250; i++) @diagnostic(off,derivative_uniformity) {
>
> You can see the error by calling GPUShaderModule.getCompilationInfo() on
> the shader module.
>
> Thanks,
> Mike
>
> On Apr 20, 2024, at 5:19 PM, Nicolas Garcia Belmonte <philogb@gmail.com>
> wrote:
>
> Hi Team - Not sure this is the right group to be asking this question so
> please redirect me where needed.
>
> I recently made a visualization with WebGPU here:
> https://philogb.github.io/page/indraspearls/
>
> It was tested in Chrome and all seemed to be working well. After recent
> news that Safari had a testable implementation I went to Safari, enabled
> the feature flag and restarted the browser. I am now not getting a "WebGPU
> unsupported" error, however the screen is all dark and I am not seeing any
> issues in the developer console.
>
> Do you have any advice on how I can troubleshoot this? Without any error
> logged it's hard for me to figure out next steps.
>
> Thanks!
>
> --
> Nico
>
>
>

-- 
Nico

Received on Monday, 22 April 2024 16:37:09 UTC