1 430scope.vert 2 ERROR: 0:5: 'a' : redefinition 3 ERROR: 0:17: 'b' : function name is redeclaration of existing name 4 ERROR: 0:20: 'c' : redefinition 5 ERROR: 0:22: 'f' : redefinition 6 ERROR: 0:43: 'sin' : can't use function syntax on variable 7 ERROR: 0:57: 'z' : undeclared identifier 8 ERROR: 0:57: 'z' : redefinition 9 ERROR: 0:73: 'degrees' : can't use function syntax on variable 10 ERROR: 8 compilation errors. No code generated. 11 12 13 Shader version: 430 14 ERROR: node is still EOpNull! 15 0:3 Function Definition: f(i1;i1;i1; ( global int) 16 0:3 Function Parameters: 17 0:3 'a' ( in int) 18 0:3 'b' ( in int) 19 0:3 'c' ( in int) 20 0:? Sequence 21 0:8 Sequence 22 0:8 Sequence 23 0:8 move second child to first child ( temp float) 24 0:8 'a' ( temp float) 25 0:8 add ( temp float) 26 0:8 Convert int to float ( temp float) 27 0:8 'a' ( in int) 28 0:8 Constant: 29 0:8 1.000000 30 0:11 Branch: Return with expression 31 0:11 'a' ( in int) 32 0:25 Function Definition: cos(f1; ( global float) 33 0:25 Function Parameters: 34 0:25 'x' ( in float) 35 0:27 Sequence 36 0:27 Branch: Return with expression 37 0:27 Constant: 38 0:27 1.000000 39 0:29 Function Definition: radians(b1; ( global bool) 40 0:29 Function Parameters: 41 0:29 'x' ( in bool) 42 0:31 Sequence 43 0:31 Branch: Return with expression 44 0:31 Constant: 45 0:31 true (const bool) 46 0:36 Function Definition: main( ( global void) 47 0:36 Function Parameters: 48 0:? Sequence 49 0:39 Function Call: g( ( temp int) 50 0:42 'sin' ( temp float) 51 0:43 Constant: 52 0:43 0.000000 53 0:44 Function Call: f(i1;i1;i1; ( global int) 54 0:44 Constant: 55 0:44 1 (const int) 56 0:44 Constant: 57 0:44 2 (const int) 58 0:44 Constant: 59 0:44 3 (const int) 60 0:47 move second child to first child ( temp float) 61 0:47 'f' ( temp float) 62 0:47 Constant: 63 0:47 3.000000 64 0:49 move second child to first child ( temp 4-component vector of float) 65 0:49 gl_Position: direct index for structure ( invariant gl_Position 4-component vector of float Position) 66 0:49 'anon@0' ( out block{ invariant gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out unsized 1-element array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out unsized 1-element array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord}) 67 0:49 Constant: 68 0:49 0 (const uint) 69 0:49 Construct vec4 ( temp 4-component vector of float) 70 0:49 'f' ( temp float) 71 0:51 Sequence 72 0:51 Sequence 73 0:51 move second child to first child ( temp int) 74 0:51 'f' ( temp int) 75 0:51 Constant: 76 0:51 0 (const int) 77 0:51 Loop with condition tested first 78 0:51 Loop Condition 79 0:51 Compare Less Than ( temp bool) 80 0:51 'f' ( temp int) 81 0:51 Constant: 82 0:51 10 (const int) 83 0:51 Loop Body 84 0:52 Pre-Increment ( temp int) 85 0:52 'f' ( temp int) 86 0:51 Loop Terminal Expression 87 0:51 Pre-Increment ( temp int) 88 0:51 'f' ( temp int) 89 0:54 Sequence 90 0:54 move second child to first child ( temp int) 91 0:54 'x' ( temp int) 92 0:54 Constant: 93 0:54 1 (const int) 94 0:56 Sequence 95 0:56 Sequence 96 0:56 move second child to first child ( temp float) 97 0:56 'x' ( temp float) 98 0:56 Constant: 99 0:56 2.000000 100 0:56 move second child to first child ( temp float) 101 0:56 'y' ( temp float) 102 0:56 'x' ( temp float) 103 0:60 Sequence 104 0:60 Sequence 105 0:60 move second child to first child ( temp int) 106 0:60 'x' ( temp int) 107 0:60 'x' ( temp int) 108 0:68 Sequence 109 0:68 Sequence 110 0:68 move second child to first child ( temp structure{ temp int x}) 111 0:68 'S' ( temp structure{ temp int x}) 112 0:68 Constant: 113 0:68 0 (const int) 114 0:69 x: direct index for structure ( temp int) 115 0:69 'S' ( temp structure{ temp int x}) 116 0:69 Constant: 117 0:69 0 (const int) 118 0:73 Constant: 119 0:73 0.000000 120 0:? Linker Objects 121 0:? 'b' ( global bool) 122 0:? 'tan' ( global float) 123 0:? 'gl_VertexID' ( gl_VertexId int VertexId) 124 0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId) 125 126 127 Linked vertex stage: 128 129 ERROR: Linking vertex stage: No function definition (body) found: 130 g( 131 132 Shader version: 430 133 ERROR: node is still EOpNull! 134 0:3 Function Definition: f(i1;i1;i1; ( global int) 135 0:3 Function Parameters: 136 0:3 'a' ( in int) 137 0:3 'b' ( in int) 138 0:3 'c' ( in int) 139 0:? Sequence 140 0:8 Sequence 141 0:8 Sequence 142 0:8 move second child to first child ( temp float) 143 0:8 'a' ( temp float) 144 0:8 add ( temp float) 145 0:8 Convert int to float ( temp float) 146 0:8 'a' ( in int) 147 0:8 Constant: 148 0:8 1.000000 149 0:11 Branch: Return with expression 150 0:11 'a' ( in int) 151 0:36 Function Definition: main( ( global void) 152 0:36 Function Parameters: 153 0:? Sequence 154 0:39 Function Call: g( ( temp int) 155 0:42 'sin' ( temp float) 156 0:43 Constant: 157 0:43 0.000000 158 0:44 Function Call: f(i1;i1;i1; ( global int) 159 0:44 Constant: 160 0:44 1 (const int) 161 0:44 Constant: 162 0:44 2 (const int) 163 0:44 Constant: 164 0:44 3 (const int) 165 0:47 move second child to first child ( temp float) 166 0:47 'f' ( temp float) 167 0:47 Constant: 168 0:47 3.000000 169 0:49 move second child to first child ( temp 4-component vector of float) 170 0:49 gl_Position: direct index for structure ( invariant gl_Position 4-component vector of float Position) 171 0:49 'anon@0' ( out block{ invariant gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 1-element array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out 1-element array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord}) 172 0:49 Constant: 173 0:49 0 (const uint) 174 0:49 Construct vec4 ( temp 4-component vector of float) 175 0:49 'f' ( temp float) 176 0:51 Sequence 177 0:51 Sequence 178 0:51 move second child to first child ( temp int) 179 0:51 'f' ( temp int) 180 0:51 Constant: 181 0:51 0 (const int) 182 0:51 Loop with condition tested first 183 0:51 Loop Condition 184 0:51 Compare Less Than ( temp bool) 185 0:51 'f' ( temp int) 186 0:51 Constant: 187 0:51 10 (const int) 188 0:51 Loop Body 189 0:52 Pre-Increment ( temp int) 190 0:52 'f' ( temp int) 191 0:51 Loop Terminal Expression 192 0:51 Pre-Increment ( temp int) 193 0:51 'f' ( temp int) 194 0:54 Sequence 195 0:54 move second child to first child ( temp int) 196 0:54 'x' ( temp int) 197 0:54 Constant: 198 0:54 1 (const int) 199 0:56 Sequence 200 0:56 Sequence 201 0:56 move second child to first child ( temp float) 202 0:56 'x' ( temp float) 203 0:56 Constant: 204 0:56 2.000000 205 0:56 move second child to first child ( temp float) 206 0:56 'y' ( temp float) 207 0:56 'x' ( temp float) 208 0:60 Sequence 209 0:60 Sequence 210 0:60 move second child to first child ( temp int) 211 0:60 'x' ( temp int) 212 0:60 'x' ( temp int) 213 0:68 Sequence 214 0:68 Sequence 215 0:68 move second child to first child ( temp structure{ temp int x}) 216 0:68 'S' ( temp structure{ temp int x}) 217 0:68 Constant: 218 0:68 0 (const int) 219 0:69 x: direct index for structure ( temp int) 220 0:69 'S' ( temp structure{ temp int x}) 221 0:69 Constant: 222 0:69 0 (const int) 223 0:73 Constant: 224 0:73 0.000000 225 0:? Linker Objects 226 0:? 'b' ( global bool) 227 0:? 'tan' ( global float) 228 0:? 'gl_VertexID' ( gl_VertexId int VertexId) 229 0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId) 230 231