[Webkit-unassigned] [Bug 189121] [WHLSL] Not all functions/built-ins should be able to run in all shader stages

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 29 17:18:57 PDT 2018


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

Thomas Denney <tdenney at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tdenney at apple.com

--- Comment #2 from Thomas Denney <tdenney at apple.com> ---
When these functions are introduced in the standard library it would be nice if we could add the restriction there, e.g.

native fragment float ddx(float)

And then enforce that native functions with the fragment annotation can only be called from inside fragment shaders. I’d prefer to have a syntactic restriction like this than something that the interpreter/spec has to worry about.

-- 
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/20180830/26b90e2b/attachment.html>


More information about the webkit-unassigned mailing list