blob: 40e489b8bb4b7718603ef7e81b6bebf839f09eb8 [file] [log] [blame]
John Kessenich68546c62014-01-08 23:25:18 +00001440.frag
John Kessenichcf0206c2014-04-14 15:46:40 +00002Warning, version 440 is not yet complete; most version-specific features are present, but some are missing.
John Kessenich68546c62014-01-08 23:25:18 +00003ERROR: 0:11: 'location' : overlapping use of location 4
4ERROR: 0:13: 'component' : type overflows the available 4 components
5ERROR: 0:22: 'location' : fragment outputs sharing the same location must be the same basic type 30
John Kessenich04b1c6e2014-01-28 21:13:59 +00006ERROR: 0:24: 'qualifier' : cannot use auxiliary, memory, interpolation, or precision qualifier in a default qualifier declaration (declaration with no type)
7ERROR: 0:25: 'qualifier' : cannot use auxiliary, memory, interpolation, or precision qualifier in a default qualifier declaration (declaration with no type)
8ERROR: 0:26: 'qualifier' : cannot use auxiliary, memory, interpolation, or precision qualifier in a default qualifier declaration (declaration with no type)
9ERROR: 0:29: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
10ERROR: 0:30: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
11ERROR: 0:30: 'layout' : offset/align can only be used on a uniform or buffer
12ERROR: 0:31: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
13ERROR: 0:31: 'layout' : offset/align can only be used on a uniform or buffer
14ERROR: 0:33: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
15ERROR: 0:34: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
16ERROR: 0:34: 'layout' : offset/align can only be used on a uniform or buffer
17ERROR: 0:35: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
18ERROR: 0:35: 'layout' : offset/align can only be used on a uniform or buffer
19ERROR: 0:37: 'offset' : only applies to block members, not blocks
20ERROR: 0:38: 'layout' : offset/align can only be used on a uniform or buffer
21ERROR: 0:38: 'offset' : only applies to block members, not blocks
John Kessenichaa657c12014-08-19 02:12:44 +000022ERROR: 0:39: 'out' : cannot declare an output block in a fragment shader
John Kessenich04b1c6e2014-01-28 21:13:59 +000023ERROR: 0:39: 'layout' : offset/align can only be used on a uniform or buffer
24ERROR: 0:39: 'offset' : only applies to block members, not blocks
25ERROR: 0:42: 'offset/align' : can only be used with std140 or std430 layout packing
26ERROR: 0:43: 'offset/align' : can only be used with std140 or std430 layout packing
27ERROR: 0:43: 'layout' : offset/align can only be used on a uniform or buffer
John Kessenichaa657c12014-08-19 02:12:44 +000028ERROR: 0:44: 'out' : cannot declare an output block in a fragment shader
John Kessenich04b1c6e2014-01-28 21:13:59 +000029ERROR: 0:44: 'offset/align' : can only be used with std140 or std430 layout packing
30ERROR: 0:44: 'layout' : offset/align can only be used on a uniform or buffer
31ERROR: 0:46: 'offset' : cannot specify on a variable declaration
32ERROR: 0:47: 'layout' : offset/align can only be used on a uniform or buffer
33ERROR: 0:48: 'layout' : offset/align can only be used on a uniform or buffer
34ERROR: 0:50: 'align' : cannot specify on a variable declaration
35ERROR: 0:51: 'layout' : offset/align can only be used on a uniform or buffer
36ERROR: 0:52: 'layout' : offset/align can only be used on a uniform or buffer
37ERROR: 0:54: 'layout' : matrix or packing qualifiers can only be used on a uniform or buffer
38ERROR: 0:55: 'layout' : cannot specify packing on a variable declaration
39ERROR: 0:57: 'align' : must be a power of 2
40ERROR: 0:58: 'align' : can only be used with std140 or std430 layout packing
41ERROR: 0:63: 'align' : can only be used with std140 or std430 layout packing
42ERROR: 0:62: 'layout' : offset/align can only be used on a uniform or buffer
43ERROR: 0:63: 'layout' : offset/align can only be used on a uniform or buffer
John Kessenichac1e1882014-01-31 02:40:19 +000044ERROR: 0:84: 'align' : must be a power of 2
45ERROR: 0:83: 'offset' : cannot lie in previous members
46ERROR: 0:85: 'offset' : must be a multiple of the member's alignment
47ERROR: 0:103: 'align' : must be a power of 2
John Kessenich837c6382015-04-08 15:51:14 +000048ERROR: 0:105: 'align' : must be a power of 2
John Kessenichac1e1882014-01-31 02:40:19 +000049ERROR: 0:102: 'offset' : cannot lie in previous members
50ERROR: 0:104: 'offset' : must be a multiple of the member's alignment
John Kessenich837c6382015-04-08 15:51:14 +000051ERROR: 48 compilation errors. No code generated.
John Kessenich68546c62014-01-08 23:25:18 +000052
53
John Kessenichb4ef9e02014-03-31 22:20:47 +000054Shader version: 440
John Kessenich68546c62014-01-08 23:25:18 +000055ERROR: node is still EOpNull!
560:? Linker Objects
570:? 'a' (layout(location=4 component=2 ) smooth in 2-component vector of float)
580:? 'b' (layout(location=4 component=1 ) smooth in float)
590:? 'h' (layout(location=4 component=2 ) smooth in 2-component vector of float)
600:? 'c' (layout(location=3 component=2 ) smooth in 3-component vector of float)
610:? 'e' (layout(location=20 component=0 ) smooth in 6-element array of 3-component vector of float)
620:? 'f' (layout(location=20 component=3 ) smooth in 6-element array of float)
630:? 'be' (layout(location=30 component=3 ) out int)
640:? 'bf' (layout(location=30 component=0 ) out 3-component vector of float)
John Kessenich04b1c6e2014-01-28 21:13:59 +0000650:? 'inst1' (layout(column_major shared offset=12 ) uniform block{layout(column_major shared ) uniform int a})
660:? 'inst2' (layout(offset=12 ) in block{in int a})
670:? 'inst3' (layout(offset=12 ) out block{out int a})
John Kessenichac1e1882014-01-31 02:40:19 +0000680:? 'inst4' (layout(column_major std140 align=16 ) uniform block{layout(column_major std140 offset=0 align=16 ) uniform int a})
John Kessenich04b1c6e2014-01-28 21:13:59 +0000690:? 'inst8' (layout(column_major shared align=16 ) uniform block{layout(column_major shared ) uniform int a})
700:? 'inst5' (layout(align=16 ) in block{in int a})
710:? 'inst6' (layout(align=16 ) out block{out int a})
720:? 'v1' (layout(offset=12 ) uniform 4-component vector of float)
730:? 'v2' (layout(offset=12 ) smooth in 4-component vector of float)
740:? 'v3' (layout(offset=12 ) out 4-component vector of float)
750:? 'v4' (layout(align=16 ) uniform 4-component vector of float)
760:? 'v5' (layout(align=16 ) smooth in 4-component vector of float)
770:? 'v6' (layout(align=16 ) out 4-component vector of float)
780:? 'v7' (layout(std140 ) uniform 4-component vector of float)
790:? 'inst7' (layout(column_major shared ) uniform block{layout(column_major shared offset=12 align=4 ) uniform float f})
800:? 'inst10' (in block{layout(offset=12 ) in float f, layout(align=4 ) in float g})
810:? 'inst9' (layout(column_major std430 align=32 ) uniform block{layout(column_major std430 align=32 ) uniform float e, layout(column_major std430 offset=12 align=4 ) uniform float f, layout(column_major std430 offset=20 align=32 ) uniform float g, layout(column_major std430 align=32 ) uniform float h})
820:? 'inst11' (layout(column_major std430 ) uniform block{layout(column_major std430 offset=12 align=4 ) uniform float f, layout(column_major std430 ) uniform float g})
John Kessenichac1e1882014-01-31 02:40:19 +0000830:? 'specExampleErrors' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform 4-component vector of float a, layout(column_major std140 offset=32 ) uniform 3-component vector of float b, layout(column_major std140 offset=48 ) uniform 2-component vector of float c, layout(column_major std140 offset=56 ) uniform double g, layout(column_major std140 offset=72 ) uniform double h})
840:? 'specExample' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform 4-component vector of float a, layout(column_major std140 offset=32 ) uniform 3-component vector of float b, layout(column_major std140 offset=48 ) uniform 2-component vector of float d, layout(column_major std140 offset=64 align=16 ) uniform float e, layout(column_major std140 offset=72 align=2 ) uniform double f, layout(column_major std140 offset=80 ) uniform float h, layout(column_major std140 offset=128 align=64 ) uniform 3-component vector of double i, layout(column_major std140 offset=168 align=8 ) uniform float j})
John Kessenich837c6382015-04-08 15:51:14 +0000850:? 'specExampleErrors430' (layout(column_major std430 ) uniform block{layout(column_major std430 offset=0 ) uniform 4-component vector of float a, layout(column_major std430 offset=32 ) uniform 3-component vector of float b, layout(column_major std430 offset=48 ) uniform 2-component vector of float c, layout(column_major std430 offset=56 ) uniform double g, layout(column_major std430 offset=72 ) uniform double h, layout(column_major std430 offset=80 ) uniform double i})
John Kessenichac1e1882014-01-31 02:40:19 +0000860:? 'specExample430' (layout(column_major std430 ) uniform block{layout(column_major std430 offset=0 ) uniform 4-component vector of float a, layout(column_major std430 offset=32 ) uniform 3-component vector of float b, layout(column_major std430 offset=48 ) uniform 2-component vector of float d, layout(column_major std430 offset=64 align=16 ) uniform float e, layout(column_major std430 offset=72 align=2 ) uniform double f, layout(column_major std430 offset=80 ) uniform float h, layout(column_major std430 offset=128 align=64 ) uniform 3-component vector of double i, layout(column_major std430 offset=168 align=8 ) uniform float j})
870:? 'specExample4300' (layout(column_major std430 align=128 ) uniform block{layout(column_major std430 offset=0 align=128 ) uniform 4-component vector of float a, layout(column_major std430 offset=128 align=128 ) uniform 3-component vector of float b, layout(column_major std430 offset=256 align=128 ) uniform 2-component vector of float d, layout(column_major std430 offset=384 align=128 ) uniform float e, layout(column_major std430 offset=512 align=128 ) uniform double f, layout(column_major std430 offset=640 align=128 ) uniform float h, layout(column_major std430 offset=768 align=128 ) uniform 3-component vector of double i})
880:? 'specExample4301' (layout(column_major std430 align=128 ) uniform block{layout(column_major std430 offset=0 align=128 ) uniform 4-component vector of float a, layout(column_major std430 offset=128 align=128 ) uniform 3-component vector of float b, layout(column_major std430 offset=256 align=128 ) uniform 2-component vector of float d, layout(column_major std430 offset=512 align=128 ) uniform float e, layout(column_major std430 offset=520 align=8 ) uniform double f, layout(column_major std430 offset=640 align=128 ) uniform float h, layout(column_major std430 offset=768 align=128 ) uniform 3-component vector of double i})
John Kessenich8b37b042015-04-29 10:16:56 +0000890:? 'aconst' (global 4-element array of int)
900:? 'bconst' (global 64-element array of int)
John Kessenich68546c62014-01-08 23:25:18 +000091
92
93Linked fragment stage:
94
95ERROR: Linking fragment stage: Missing entry point: Each stage requires one "void main()" entry point
96
John Kessenichb4ef9e02014-03-31 22:20:47 +000097Shader version: 440
John Kessenichcf0206c2014-04-14 15:46:40 +000098ERROR: node is still EOpNull!
990:? Linker Objects
1000:? 'a' (layout(location=4 component=2 ) smooth in 2-component vector of float)
1010:? 'b' (layout(location=4 component=1 ) smooth in float)
1020:? 'h' (layout(location=4 component=2 ) smooth in 2-component vector of float)
1030:? 'c' (layout(location=3 component=2 ) smooth in 3-component vector of float)
1040:? 'e' (layout(location=20 component=0 ) smooth in 6-element array of 3-component vector of float)
1050:? 'f' (layout(location=20 component=3 ) smooth in 6-element array of float)
1060:? 'be' (layout(location=30 component=3 ) out int)
1070:? 'bf' (layout(location=30 component=0 ) out 3-component vector of float)
1080:? 'inst1' (layout(column_major shared offset=12 ) uniform block{layout(column_major shared ) uniform int a})
1090:? 'inst2' (layout(offset=12 ) in block{in int a})
1100:? 'inst3' (layout(offset=12 ) out block{out int a})
1110:? 'inst4' (layout(column_major std140 align=16 ) uniform block{layout(column_major std140 offset=0 align=16 ) uniform int a})
1120:? 'inst8' (layout(column_major shared align=16 ) uniform block{layout(column_major shared ) uniform int a})
1130:? 'inst5' (layout(align=16 ) in block{in int a})
1140:? 'inst6' (layout(align=16 ) out block{out int a})
1150:? 'v1' (layout(offset=12 ) uniform 4-component vector of float)
1160:? 'v2' (layout(offset=12 ) smooth in 4-component vector of float)
1170:? 'v3' (layout(offset=12 ) out 4-component vector of float)
1180:? 'v4' (layout(align=16 ) uniform 4-component vector of float)
1190:? 'v5' (layout(align=16 ) smooth in 4-component vector of float)
1200:? 'v6' (layout(align=16 ) out 4-component vector of float)
1210:? 'v7' (layout(std140 ) uniform 4-component vector of float)
1220:? 'inst7' (layout(column_major shared ) uniform block{layout(column_major shared offset=12 align=4 ) uniform float f})
1230:? 'inst10' (in block{layout(offset=12 ) in float f, layout(align=4 ) in float g})
1240:? 'inst9' (layout(column_major std430 align=32 ) uniform block{layout(column_major std430 align=32 ) uniform float e, layout(column_major std430 offset=12 align=4 ) uniform float f, layout(column_major std430 offset=20 align=32 ) uniform float g, layout(column_major std430 align=32 ) uniform float h})
1250:? 'inst11' (layout(column_major std430 ) uniform block{layout(column_major std430 offset=12 align=4 ) uniform float f, layout(column_major std430 ) uniform float g})
1260:? 'specExampleErrors' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform 4-component vector of float a, layout(column_major std140 offset=32 ) uniform 3-component vector of float b, layout(column_major std140 offset=48 ) uniform 2-component vector of float c, layout(column_major std140 offset=56 ) uniform double g, layout(column_major std140 offset=72 ) uniform double h})
1270:? 'specExample' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform 4-component vector of float a, layout(column_major std140 offset=32 ) uniform 3-component vector of float b, layout(column_major std140 offset=48 ) uniform 2-component vector of float d, layout(column_major std140 offset=64 align=16 ) uniform float e, layout(column_major std140 offset=72 align=2 ) uniform double f, layout(column_major std140 offset=80 ) uniform float h, layout(column_major std140 offset=128 align=64 ) uniform 3-component vector of double i, layout(column_major std140 offset=168 align=8 ) uniform float j})
John Kessenich837c6382015-04-08 15:51:14 +00001280:? 'specExampleErrors430' (layout(column_major std430 ) uniform block{layout(column_major std430 offset=0 ) uniform 4-component vector of float a, layout(column_major std430 offset=32 ) uniform 3-component vector of float b, layout(column_major std430 offset=48 ) uniform 2-component vector of float c, layout(column_major std430 offset=56 ) uniform double g, layout(column_major std430 offset=72 ) uniform double h, layout(column_major std430 offset=80 ) uniform double i})
John Kessenichcf0206c2014-04-14 15:46:40 +00001290:? 'specExample430' (layout(column_major std430 ) uniform block{layout(column_major std430 offset=0 ) uniform 4-component vector of float a, layout(column_major std430 offset=32 ) uniform 3-component vector of float b, layout(column_major std430 offset=48 ) uniform 2-component vector of float d, layout(column_major std430 offset=64 align=16 ) uniform float e, layout(column_major std430 offset=72 align=2 ) uniform double f, layout(column_major std430 offset=80 ) uniform float h, layout(column_major std430 offset=128 align=64 ) uniform 3-component vector of double i, layout(column_major std430 offset=168 align=8 ) uniform float j})
1300:? 'specExample4300' (layout(column_major std430 align=128 ) uniform block{layout(column_major std430 offset=0 align=128 ) uniform 4-component vector of float a, layout(column_major std430 offset=128 align=128 ) uniform 3-component vector of float b, layout(column_major std430 offset=256 align=128 ) uniform 2-component vector of float d, layout(column_major std430 offset=384 align=128 ) uniform float e, layout(column_major std430 offset=512 align=128 ) uniform double f, layout(column_major std430 offset=640 align=128 ) uniform float h, layout(column_major std430 offset=768 align=128 ) uniform 3-component vector of double i})
1310:? 'specExample4301' (layout(column_major std430 align=128 ) uniform block{layout(column_major std430 offset=0 align=128 ) uniform 4-component vector of float a, layout(column_major std430 offset=128 align=128 ) uniform 3-component vector of float b, layout(column_major std430 offset=256 align=128 ) uniform 2-component vector of float d, layout(column_major std430 offset=512 align=128 ) uniform float e, layout(column_major std430 offset=520 align=8 ) uniform double f, layout(column_major std430 offset=640 align=128 ) uniform float h, layout(column_major std430 offset=768 align=128 ) uniform 3-component vector of double i})
John Kessenich8b37b042015-04-29 10:16:56 +00001320:? 'aconst' (global 4-element array of int)
1330:? 'bconst' (global 64-element array of int)
John Kessenich68546c62014-01-08 23:25:18 +0000134