[Mesa-dev] [Bug 107734] [GLSL] glsl-fface-invariant, glsl-fcoord-invariant and glsl-pcoord-invariant should fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 29 09:12:06 UTC 2018


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

            Bug ID: 107734
           Summary: [GLSL] glsl-fface-invariant, glsl-fcoord-invariant and
                    glsl-pcoord-invariant should fail
           Product: Mesa
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: glsl-compiler
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: vadym.shovkoplias at globallogic.com
        QA Contact: intel-3d-bugs at lists.freedesktop.org

GLSL ES 1.0 linker tests glsl-fface-invariant, glsl-fcoord-invariant and
glsl-pcoord-invariant have to fail as specified in spec: 

4.6.4 Invariance and Linkage
The invariance of varyings that are declared in both the vertex and fragment
shaders must match.For the built-in special variables, gl_FragCoord can only be
declared invariant if and only if gl_Position is declared invariant. Similarly
gl_PointCoord can only be declared invariant if and only if gl_PointSize is
declared invariant. It is an error to declare gl_FrontFacing as invariant. The
invariance of gl_FrontFacing is the same as the invariance of gl_Position.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180829/81353e4b/attachment.html>


More information about the mesa-dev mailing list