• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1link.multiAnonBlocksInvalid.0.0.vert
2ERROR: 0:22: 'ColorBlock' : nameless block contains a member that already has a name at global scope
3ERROR: 0:42: 'v1' : redefinition
4ERROR: 0:43: 'uProj' : redefinition
5ERROR: 3 compilation errors.  No code generated.
6
7
8Shader version: 430
9ERROR: node is still EOpNull!
100:46  Function Definition: main( ( global void)
110:46    Function Parameters:
120:48    Sequence
130:48      move second child to first child ( temp 4-component vector of float)
140:48        'oColor' ( smooth out 4-component vector of float)
150:48        component-wise multiply ( temp 4-component vector of float)
160:48          color1: direct index for structure (layout( column_major std140 offset=0) uniform 4-component vector of float)
170:48            'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4-component vector of float color1, layout( column_major std140 offset=16) uniform 4-component vector of float color2, layout( column_major std140 offset=32) uniform 4-component vector of float v1})
180:48            Constant:
190:48              0 (const uint)
200:48          Function Call: getColor2( ( global 4-component vector of float)
210:49      move second child to first child ( temp 4-component vector of float)
220:49        v1: direct index for structure ( out 4-component vector of float)
230:49          'anon@2' ( out block{ out 4-component vector of float v1})
240:49          Constant:
250:49            0 (const uint)
260:49        color1: direct index for structure (layout( column_major std140 offset=0) uniform 4-component vector of float)
270:49          'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4-component vector of float color1, layout( column_major std140 offset=16) uniform 4-component vector of float color2, layout( column_major std140 offset=32) uniform 4-component vector of float v1})
280:49          Constant:
290:49            0 (const uint)
300:51      move second child to first child ( temp 4-component vector of float)
310:51        gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
320:51          'anon@4' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
330:51          Constant:
340:51            0 (const uint)
350:51        matrix-times-vector ( temp 4-component vector of float)
360:51          uProj: direct index for structure (layout( column_major std140 offset=0) uniform 4X4 matrix of float)
370:51            'anon@0' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float uProj})
380:51            Constant:
390:51              0 (const uint)
400:51          Function Call: getWorld( ( global 4-component vector of float)
410:?   Linker Objects
420:?     'anon@0' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float uProj})
430:?     'anon@1' (layout( column_major shared) buffer block{layout( column_major shared) buffer 4-component vector of float b})
440:?     'anon@2' ( out block{ out 4-component vector of float v1})
450:?     'myName' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float m})
460:?     'oColor' ( smooth out 4-component vector of float)
470:?     'anon@4' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance})
480:?     'gl_VertexID' ( gl_VertexId int VertexId)
490:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
50
51link.multiAnonBlocksInvalid.0.1.vert
52Shader version: 430
530:? Sequence
540:38  Function Definition: getColor2( ( global 4-component vector of float)
550:38    Function Parameters:
560:40    Sequence
570:40      Branch: Return with expression
580:40        color2: direct index for structure (layout( column_major std140 offset=0) uniform 4-component vector of float)
590:40          'anon@0' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4-component vector of float color2})
600:40          Constant:
610:40            0 (const uint)
620:43  Function Definition: getWorld( ( global 4-component vector of float)
630:43    Function Parameters:
640:45    Sequence
650:45      Branch: Return with expression
660:45        matrix-times-vector ( temp 4-component vector of float)
670:45          uWorld: direct index for structure (layout( column_major std140 offset=64) uniform 4X4 matrix of float)
680:45            'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform 4X4 matrix of float uWorld})
690:45            Constant:
700:45              1 (const uint)
710:45          'P' ( in 4-component vector of float)
720:46      move second child to first child ( temp 4-component vector of float)
730:46        v2: direct index for structure ( out 4-component vector of float)
740:46          'anon@2' ( out block{ out 4-component vector of float v1,  out 4-component vector of float v2})
750:46          Constant:
760:46            1 (const uint)
770:46        Constant:
780:46          1.000000
790:46          1.000000
800:46          1.000000
810:46          1.000000
820:?   Linker Objects
830:?     'anon@0' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4-component vector of float color2})
840:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform 4X4 matrix of float uWorld})
850:?     'anon@2' ( out block{ out 4-component vector of float v1,  out 4-component vector of float v2})
860:?     'anon@3' (layout( column_major shared) buffer block{layout( column_major shared) buffer 4-component vector of float a})
870:?     'anon@4' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float m})
880:?     'P' ( in 4-component vector of float)
890:?     'gl_VertexID' ( gl_VertexId int VertexId)
900:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
91
92
93Linked vertex stage:
94
95ERROR: Linking vertex and vertex stages: vertex block member has no corresponding member in vertex block:
96    vertex stage: Block: Block, Member: uWorld
97    vertex stage: Block: Block, Member: n/a
98ERROR: Linking vertex and vertex stages: vertex block member has no corresponding member in vertex block:
99    vertex stage: Block: Vertex, Member: v2
100    vertex stage: Block: Vertex, Member: n/a
101ERROR: Linking vertex and vertex stages: Member names and types must match:
102    Block: BufferBlock
103        vertex stage: " vec4 b"
104        vertex stage: " vec4 a"
105ERROR: Linking vertex and vertex stages: Matched Uniform or Storage blocks must all be anonymous, or all be named:
106WARNING: Linking vertex and vertex stages: Matched shader interfaces are using different instance names.
107    vertex stage: Block: NamedBlock Instance: myName: ""
108    vertex stage: Block: NamedBlock Instance: anon@4: ""
109
110Shader version: 430
111ERROR: node is still EOpNull!
1120:46  Function Definition: main( ( global void)
1130:46    Function Parameters:
1140:48    Sequence
1150:48      move second child to first child ( temp 4-component vector of float)
1160:48        'oColor' ( smooth out 4-component vector of float)
1170:48        component-wise multiply ( temp 4-component vector of float)
1180:48          color1: direct index for structure (layout( column_major std140 offset=0) uniform 4-component vector of float)
1190:48            'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4-component vector of float color1, layout( column_major std140 offset=16) uniform 4-component vector of float color2, layout( column_major std140 offset=32) uniform 4-component vector of float v1})
1200:48            Constant:
1210:48              0 (const uint)
1220:48          Function Call: getColor2( ( global 4-component vector of float)
1230:49      move second child to first child ( temp 4-component vector of float)
1240:49        v1: direct index for structure ( out 4-component vector of float)
1250:49          'anon@2' ( out block{ out 4-component vector of float v1})
1260:49          Constant:
1270:49            0 (const uint)
1280:49        color1: direct index for structure (layout( column_major std140 offset=0) uniform 4-component vector of float)
1290:49          'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4-component vector of float color1, layout( column_major std140 offset=16) uniform 4-component vector of float color2, layout( column_major std140 offset=32) uniform 4-component vector of float v1})
1300:49          Constant:
1310:49            0 (const uint)
1320:51      move second child to first child ( temp 4-component vector of float)
1330:51        gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
1340:51          'anon@4' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance})
1350:51          Constant:
1360:51            0 (const uint)
1370:51        matrix-times-vector ( temp 4-component vector of float)
1380:51          uProj: direct index for structure (layout( column_major std140 offset=0) uniform 4X4 matrix of float)
1390:51            'anon@0' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float uProj})
1400:51            Constant:
1410:51              0 (const uint)
1420:51          Function Call: getWorld( ( global 4-component vector of float)
1430:38  Function Definition: getColor2( ( global 4-component vector of float)
1440:38    Function Parameters:
1450:40    Sequence
1460:40      Branch: Return with expression
1470:40        color2: direct index for structure (layout( column_major std140 offset=0) uniform 4-component vector of float)
1480:40          'anon@0' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4-component vector of float color2})
1490:40          Constant:
1500:40            0 (const uint)
1510:43  Function Definition: getWorld( ( global 4-component vector of float)
1520:43    Function Parameters:
1530:45    Sequence
1540:45      Branch: Return with expression
1550:45        matrix-times-vector ( temp 4-component vector of float)
1560:45          uWorld: direct index for structure (layout( column_major std140 offset=64) uniform 4X4 matrix of float)
1570:45            'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float uProj, layout( column_major std140 offset=64) uniform 4X4 matrix of float uWorld})
1580:45            Constant:
1590:45              1 (const uint)
1600:45          'P' ( in 4-component vector of float)
1610:46      move second child to first child ( temp 4-component vector of float)
1620:46        v2: direct index for structure ( out 4-component vector of float)
1630:46          'anon@2' ( out block{ out 4-component vector of float v1,  out 4-component vector of float v2})
1640:46          Constant:
1650:46            1 (const uint)
1660:46        Constant:
1670:46          1.000000
1680:46          1.000000
1690:46          1.000000
1700:46          1.000000
1710:?   Linker Objects
1720:?     'anon@0' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float uProj})
1730:?     'anon@1' (layout( column_major shared) buffer block{layout( column_major shared) buffer 4-component vector of float b})
1740:?     'anon@2' ( out block{ out 4-component vector of float v1})
1750:?     'myName' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4X4 matrix of float m})
1760:?     'oColor' ( smooth out 4-component vector of float)
1770:?     'anon@4' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance})
1780:?     'gl_VertexID' ( gl_VertexId int VertexId)
1790:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
1800:?     'anon@0' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 4-component vector of float color2})
1810:?     'P' ( in 4-component vector of float)
182
183