[Bug 107842] "invariant" qualifier on outputs of GLSL ES fragment shader causes compilation error.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 11 02:04:53 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=107842

Timothy Arceri <t_arceri at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #5 from Timothy Arceri <t_arceri at yahoo.com.au> ---
Fixed by:

commit a2db6b4254462c62fe60dcc62645da6901986690
Author: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
Date:   Wed Sep 5 15:26:48 2018 +0300

    glsl: Make invariant outputs in ES fragment shader not to cause error

    In all GLSL ES versions output variables in fragment shader are allowed
    to be invariant.

     From Section 4.6.1 ("The Invariant Qualifier") GLSL ES 1.00 spec:
     "Only the following variables may be declared as invariant:
       ...
       - Built-in special variables output from the fragment shader."

     From Section 4.6.1 ("The Invariant Qualifier") GLSL ES 3.00 spec:
     "Only variables output from a shader can be candidates for invariance."

    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107842

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190111/e89565cb/attachment.html>


More information about the intel-3d-bugs mailing list