[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 08:43:01 UTC 2019


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

--- Comment #6 from Sergii Romantsov <sergii.romantsov at globallogic.com> ---
Piglit-test:

commit 41b01e6b8c4a8e4c8949a13743125458100ff152
Author: Danylo Piliaiev <danylo.piliaiev at gmail.com>
Date:   Thu Jan 10 12:13:52 2019 +0200

    Test that ES frag shader with invariant outputs compiles

    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."

    v2: moved new tests to tests/spec/glsl-es folders

    Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
    Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
    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/31b6a423/attachment.html>


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