blob: 2e5114cdbcc644c0429e6e0821a24bb8747f746b [file] [log] [blame]
John Kessenich5134b9c2013-11-20 21:12:43 +00001330.frag
John Kessenichc7194812013-12-09 00:37:46 +00002ERROR: 0:27: 'block declaration' : cannot redeclare block: gl_block
John Kessenich52c35142014-02-18 21:55:42 +00003ERROR: 0:31: 'gl_name' : identifiers starting with "gl_" are reserved
4ERROR: 0:32: 'gl_i' : identifiers starting with "gl_" are reserved
John Kessenichc7194812013-12-09 00:37:46 +00005ERROR: 0:35: 'gl_in' : no declaration found for redeclaration
6ERROR: 0:39: 'gl_FragCoord' : cannot redeclare a non block as a block
John Kessenichb76d6d62014-01-07 18:14:48 +00007ERROR: 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
John Kessenichb35e9bf2014-02-24 21:16:19 +000012ERROR: 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
John Kessenich68546c62014-01-08 23:25:18 +000018ERROR: 0:60: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
John Kessenichb35e9bf2014-02-24 21:16:19 +000019ERROR: 0:68: 'layout-id value' : cannot be negative
20ERROR: 0:69: 'layout-id value' : cannot be negative
21ERROR: 0:76: 'f2' : cannot use layout qualifiers on structure members
22ERROR: 0:91: 'location on block member' : can only use in an in/out block
23ERROR: 0:91: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
24ERROR: 0:91: 'location' : overlapping use of location 3
25ERROR: 0:89: 'location qualifier on uniform or buffer' : not supported for this version or the enabled extensions
26ERROR: 0:94: 'location' : either the block needs a location, or all members need a location, or no members have a location
27ERROR: 0:108: 'A' : cannot use layout qualifiers on structure members
28ERROR: 0:119: 'location' : overlapping use of location 44
John Kessenichaa657c12014-08-19 02:12:44 +000029ERROR: 0:122: 'index' : can only be used with an explicit location
30ERROR: 0:124: 'location' : overlapping use of location 0
31ERROR: 0:125: 'index' : can only be used on an output
32ERROR: 0:126: 'index' : can only be used on an output
33ERROR: 0:126: 'location/component/index' : cannot declare a default, use a full declaration
34ERROR: 0:127: 'location/component/index' : cannot declare a default, use a full declaration
35ERROR: 0:128: 'out' : cannot declare an output block in a fragment shader
36ERROR: 34 compilation errors. No code generated.
John Kessenich5134b9c2013-11-20 21:12:43 +000037
John Kessenichc7194812013-12-09 00:37:46 +000038
John Kessenichb4ef9e02014-03-31 22:20:47 +000039Shader version: 330
40Requested GL_ARB_enhanced_layouts
41Requested GL_ARB_separate_shader_objects
John Kessenichc7194812013-12-09 00:37:46 +000042ERROR: node is still EOpNull!
John Kessenich8b37b042015-04-29 10:16:56 +0000430:8 Function Definition: main( (global void)
John Kessenich4586dbd2013-08-05 15:52:03 +0000440:8 Function Parameters:
450:10 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000460:10 move second child to first child (temp 4-component vector of float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000470:10 'gl_FragColor' (fragColor 4-component vector of float)
480:10 'varyingVar' (smooth in 4-component vector of float)
John Kessenich8b37b042015-04-29 10:16:56 +0000490:11 move second child to first child (temp 4-component vector of float)
500:11 direct index (temp 4-component vector of float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000510:11 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000520:11 Constant:
530:11 1 (const int)
John Kessenich4586dbd2013-08-05 15:52:03 +0000540:11 'inVar' (smooth in 4-component vector of float)
550:12 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000560:12 move second child to first child (temp int)
570:12 'buffer' (temp int)
John Kessenichf2ee3dd2013-09-28 04:02:08 +0000580:12 Constant:
590:12 4 (const int)
John Kessenich8b37b042015-04-29 10:16:56 +0000600:21 Function Definition: foo( (global void)
John Kessenichab41fe52013-10-24 01:25:40 +0000610:21 Function Parameters:
620:23 Sequence
630:23 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +0000640:23 move second child to first child (temp 4-component vector of float)
650:23 'c' (temp 4-component vector of float)
John Kessenichab41fe52013-10-24 01:25:40 +0000660:23 gl_Color: direct index for structure (in 4-component vector of float)
John Kessenichcf0206c2014-04-14 15:46:40 +0000670:23 'anon@0' (in block{in 4-component vector of float gl_Color, })
John Kessenichab41fe52013-10-24 01:25:40 +0000680:23 Constant:
John Kessenichc7194812013-12-09 00:37:46 +0000690:23 2 (const uint)
John Kessenich8b37b042015-04-29 10:16:56 +0000700:24 move second child to first child (temp 4-component vector of float)
John Kessenichaa657c12014-08-19 02:12:44 +0000710:24 'outVar' (layout(location=0 index=0 ) out 4-component vector of float)
John Kessenich5134b9c2013-11-20 21:12:43 +0000720:24 'inVar' (smooth in 4-component vector of float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000730:? Linker Objects
740:? 'inVar' (smooth in 4-component vector of float)
John Kessenichaa657c12014-08-19 02:12:44 +0000750:? 'outVar' (layout(location=0 index=0 ) out 4-component vector of float)
John Kessenich4586dbd2013-08-05 15:52:03 +0000760:? 'varyingVar' (smooth in 4-component vector of float)
John Kessenichcf0206c2014-04-14 15:46:40 +0000770:? 'anon@0' (in block{in 4-component vector of float gl_Color, })
John Kessenich5053a392014-01-07 17:44:41 +0000780:? 'gl_name' (in block{in int gl_i})
John Kessenichb76d6d62014-01-07 18:14:48 +0000790:? 'start' (const int)
800:? 6 (const int)
810:? 'v1' (smooth in 4-component vector of float)
820:? 'v2' (layout(location=8 ) smooth in 4-component vector of float)
830:? 'v20' (smooth in 4-component vector of float)
John Kessenichb35e9bf2014-02-24 21:16:19 +0000840:? 'v21' (layout(location=60 ) smooth in float)
850:? 'v22' (layout(location=2 ) smooth in float)
John Kessenichcf0206c2014-04-14 15:46:40 +0000860:? 'anon@1' (in block{layout(location=1 component=0 ) in float f1, layout(location=3 ) in float f2})
John Kessenich68546c62014-01-08 23:25:18 +0000870:? '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})
John Kessenichb76d6d62014-01-07 18:14:48 +0000880:? 'v3' (layout(location=6 ) smooth in 4-component vector of float)
890:? 'v4' (smooth in 4-component vector of float)
900:? 'v5' (smooth in 4-component vector of float)
John Kessenich68546c62014-01-08 23:25:18 +0000910:? 'v6' (layout(location=30 ) smooth in 4-component vector of float)
John Kessenichb35e9bf2014-02-24 21:16:19 +0000920:? 'v23' (layout(location=61 ) smooth in float)
930:? 'v24' (layout(location=62 ) smooth in float)
John Kessenich8b37b042015-04-29 10:16:56 +0000940:? 'ininst2' (in block{layout(location=28 component=0 ) in bool b1, layout(location=29 component=0 ) in float f1, layout(location=25 ) in float f2, layout(location=26 component=0 ) in 4-component vector of float f3, layout(location=21 ) in structure{global float f1, temp float f2} s2, layout(location=23 component=0 ) in 4-component vector of float f4, layout(location=24 component=0 ) in 4-component vector of float f5})
John Kessenich68546c62014-01-08 23:25:18 +0000950:? '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})
960:? 'in3' (in block{in float f1, layout(location=40 ) in float f2})
970:? 'in4' (in block{layout(location=50 ) in float f1, layout(location=51 ) in float f2})
John Kessenich8b37b042015-04-29 10:16:56 +0000980:? '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})
John Kessenichcf0206c2014-04-14 15:46:40 +0000990:? 'anon@2' (in block{layout(location=44 component=0 ) in 4-component vector of float d, layout(location=45 component=0 ) in 4-component vector of float e, layout(location=47 ) in 4-component vector of float f, layout(location=48 component=0 ) in 4-component vector of float g, layout(location=41 ) in 4-component vector of float h, layout(location=42 component=0 ) in 4-component vector of float i, layout(location=43 component=0 ) in 4-component vector of float j, layout(location=44 component=0 ) in 4-component vector of float k})
John Kessenichaa657c12014-08-19 02:12:44 +00001000:? 'outVar2' (layout(location=63 index=0 ) out 4-component vector of float)
1010:? 'outVar3' (layout(location=0 index=1 ) out 4-component vector of float)
1020:? 'outVar4' (layout(location=0 index=1 ) out 4-component vector of float)
1030:? 'indexIn' (layout(location=27 index=0 ) smooth in 4-component vector of float)
1040:? 'indexBlockI' (layout(location=26 index=0 ) out block{out int a})
John Kessenich4586dbd2013-08-05 15:52:03 +0000105
John Kessenich5134b9c2013-11-20 21:12:43 +0000106
107Linked fragment stage:
108
109ERROR: Linking fragment stage: Cannot use gl_FragColor or gl_FragData when using user-defined outputs
110ERROR: Linking fragment stage: Cannot use both gl_FragColor and gl_FragData
111
John Kessenichb4ef9e02014-03-31 22:20:47 +0000112Shader version: 330
113Requested GL_ARB_enhanced_layouts
114Requested GL_ARB_separate_shader_objects
John Kessenichcf0206c2014-04-14 15:46:40 +0000115ERROR: node is still EOpNull!
John Kessenich8b37b042015-04-29 10:16:56 +00001160:8 Function Definition: main( (global void)
John Kessenichcf0206c2014-04-14 15:46:40 +00001170:8 Function Parameters:
1180:10 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +00001190:10 move second child to first child (temp 4-component vector of float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001200:10 'gl_FragColor' (fragColor 4-component vector of float)
1210:10 'varyingVar' (smooth in 4-component vector of float)
John Kessenich8b37b042015-04-29 10:16:56 +00001220:11 move second child to first child (temp 4-component vector of float)
1230:11 direct index (temp 4-component vector of float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001240:11 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
1250:11 Constant:
1260:11 1 (const int)
1270:11 'inVar' (smooth in 4-component vector of float)
1280:12 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +00001290:12 move second child to first child (temp int)
1300:12 'buffer' (temp int)
John Kessenichcf0206c2014-04-14 15:46:40 +00001310:12 Constant:
1320:12 4 (const int)
John Kessenich8b37b042015-04-29 10:16:56 +00001330:21 Function Definition: foo( (global void)
John Kessenichcf0206c2014-04-14 15:46:40 +00001340:21 Function Parameters:
1350:23 Sequence
1360:23 Sequence
John Kessenich8b37b042015-04-29 10:16:56 +00001370:23 move second child to first child (temp 4-component vector of float)
1380:23 'c' (temp 4-component vector of float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001390:23 gl_Color: direct index for structure (in 4-component vector of float)
1400:23 'anon@0' (in block{in 4-component vector of float gl_Color, })
1410:23 Constant:
1420:23 2 (const uint)
John Kessenich8b37b042015-04-29 10:16:56 +00001430:24 move second child to first child (temp 4-component vector of float)
John Kessenichaa657c12014-08-19 02:12:44 +00001440:24 'outVar' (layout(location=0 index=0 ) out 4-component vector of float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001450:24 'inVar' (smooth in 4-component vector of float)
1460:? Linker Objects
1470:? 'inVar' (smooth in 4-component vector of float)
John Kessenichaa657c12014-08-19 02:12:44 +00001480:? 'outVar' (layout(location=0 index=0 ) out 4-component vector of float)
John Kessenichcf0206c2014-04-14 15:46:40 +00001490:? 'varyingVar' (smooth in 4-component vector of float)
1500:? 'anon@0' (in block{in 4-component vector of float gl_Color, })
1510:? 'gl_name' (in block{in int gl_i})
1520:? 'start' (const int)
1530:? 6 (const int)
1540:? 'v1' (smooth in 4-component vector of float)
1550:? 'v2' (layout(location=8 ) smooth in 4-component vector of float)
1560:? 'v20' (smooth in 4-component vector of float)
1570:? 'v21' (layout(location=60 ) smooth in float)
1580:? 'v22' (layout(location=2 ) smooth in float)
1590:? 'anon@1' (in block{layout(location=1 component=0 ) in float f1, layout(location=3 ) in float f2})
1600:? '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})
1610:? 'v3' (layout(location=6 ) smooth in 4-component vector of float)
1620:? 'v4' (smooth in 4-component vector of float)
1630:? 'v5' (smooth in 4-component vector of float)
1640:? 'v6' (layout(location=30 ) smooth in 4-component vector of float)
1650:? 'v23' (layout(location=61 ) smooth in float)
1660:? 'v24' (layout(location=62 ) smooth in float)
John Kessenich8b37b042015-04-29 10:16:56 +00001670:? 'ininst2' (in block{layout(location=28 component=0 ) in bool b1, layout(location=29 component=0 ) in float f1, layout(location=25 ) in float f2, layout(location=26 component=0 ) in 4-component vector of float f3, layout(location=21 ) in structure{global float f1, temp float f2} s2, layout(location=23 component=0 ) in 4-component vector of float f4, layout(location=24 component=0 ) in 4-component vector of float f5})
John Kessenichcf0206c2014-04-14 15:46:40 +00001680:? '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})
1690:? 'in3' (in block{in float f1, layout(location=40 ) in float f2})
1700:? 'in4' (in block{layout(location=50 ) in float f1, layout(location=51 ) in float f2})
John Kessenich8b37b042015-04-29 10:16:56 +00001710:? '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})
John Kessenichcf0206c2014-04-14 15:46:40 +00001720:? 'anon@2' (in block{layout(location=44 component=0 ) in 4-component vector of float d, layout(location=45 component=0 ) in 4-component vector of float e, layout(location=47 ) in 4-component vector of float f, layout(location=48 component=0 ) in 4-component vector of float g, layout(location=41 ) in 4-component vector of float h, layout(location=42 component=0 ) in 4-component vector of float i, layout(location=43 component=0 ) in 4-component vector of float j, layout(location=44 component=0 ) in 4-component vector of float k})
John Kessenichaa657c12014-08-19 02:12:44 +00001730:? 'outVar2' (layout(location=63 index=0 ) out 4-component vector of float)
1740:? 'outVar3' (layout(location=0 index=1 ) out 4-component vector of float)
1750:? 'outVar4' (layout(location=0 index=1 ) out 4-component vector of float)
1760:? 'indexIn' (layout(location=27 index=0 ) smooth in 4-component vector of float)
1770:? 'indexBlockI' (layout(location=26 index=0 ) out block{out int a})
John Kessenich5134b9c2013-11-20 21:12:43 +0000178