[Mesa-dev] [Bug 31925] New: [GLSL 1.20] "#pragma STDGL invariant(all)" fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 25 18:57:58 PST 2010


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

           Summary: [GLSL 1.20] "#pragma STDGL invariant(all)" fail
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: gordon.jin at intel.com


Created an attachment (id=40577)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=40577)
test case for piglit shader_runner

GLSL spec 1.20 section 4.6.1 mentions all output variables can be forced to be
invariant by:
    #pragma STDGL invariant(all)

but the attached test case shows it doesn't take effect, which fails with below
error:

Failed to link:
error: vertex shader output `var' lacks invariant qualifier, but fragment
shader input has invariant qualifier

PIGLIT: {'result': 'fail' }

Tested on Piketon (i965) with mesa master.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list