[Webkit-unassigned] [Bug 246335] 'flat' vertex shader output is extremely slow with 'WebGL via Metal'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 11 12:10:20 PDT 2022


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

--- Comment #1 from Kimmo Kinnunen <kkinnunen at apple.com> ---
Thanks for filing.

This is one other area where Metal has to emulate: the provoking vertex is different in Metal than it is in OpenGL. At the moment the emulation is likely not the fastest.

If you are using drawElements, you may find drawArrays faster. However, this will still suffer a perf penalty.

We're also working on a provoking vertex extension in case your shader does not depend on the provoking vertex.
See:
https://github.com/KhronosGroup/WebGL/issues/3401

This extension is available in current WebKit trunk builds (e.g. in minibrowser) under experimental features, experimental WebGL extensions. If you try out the provoking vertex extension, please provide feedback in both cases: if you find it does not improve or improves perf.

-- 
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/20221011/968f6ef0/attachment.htm>


More information about the webkit-unassigned mailing list