[Webkit-unassigned] [Bug 234926] Dynamic indexing into a fixed-size uniform array with GLSL makes the Safari tab hang

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 23:18:26 PDT 2022


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

Kevin Rogovin <kevinrogovin at invisionapp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kevinrogovin at invisionapp.co
                   |                            |m

--- Comment #9 from Kevin Rogovin <kevinrogovin at invisionapp.com> ---
I have the same issue on both an M1 and AMD GPU on MacOS in a complicated application when WebGL2 is configured to be translated to Metal. I work-around the issue by using usampler2D(then the application works, but less efficiently than it would with a uniform buffer object). In my application the UBO's in question are of the form:

```
uniform UBO
{
  uvec4 data[N];
};
```

and access is dynamic on the index into `data`. 

As a side note, Safari from around a year ago did work with this code (but I think I needed to configure it to use the GL backend, but the GL backend is even more broken because even with the work around the tab crashes).

-- 
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/20220408/e6da1e0f/attachment.htm>


More information about the webkit-unassigned mailing list