[Webkit-unassigned] [Bug 226660] [Metal ANGLE] Shaders with reserved metal keywords do not translate, nor do shaders with struct and variable names that are the same except prefixed by an underscore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 4 14:44:24 PDT 2021


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

--- Comment #3 from Kenneth Russell <kbr at google.com> ---
Note that the WebGL variant of GLSL ES reserves some keyword prefixes:
https://www.khronos.org/registry/webgl/specs/latest/1.0/#4.3

so you could safely rename any of these variables which collide with Metal's reserved ones by prepending for example "_webgl_" to it after the initial parse and validation.

-- 
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/20210604/49e29990/attachment.htm>


More information about the webkit-unassigned mailing list