[Mesa-dev] [Bug 108250] [GLSL] layout-location-struct.shader_test fails to link

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 5 15:06:09 UTC 2018


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

            Bug ID: 108250
           Summary: [GLSL] layout-location-struct.shader_test fails to
                    link
           Product: Mesa
           Version: 18.2
          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

# bin/shader_runner
./tests/spec/arb_separate_shader_objects/execution/layout-location-struct.shader_test 
Failed to link:
error: vertex shader output `s2' declared as type `S2', but fragment shader
input declared as type `S'
error: vertex shader output `s' declared as type `S', but fragment shader input
declared as type `S1'

Test failure on line 50
Probe color at (0,0)
  Expected: 255 0 0
  Observed: 0 0 0
Test failure on line 51
Failed to link:
error: vertex shader output `s2' declared as type `S2', but fragment shader
input declared as type `S'
error: vertex shader output `s' declared as type `S', but fragment shader input
declared as type `S1'



Accordingly to OpenGL 4.30 spec this test shouldn't fail to link:

Section 7.4.1 (Shader Interface Matching):

"Variables or block members declared as structures are considered
to match in type if and only if structure members match in name,
type, qualification, and declaration order."

-- 
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/20181005/96af86b5/attachment.html>


More information about the mesa-dev mailing list