1 420.geom 2 ERROR: 0:9: 'length' : array must first be sized by a redeclaration or layout qualifier 3 ERROR: 0:11: '[' : array must be sized by a redeclaration or layout qualifier before being indexed with a variable 4 ERROR: 0:42: 'assign' : l-value required (can't modify a const) 5 ERROR: 0:43: 'assign' : l-value required "v4" (can't modify a uniform) 6 ERROR: 0:48: 'gl_PointSize' : cannot change arrayness of redeclared block member 7 ERROR: 0:49: 'gl_ClipDistance' : cannot change arrayness of redeclared block member 8 ERROR: 6 compilation errors. No code generated. 9 10 11 Shader version: 420 12 invocations = -1 13 max_vertices = -1 14 input primitive = triangles 15 output primitive = none 16 ERROR: node is still EOpNull! 17 0:7 Function Definition: foo( ( global void) 18 0:7 Function Parameters: 19 0:9 Sequence 20 0:9 Constant: 21 0:9 1 (const int) 22 0:10 gl_Position: direct index for structure ( in 4-component vector of float Position) 23 0:10 direct index ( temp block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in unsized 1-element array of float ClipDistance gl_ClipDistance}) 24 0:10 'gl_in' ( in 3-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in unsized 1-element array of float ClipDistance gl_ClipDistance}) 25 0:10 Constant: 26 0:10 1 (const int) 27 0:10 Constant: 28 0:10 0 (const int) 29 0:11 gl_Position: direct index for structure ( in 4-component vector of float Position) 30 0:11 indirect index ( temp block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in unsized 1-element array of float ClipDistance gl_ClipDistance}) 31 0:11 'gl_in' ( in 3-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in unsized 1-element array of float ClipDistance gl_ClipDistance}) 32 0:11 'i' ( global int) 33 0:11 Constant: 34 0:11 0 (const int) 35 0:18 Function Definition: foo3( ( global void) 36 0:18 Function Parameters: 37 0:20 Sequence 38 0:20 Constant: 39 0:20 3 (const int) 40 0:21 gl_Position: direct index for structure ( in 4-component vector of float Position) 41 0:21 indirect index ( temp block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in unsized 1-element array of float ClipDistance gl_ClipDistance}) 42 0:21 'gl_in' ( in 3-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in unsized 1-element array of float ClipDistance gl_ClipDistance}) 43 0:21 'i' ( global int) 44 0:21 Constant: 45 0:21 0 (const int) 46 0:22 Constant: 47 0:22 3 (const int) 48 0:29 Function Definition: foo4( ( global void) 49 0:29 Function Parameters: 50 0:? Sequence 51 0:40 Sequence 52 0:40 move second child to first child ( temp 4-component vector of float) 53 0:40 'v' ( temp 4-component vector of float) 54 0:40 textureGatherOffset ( global 4-component vector of float) 55 0:40 's2D' ( uniform sampler2D) 56 0:40 direct index ( temp 2-component vector of float) 57 0:40 'coord' ( in 3-element array of 2-component vector of float) 58 0:40 Constant: 59 0:40 0 (const int) 60 0:40 vector swizzle ( temp 2-component vector of int) 61 0:40 indirect index ( temp 2-component vector of int) 62 0:40 Constant: 63 0:40 0 (const int) 64 0:40 1 (const int) 65 0:40 1 (const int) 66 0:40 -2 (const int) 67 0:40 0 (const int) 68 0:40 3 (const int) 69 0:40 -3 (const int) 70 0:40 0 (const int) 71 0:40 2 (const int) 72 0:40 1 (const int) 73 0:40 'i' ( global int) 74 0:40 Sequence 75 0:40 Constant: 76 0:40 0 (const int) 77 0:40 Constant: 78 0:40 1 (const int) 79 0:42 move second child to first child ( temp 2-component vector of int) 80 0:42 vector swizzle ( temp 2-component vector of int) 81 0:42 indirect index ( temp 2-component vector of int) 82 0:42 Constant: 83 0:42 0 (const int) 84 0:42 1 (const int) 85 0:42 1 (const int) 86 0:42 -2 (const int) 87 0:42 0 (const int) 88 0:42 3 (const int) 89 0:42 -3 (const int) 90 0:42 0 (const int) 91 0:42 2 (const int) 92 0:42 1 (const int) 93 0:42 'i' ( global int) 94 0:42 Sequence 95 0:42 Constant: 96 0:42 0 (const int) 97 0:42 Constant: 98 0:42 1 (const int) 99 0:42 Constant: 100 0:42 3 (const int) 101 0:42 3 (const int) 102 0:43 move second child to first child ( temp float) 103 0:43 direct index ( temp float) 104 0:43 'v4' ( uniform 4-component vector of float) 105 0:43 Constant: 106 0:43 0 (const int) 107 0:43 Constant: 108 0:43 3.200000 109 0:44 vector swizzle ( temp 2-component vector of float) 110 0:44 'v4' ( uniform 4-component vector of float) 111 0:44 Sequence 112 0:44 Constant: 113 0:44 0 (const int) 114 0:44 Constant: 115 0:44 1 (const int) 116 0:52 Function Definition: foo5( ( global float) 117 0:52 Function Parameters: 118 0:54 Sequence 119 0:54 Branch: Return with expression 120 0:54 Convert int to float ( temp float) 121 0:54 'i' ( global int) 122 0:? Linker Objects 123 0:? 'i' ( global int) 124 0:? 'gl_in' ( in 3-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in unsized 1-element array of float ClipDistance gl_ClipDistance}) 125 0:? 'color3' ( in 3-element array of 4-component vector of float) 126 0:? 's2D' ( uniform sampler2D) 127 0:? 'coord' ( in 3-element array of 2-component vector of float) 128 0:? 'v4' ( uniform 4-component vector of float) 129 0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out unsized 1-element array of float ClipDistance gl_ClipDistance}) 130 131 132 Linked geometry stage: 133 134 ERROR: Linking geometry stage: Missing entry point: Each stage requires one entry point 135 ERROR: Linking geometry stage: At least one shader must specify an output layout primitive 136 ERROR: Linking geometry stage: At least one shader must specify a layout(max_vertices = value) 137 138 Shader version: 420 139 invocations = 1 140 max_vertices = -1 141 input primitive = triangles 142 output primitive = none 143 ERROR: node is still EOpNull! 144 0:? Linker Objects 145 0:? 'i' ( global int) 146 0:? 'gl_in' ( in 3-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 1-element array of float ClipDistance gl_ClipDistance}) 147 0:? 'color3' ( in 3-element array of 4-component vector of float) 148 0:? 's2D' ( uniform sampler2D) 149 0:? 'coord' ( in 3-element array of 2-component vector of float) 150 0:? 'v4' ( uniform 4-component vector of float) 151 0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out 1-element array of float ClipDistance gl_ClipDistance}) 152 153