• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1330.frag
2ERROR: 0:27: 'block declaration' : cannot redeclare block:  gl_block
3ERROR: 0:31: 'gl_name' : identifiers starting with "gl_" are reserved
4ERROR: 0:32: 'gl_i' : identifiers starting with "gl_" are reserved
5ERROR: 0:35: 'gl_in' : no declaration found for redeclaration
6ERROR: 0:39: 'gl_FragCoord' : cannot redeclare a non block as a block
7ERROR: 0:44: 'non-literal layout-id value' : not supported for this version or the enabled extensions
8ERROR: 0:44: 'layout-id value' : cannot be negative
9ERROR: 0:45: 'non-literal layout-id value' : not supported for this version or the enabled extensions
10ERROR: 0:46: 'layout-id value' : scalar integer expression required
11ERROR: 0:46: 'location' : location is too large
12ERROR: 0:47: 'non-literal layout-id value' : not supported for this version or the enabled extensions
13ERROR: 0:48: 'non-literal layout-id value' : not supported for this version or the enabled extensions
14ERROR: 0:52: 'f2' : cannot use layout qualifiers on structure members
15ERROR: 0:57: 'location on block member' : not supported for this version or the enabled extensions
16ERROR: 0:62: 'location on block member' : can only use in an in/out block
17ERROR: 0:62: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
18ERROR: 0:60: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
19ERROR: 0:60: 'location' : cannot apply to uniform or buffer block
20ERROR: 0:68: 'layout-id value' : cannot be negative
21ERROR: 0:69: 'layout-id value' : cannot be negative
22ERROR: 0:76: 'f2' : cannot use layout qualifiers on structure members
23ERROR: 0:91: 'location on block member' : can only use in an in/out block
24ERROR: 0:91: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
25ERROR: 0:91: 'location' : overlapping use of location 3
26ERROR: 0:89: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
27ERROR: 0:89: 'location' : cannot apply to uniform or buffer block
28ERROR: 0:94: 'location' : either the block needs a location, or all members need a location, or no members have a location
29ERROR: 0:108: 'A' : cannot use layout qualifiers on structure members
30ERROR: 0:119: 'location' : overlapping use of location 44
31ERROR: 0:122: 'index' : can only be used with an explicit location
32ERROR: 0:124: 'location' : overlapping use of location 0
33ERROR: 0:125: 'index' : can only be used on an output
34ERROR: 0:126: 'index' : can only be used on an output
35ERROR: 0:126: 'location/component/index' : cannot declare a default, use a full declaration
36ERROR: 0:127: 'location/component/index' : cannot declare a default, use a full declaration
37ERROR: 0:128: 'output block' : not supported in this stage: fragment
38ERROR: 0:138: 'index' : value must be 0 or 1
39ERROR: 0:140: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
40ERROR: 0:146: 'location' : cannot apply to uniform or buffer block
41ERROR: 39 compilation errors.  No code generated.
42
43
44Shader version: 330
45Requested GL_ARB_enhanced_layouts
46Requested GL_ARB_explicit_uniform_location
47Requested GL_ARB_separate_shader_objects
48ERROR: node is still EOpNull!
490:8  Function Definition: main( ( global void)
500:8    Function Parameters:
510:10    Sequence
520:10      move second child to first child ( temp 4-component vector of float)
530:10        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
540:10        'varyingVar' ( smooth in 4-component vector of float)
550:11      move second child to first child ( temp 4-component vector of float)
560:11        direct index ( temp 4-component vector of float FragData)
570:11          'gl_FragData' ( fragColor 32-element array of 4-component vector of float FragData)
580:11          Constant:
590:11            1 (const int)
600:11        'inVar' ( smooth in 4-component vector of float)
610:12      Sequence
620:12        move second child to first child ( temp int)
630:12          'buffer' ( temp int)
640:12          Constant:
650:12            4 (const int)
660:21  Function Definition: foo( ( global void)
670:21    Function Parameters:
680:23    Sequence
690:23      Sequence
700:23        move second child to first child ( temp 4-component vector of float)
710:23          'c' ( temp 4-component vector of float)
720:23          gl_Color: direct index for structure ( in 4-component vector of float Color)
730:23            'anon@0' ( in block{ in 4-component vector of float Color gl_Color})
740:23            Constant:
750:23              2 (const uint)
760:24      move second child to first child ( temp 4-component vector of float)
770:24        'outVar' (layout( location=0 index=0) out 4-component vector of float)
780:24        'inVar' ( smooth in 4-component vector of float)
790:133  Function Definition: fooKeyMem( ( global void)
800:133    Function Parameters:
810:135    Sequence
820:135      precise: direct index for structure ( global int)
830:135        'KeyMem' ( global structure{ global int precise})
840:135        Constant:
850:135          0 (const int)
860:152  Function Definition: testOverload( ( global void)
870:152    Function Parameters:
880:153    Sequence
890:153      Sequence
900:153        move second child to first child ( temp float)
910:153          'overloadTest' ( temp float)
920:153          Constant:
930:153            42.000000
940:154      move second child to first child ( temp float)
950:154        'overloadTest' ( temp float)
960:154        smoothstep ( global float)
970:154          Constant:
980:154            0.000000
990:154          Constant:
1000:154            1.000000
1010:154          'overloadTest' ( temp float)
1020:?   Linker Objects
1030:?     'inVar' ( smooth in 4-component vector of float)
1040:?     'outVar' (layout( location=0 index=0) out 4-component vector of float)
1050:?     'varyingVar' ( smooth in 4-component vector of float)
1060:?     'anon@0' ( in block{ in 4-component vector of float Color gl_Color})
1070:?     'gl_name' ( in block{ in int gl_i})
1080:?     'start' ( const int)
1090:?       6 (const int)
1100:?     'v1' ( smooth in 4-component vector of float)
1110:?     'v2' (layout( location=8) smooth in 4-component vector of float)
1120:?     'v20' ( smooth in 4-component vector of float)
1130:?     'v21' (layout( location=60) smooth in float)
1140:?     'v22' (layout( location=2) smooth in float)
1150:?     'anon@1' ( in block{layout( location=1) in float f1, layout( location=3) in float f2})
1160:?     'uinst' (layout( location=1 column_major shared) uniform block{layout( column_major shared) uniform float f1, layout( location=3 column_major shared) uniform float f2})
1170:?     'v3' (layout( location=6) smooth in 4-component vector of float)
1180:?     'v4' ( smooth in 4-component vector of float)
1190:?     'v5' ( smooth in 4-component vector of float)
1200:?     'v6' (layout( location=30) smooth in 4-component vector of float)
1210:?     'v23' (layout( location=61) smooth in float)
1220:?     'v24' (layout( location=62) smooth in float)
1230:?     'ininst2' ( in block{layout( location=28) in bool b1, layout( location=29) in float f1, layout( location=25) in float f2, layout( location=26) in 4-component vector of float f3, layout( location=21) in structure{ global float f1,  temp float f2} s2, layout( location=23) in 4-component vector of float f4, layout( location=24) in 4-component vector of float f5})
1240:?     'uinst2' (layout( location=13 column_major shared) uniform block{layout( column_major shared) uniform float f1, layout( location=3 column_major shared) uniform float f2})
1250:?     'in3' ( in block{ in float f1, layout( location=40) in float f2})
1260:?     'in4' ( in block{layout( location=50) in float f1, layout( location=51) in float f2})
1270:?     's' (layout( location=33) smooth in structure{ global 3-component vector of float a,  global 2X2 matrix of float b,  global 2-element array of 4-component vector of float c,  temp 2-component vector of float A})
1280:?     'anon@2' ( in block{layout( location=44) in 4-component vector of float d, layout( location=45) in 4-component vector of float e, layout( location=47) in 4-component vector of float f, layout( location=48) in 4-component vector of float g, layout( location=41) in 4-component vector of float h, layout( location=42) in 4-component vector of float i, layout( location=43) in 4-component vector of float j, layout( location=44) in 4-component vector of float k})
1290:?     'outVar2' (layout( location=4095 index=0) out 4-component vector of float)
1300:?     'outVar3' (layout( location=0 index=1) out 4-component vector of float)
1310:?     'outVar4' (layout( location=0 index=1) out 4-component vector of float)
1320:?     'indexIn' (layout( location=27 index=0) smooth in 4-component vector of float)
1330:?     'indexBlockI' (layout( location=26 index=0) out block{ out int a})
1340:?     'precise' ( global int)
1350:?     'KeyMem' ( global structure{ global int precise})
1360:?     'outIndex2' (layout( location=28 index=0) out 4-component vector of float)
1370:?     'ucolor0' (layout( location=4) uniform 4-component vector of float)
1380:?     'ucolor1' (layout( location=5) uniform 4-component vector of float)
1390:?     'colorsBuffer' (layout( location=6 column_major shared) uniform block{layout( column_major shared) uniform 128-element array of 4-component vector of float colors})
140
141
142Linked fragment stage:
143
144ERROR: Linking fragment stage: Cannot use gl_FragColor or gl_FragData when using user-defined outputs
145ERROR: Linking fragment stage: Cannot use both gl_FragColor and gl_FragData
146
147Shader version: 330
148Requested GL_ARB_enhanced_layouts
149Requested GL_ARB_explicit_uniform_location
150Requested GL_ARB_separate_shader_objects
151ERROR: node is still EOpNull!
1520:8  Function Definition: main( ( global void)
1530:8    Function Parameters:
1540:10    Sequence
1550:10      move second child to first child ( temp 4-component vector of float)
1560:10        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
1570:10        'varyingVar' ( smooth in 4-component vector of float)
1580:11      move second child to first child ( temp 4-component vector of float)
1590:11        direct index ( temp 4-component vector of float FragData)
1600:11          'gl_FragData' ( fragColor 32-element array of 4-component vector of float FragData)
1610:11          Constant:
1620:11            1 (const int)
1630:11        'inVar' ( smooth in 4-component vector of float)
1640:12      Sequence
1650:12        move second child to first child ( temp int)
1660:12          'buffer' ( temp int)
1670:12          Constant:
1680:12            4 (const int)
1690:?   Linker Objects
1700:?     'inVar' ( smooth in 4-component vector of float)
1710:?     'outVar' (layout( location=0 index=0) out 4-component vector of float)
1720:?     'varyingVar' ( smooth in 4-component vector of float)
1730:?     'anon@0' ( in block{ in 4-component vector of float Color gl_Color})
1740:?     'gl_name' ( in block{ in int gl_i})
1750:?     'start' ( const int)
1760:?       6 (const int)
1770:?     'v1' ( smooth in 4-component vector of float)
1780:?     'v2' (layout( location=8) smooth in 4-component vector of float)
1790:?     'v20' ( smooth in 4-component vector of float)
1800:?     'v21' (layout( location=60) smooth in float)
1810:?     'v22' (layout( location=2) smooth in float)
1820:?     'anon@1' ( in block{layout( location=1) in float f1, layout( location=3) in float f2})
1830:?     'uinst' (layout( location=1 column_major shared) uniform block{layout( column_major shared) uniform float f1, layout( location=3 column_major shared) uniform float f2})
1840:?     'v3' (layout( location=6) smooth in 4-component vector of float)
1850:?     'v4' ( smooth in 4-component vector of float)
1860:?     'v5' ( smooth in 4-component vector of float)
1870:?     'v6' (layout( location=30) smooth in 4-component vector of float)
1880:?     'v23' (layout( location=61) smooth in float)
1890:?     'v24' (layout( location=62) smooth in float)
1900:?     'ininst2' ( in block{layout( location=28) in bool b1, layout( location=29) in float f1, layout( location=25) in float f2, layout( location=26) in 4-component vector of float f3, layout( location=21) in structure{ global float f1,  temp float f2} s2, layout( location=23) in 4-component vector of float f4, layout( location=24) in 4-component vector of float f5})
1910:?     'uinst2' (layout( location=13 column_major shared) uniform block{layout( column_major shared) uniform float f1, layout( location=3 column_major shared) uniform float f2})
1920:?     'in3' ( in block{ in float f1, layout( location=40) in float f2})
1930:?     'in4' ( in block{layout( location=50) in float f1, layout( location=51) in float f2})
1940:?     's' (layout( location=33) smooth in structure{ global 3-component vector of float a,  global 2X2 matrix of float b,  global 2-element array of 4-component vector of float c,  temp 2-component vector of float A})
1950:?     'anon@2' ( in block{layout( location=44) in 4-component vector of float d, layout( location=45) in 4-component vector of float e, layout( location=47) in 4-component vector of float f, layout( location=48) in 4-component vector of float g, layout( location=41) in 4-component vector of float h, layout( location=42) in 4-component vector of float i, layout( location=43) in 4-component vector of float j, layout( location=44) in 4-component vector of float k})
1960:?     'outVar2' (layout( location=4095 index=0) out 4-component vector of float)
1970:?     'outVar3' (layout( location=0 index=1) out 4-component vector of float)
1980:?     'outVar4' (layout( location=0 index=1) out 4-component vector of float)
1990:?     'indexIn' (layout( location=27 index=0) smooth in 4-component vector of float)
2000:?     'indexBlockI' (layout( location=26 index=0) out block{ out int a})
2010:?     'precise' ( global int)
2020:?     'KeyMem' ( global structure{ global int precise})
2030:?     'outIndex2' (layout( location=28 index=0) out 4-component vector of float)
2040:?     'ucolor0' (layout( location=4) uniform 4-component vector of float)
2050:?     'ucolor1' (layout( location=5) uniform 4-component vector of float)
2060:?     'colorsBuffer' (layout( location=6 column_major shared) uniform block{layout( column_major shared) uniform 128-element array of 4-component vector of float colors})
207
208