John Kessenich | 68546c6 | 2014-01-08 23:25:18 +0000 | [diff] [blame] | 1 | 440.frag
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 2 | Warning, version 440 is not yet complete; most version-specific features are present, but some are missing.
|
John Kessenich | 68546c6 | 2014-01-08 23:25:18 +0000 | [diff] [blame] | 3 | ERROR: 0:11: 'location' : overlapping use of location 4
|
| 4 | ERROR: 0:13: 'component' : type overflows the available 4 components
|
| 5 | ERROR: 0:22: 'location' : fragment outputs sharing the same location must be the same basic type 30
|
John Kessenich | 04b1c6e | 2014-01-28 21:13:59 +0000 | [diff] [blame] | 6 | ERROR: 0:24: 'qualifier' : cannot use auxiliary, memory, interpolation, or precision qualifier in a default qualifier declaration (declaration with no type)
|
| 7 | ERROR: 0:25: 'qualifier' : cannot use auxiliary, memory, interpolation, or precision qualifier in a default qualifier declaration (declaration with no type)
|
| 8 | ERROR: 0:26: 'qualifier' : cannot use auxiliary, memory, interpolation, or precision qualifier in a default qualifier declaration (declaration with no type)
|
| 9 | ERROR: 0:29: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
|
| 10 | ERROR: 0:30: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
|
| 11 | ERROR: 0:30: 'layout' : offset/align can only be used on a uniform or buffer
|
| 12 | ERROR: 0:31: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
|
| 13 | ERROR: 0:31: 'layout' : offset/align can only be used on a uniform or buffer
|
| 14 | ERROR: 0:33: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
|
| 15 | ERROR: 0:34: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
|
| 16 | ERROR: 0:34: 'layout' : offset/align can only be used on a uniform or buffer
|
| 17 | ERROR: 0:35: 'layout qualifier' : cannot use offset or align qualifiers in a default qualifier declaration (declaration with no type)
|
| 18 | ERROR: 0:35: 'layout' : offset/align can only be used on a uniform or buffer
|
| 19 | ERROR: 0:37: 'offset' : only applies to block members, not blocks
|
| 20 | ERROR: 0:38: 'layout' : offset/align can only be used on a uniform or buffer
|
| 21 | ERROR: 0:38: 'offset' : only applies to block members, not blocks
|
John Kessenich | aa657c1 | 2014-08-19 02:12:44 +0000 | [diff] [blame] | 22 | ERROR: 0:39: 'out' : cannot declare an output block in a fragment shader
|
John Kessenich | 04b1c6e | 2014-01-28 21:13:59 +0000 | [diff] [blame] | 23 | ERROR: 0:39: 'layout' : offset/align can only be used on a uniform or buffer
|
| 24 | ERROR: 0:39: 'offset' : only applies to block members, not blocks
|
| 25 | ERROR: 0:42: 'offset/align' : can only be used with std140 or std430 layout packing
|
| 26 | ERROR: 0:43: 'offset/align' : can only be used with std140 or std430 layout packing
|
| 27 | ERROR: 0:43: 'layout' : offset/align can only be used on a uniform or buffer
|
John Kessenich | aa657c1 | 2014-08-19 02:12:44 +0000 | [diff] [blame] | 28 | ERROR: 0:44: 'out' : cannot declare an output block in a fragment shader
|
John Kessenich | 04b1c6e | 2014-01-28 21:13:59 +0000 | [diff] [blame] | 29 | ERROR: 0:44: 'offset/align' : can only be used with std140 or std430 layout packing
|
| 30 | ERROR: 0:44: 'layout' : offset/align can only be used on a uniform or buffer
|
| 31 | ERROR: 0:46: 'offset' : cannot specify on a variable declaration
|
| 32 | ERROR: 0:47: 'layout' : offset/align can only be used on a uniform or buffer
|
| 33 | ERROR: 0:48: 'layout' : offset/align can only be used on a uniform or buffer
|
| 34 | ERROR: 0:50: 'align' : cannot specify on a variable declaration
|
| 35 | ERROR: 0:51: 'layout' : offset/align can only be used on a uniform or buffer
|
| 36 | ERROR: 0:52: 'layout' : offset/align can only be used on a uniform or buffer
|
| 37 | ERROR: 0:54: 'layout' : matrix or packing qualifiers can only be used on a uniform or buffer
|
| 38 | ERROR: 0:55: 'layout' : cannot specify packing on a variable declaration
|
| 39 | ERROR: 0:57: 'align' : must be a power of 2
|
| 40 | ERROR: 0:58: 'align' : can only be used with std140 or std430 layout packing
|
| 41 | ERROR: 0:63: 'align' : can only be used with std140 or std430 layout packing
|
| 42 | ERROR: 0:62: 'layout' : offset/align can only be used on a uniform or buffer
|
| 43 | ERROR: 0:63: 'layout' : offset/align can only be used on a uniform or buffer
|
John Kessenich | ac1e188 | 2014-01-31 02:40:19 +0000 | [diff] [blame] | 44 | ERROR: 0:84: 'align' : must be a power of 2
|
| 45 | ERROR: 0:83: 'offset' : cannot lie in previous members
|
| 46 | ERROR: 0:85: 'offset' : must be a multiple of the member's alignment
|
| 47 | ERROR: 0:103: 'align' : must be a power of 2
|
John Kessenich | 837c638 | 2015-04-08 15:51:14 +0000 | [diff] [blame] | 48 | ERROR: 0:105: 'align' : must be a power of 2
|
John Kessenich | ac1e188 | 2014-01-31 02:40:19 +0000 | [diff] [blame] | 49 | ERROR: 0:102: 'offset' : cannot lie in previous members
|
| 50 | ERROR: 0:104: 'offset' : must be a multiple of the member's alignment
|
John Kessenich | 837c638 | 2015-04-08 15:51:14 +0000 | [diff] [blame] | 51 | ERROR: 48 compilation errors. No code generated.
|
John Kessenich | 68546c6 | 2014-01-08 23:25:18 +0000 | [diff] [blame] | 52 |
|
| 53 |
|
John Kessenich | b4ef9e0 | 2014-03-31 22:20:47 +0000 | [diff] [blame] | 54 | Shader version: 440
|
John Kessenich | 68546c6 | 2014-01-08 23:25:18 +0000 | [diff] [blame] | 55 | ERROR: node is still EOpNull!
|
| 56 | 0:? Linker Objects
|
| 57 | 0:? 'a' (layout(location=4 component=2 ) smooth in 2-component vector of float)
|
| 58 | 0:? 'b' (layout(location=4 component=1 ) smooth in float)
|
| 59 | 0:? 'h' (layout(location=4 component=2 ) smooth in 2-component vector of float)
|
| 60 | 0:? 'c' (layout(location=3 component=2 ) smooth in 3-component vector of float)
|
| 61 | 0:? 'e' (layout(location=20 component=0 ) smooth in 6-element array of 3-component vector of float)
|
| 62 | 0:? 'f' (layout(location=20 component=3 ) smooth in 6-element array of float)
|
| 63 | 0:? 'be' (layout(location=30 component=3 ) out int)
|
| 64 | 0:? 'bf' (layout(location=30 component=0 ) out 3-component vector of float)
|
John Kessenich | 04b1c6e | 2014-01-28 21:13:59 +0000 | [diff] [blame] | 65 | 0:? 'inst1' (layout(column_major shared offset=12 ) uniform block{layout(column_major shared ) uniform int a})
|
| 66 | 0:? 'inst2' (layout(offset=12 ) in block{in int a})
|
| 67 | 0:? 'inst3' (layout(offset=12 ) out block{out int a})
|
John Kessenich | ac1e188 | 2014-01-31 02:40:19 +0000 | [diff] [blame] | 68 | 0:? 'inst4' (layout(column_major std140 align=16 ) uniform block{layout(column_major std140 offset=0 align=16 ) uniform int a})
|
John Kessenich | 04b1c6e | 2014-01-28 21:13:59 +0000 | [diff] [blame] | 69 | 0:? 'inst8' (layout(column_major shared align=16 ) uniform block{layout(column_major shared ) uniform int a})
|
| 70 | 0:? 'inst5' (layout(align=16 ) in block{in int a})
|
| 71 | 0:? 'inst6' (layout(align=16 ) out block{out int a})
|
| 72 | 0:? 'v1' (layout(offset=12 ) uniform 4-component vector of float)
|
| 73 | 0:? 'v2' (layout(offset=12 ) smooth in 4-component vector of float)
|
| 74 | 0:? 'v3' (layout(offset=12 ) out 4-component vector of float)
|
| 75 | 0:? 'v4' (layout(align=16 ) uniform 4-component vector of float)
|
| 76 | 0:? 'v5' (layout(align=16 ) smooth in 4-component vector of float)
|
| 77 | 0:? 'v6' (layout(align=16 ) out 4-component vector of float)
|
| 78 | 0:? 'v7' (layout(std140 ) uniform 4-component vector of float)
|
| 79 | 0:? 'inst7' (layout(column_major shared ) uniform block{layout(column_major shared offset=12 align=4 ) uniform float f})
|
| 80 | 0:? 'inst10' (in block{layout(offset=12 ) in float f, layout(align=4 ) in float g})
|
| 81 | 0:? '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})
|
| 82 | 0:? '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 Kessenich | ac1e188 | 2014-01-31 02:40:19 +0000 | [diff] [blame] | 83 | 0:? '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})
|
| 84 | 0:? '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 Kessenich | 837c638 | 2015-04-08 15:51:14 +0000 | [diff] [blame] | 85 | 0:? '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 Kessenich | ac1e188 | 2014-01-31 02:40:19 +0000 | [diff] [blame] | 86 | 0:? '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})
|
| 87 | 0:? '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})
|
| 88 | 0:? '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 Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame^] | 89 | 0:? 'aconst' (global 4-element array of int)
|
| 90 | 0:? 'bconst' (global 64-element array of int)
|
John Kessenich | 68546c6 | 2014-01-08 23:25:18 +0000 | [diff] [blame] | 91 |
|
| 92 |
|
| 93 | Linked fragment stage:
|
| 94 |
|
| 95 | ERROR: Linking fragment stage: Missing entry point: Each stage requires one "void main()" entry point
|
| 96 |
|
John Kessenich | b4ef9e0 | 2014-03-31 22:20:47 +0000 | [diff] [blame] | 97 | Shader version: 440
|
John Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 98 | ERROR: node is still EOpNull!
|
| 99 | 0:? Linker Objects
|
| 100 | 0:? 'a' (layout(location=4 component=2 ) smooth in 2-component vector of float)
|
| 101 | 0:? 'b' (layout(location=4 component=1 ) smooth in float)
|
| 102 | 0:? 'h' (layout(location=4 component=2 ) smooth in 2-component vector of float)
|
| 103 | 0:? 'c' (layout(location=3 component=2 ) smooth in 3-component vector of float)
|
| 104 | 0:? 'e' (layout(location=20 component=0 ) smooth in 6-element array of 3-component vector of float)
|
| 105 | 0:? 'f' (layout(location=20 component=3 ) smooth in 6-element array of float)
|
| 106 | 0:? 'be' (layout(location=30 component=3 ) out int)
|
| 107 | 0:? 'bf' (layout(location=30 component=0 ) out 3-component vector of float)
|
| 108 | 0:? 'inst1' (layout(column_major shared offset=12 ) uniform block{layout(column_major shared ) uniform int a})
|
| 109 | 0:? 'inst2' (layout(offset=12 ) in block{in int a})
|
| 110 | 0:? 'inst3' (layout(offset=12 ) out block{out int a})
|
| 111 | 0:? 'inst4' (layout(column_major std140 align=16 ) uniform block{layout(column_major std140 offset=0 align=16 ) uniform int a})
|
| 112 | 0:? 'inst8' (layout(column_major shared align=16 ) uniform block{layout(column_major shared ) uniform int a})
|
| 113 | 0:? 'inst5' (layout(align=16 ) in block{in int a})
|
| 114 | 0:? 'inst6' (layout(align=16 ) out block{out int a})
|
| 115 | 0:? 'v1' (layout(offset=12 ) uniform 4-component vector of float)
|
| 116 | 0:? 'v2' (layout(offset=12 ) smooth in 4-component vector of float)
|
| 117 | 0:? 'v3' (layout(offset=12 ) out 4-component vector of float)
|
| 118 | 0:? 'v4' (layout(align=16 ) uniform 4-component vector of float)
|
| 119 | 0:? 'v5' (layout(align=16 ) smooth in 4-component vector of float)
|
| 120 | 0:? 'v6' (layout(align=16 ) out 4-component vector of float)
|
| 121 | 0:? 'v7' (layout(std140 ) uniform 4-component vector of float)
|
| 122 | 0:? 'inst7' (layout(column_major shared ) uniform block{layout(column_major shared offset=12 align=4 ) uniform float f})
|
| 123 | 0:? 'inst10' (in block{layout(offset=12 ) in float f, layout(align=4 ) in float g})
|
| 124 | 0:? '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})
|
| 125 | 0:? '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})
|
| 126 | 0:? '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})
|
| 127 | 0:? '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 Kessenich | 837c638 | 2015-04-08 15:51:14 +0000 | [diff] [blame] | 128 | 0:? '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 Kessenich | cf0206c | 2014-04-14 15:46:40 +0000 | [diff] [blame] | 129 | 0:? '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})
|
| 130 | 0:? '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})
|
| 131 | 0:? '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 Kessenich | 8b37b04 | 2015-04-29 10:16:56 +0000 | [diff] [blame^] | 132 | 0:? 'aconst' (global 4-element array of int)
|
| 133 | 0:? 'bconst' (global 64-element array of int)
|
John Kessenich | 68546c6 | 2014-01-08 23:25:18 +0000 | [diff] [blame] | 134 |
|