[Webkit-unassigned] [Bug 255511] New: The gl.MAX_VERTEX_UNIFORM_VECTORS has only half of its quantity available in Safari 'WebGL via Matal'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 17 04:20:23 PDT 2023


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

            Bug ID: 255511
           Summary: The gl.MAX_VERTEX_UNIFORM_VECTORS has only half of its
                    quantity available in Safari 'WebGL via Matal'
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: liqiao at cocos.com
                CC: dino at apple.com, kbr at google.com, kkinnunen at apple.com

Created attachment 465946

  --> https://bugs.webkit.org/attachment.cgi?id=465946&action=review

A demo used for reproducing the bug

When opening the Safari feature 'WebGL via Matal', gl.getParameter(gl.MAX_VERTEX_UNIFORM_VECTORS) return value 1024.
But I can only use 512 vectors in vertex shader. When I use more, the model will be not rendering.
When make 'WebGL via Matal' off, it's ok.

Demo.zip is built from a cocos creator project.
1.cd to Demo folder, use http-server command to open a http server.
2. use safari to open http
3. you may see an empty scene, (but there is actually a model in the scene that is not displayed)
4. turn off safari  'WebGL via Metal', open http in safari again, the model will be displayed.

-- 
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/20230417/9d38d8b0/attachment.htm>


More information about the webkit-unassigned mailing list