John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 1 | 110scope.vert |
| 2 | ERROR: 0:5: 'a' : redefinition |
| 3 | ERROR: 0:34: 'f' : can't call user function from global scope |
| 4 | ERROR: 0:57: 'z' : undeclared identifier |
| 5 | ERROR: 0:57: 'z' : redefinition |
| 6 | ERROR: 4 compilation errors. No code generated. |
| 7 | |
| 8 | |
| 9 | Shader version: 110 |
| 10 | ERROR: node is still EOpNull! |
| 11 | 0:3 Function Definition: f(i1;i1;i1; (global int) |
| 12 | 0:3 Function Parameters: |
| 13 | 0:3 'a' (in int) |
| 14 | 0:3 'b' (in int) |
| 15 | 0:3 'c' (in int) |
| 16 | 0:? Sequence |
| 17 | 0:8 Sequence |
| 18 | 0:8 Sequence |
| 19 | 0:8 move second child to first child (temp float) |
| 20 | 0:8 'a' (temp float) |
| 21 | 0:8 add (temp float) |
| 22 | 0:8 Convert int to float (temp float) |
| 23 | 0:8 'a' (in int) |
| 24 | 0:8 Constant: |
| 25 | 0:8 1.000000 |
| 26 | 0:11 Branch: Return with expression |
| 27 | 0:11 'a' (in int) |
| 28 | 0:25 Function Definition: cos(f1; (global float) |
| 29 | 0:25 Function Parameters: |
| 30 | 0:25 'x' (in float) |
| 31 | 0:27 Sequence |
| 32 | 0:27 Branch: Return with expression |
| 33 | 0:27 Constant: |
| 34 | 0:27 1.000000 |
| 35 | 0:29 Function Definition: radians(b1; (global bool) |
| 36 | 0:29 Function Parameters: |
| 37 | 0:29 'x' (in bool) |
| 38 | 0:31 Sequence |
| 39 | 0:31 Branch: Return with expression |
| 40 | 0:31 Constant: |
| 41 | 0:31 true (const bool) |
| 42 | 0:34 Sequence |
| 43 | 0:34 move second child to first child (temp int) |
| 44 | 0:34 'gi' (global int) |
| 45 | 0:34 Function Call: f(i1;i1;i1; (global int) |
| 46 | 0:34 Constant: |
| 47 | 0:34 1 (const int) |
| 48 | 0:34 Constant: |
| 49 | 0:34 2 (const int) |
| 50 | 0:34 Constant: |
| 51 | 0:34 3 (const int) |
| 52 | 0:36 Function Definition: main( (global void) |
| 53 | 0:36 Function Parameters: |
| 54 | 0:? Sequence |
| 55 | 0:39 Function Call: g( (temp int) |
| 56 | 0:42 'sin' (temp float) |
| 57 | 0:43 Function Call: sin(f1; (global float) |
| 58 | 0:43 Constant: |
| 59 | 0:43 0.700000 |
| 60 | 0:44 Function Call: f(i1;i1;i1; (global int) |
| 61 | 0:44 Constant: |
| 62 | 0:44 1 (const int) |
| 63 | 0:44 Constant: |
| 64 | 0:44 2 (const int) |
| 65 | 0:44 Constant: |
| 66 | 0:44 3 (const int) |
| 67 | 0:47 move second child to first child (temp float) |
| 68 | 0:47 'f' (temp float) |
| 69 | 0:47 Constant: |
| 70 | 0:47 3.000000 |
| 71 | 0:49 move second child to first child (temp 4-component vector of float) |
| 72 | 0:49 'gl_Position' (gl_Position 4-component vector of float Position) |
| 73 | 0:49 Construct vec4 (temp 4-component vector of float) |
| 74 | 0:49 'f' (temp float) |
| 75 | 0:51 Sequence |
| 76 | 0:51 Sequence |
| 77 | 0:51 move second child to first child (temp int) |
| 78 | 0:51 'f' (temp int) |
| 79 | 0:51 Constant: |
| 80 | 0:51 0 (const int) |
| 81 | 0:51 Loop with condition tested first |
| 82 | 0:51 Loop Condition |
| 83 | 0:51 Compare Less Than (temp bool) |
| 84 | 0:51 'f' (temp int) |
| 85 | 0:51 Constant: |
| 86 | 0:51 10 (const int) |
| 87 | 0:51 Loop Body |
| 88 | 0:52 Pre-Increment (temp int) |
| 89 | 0:52 'f' (temp int) |
| 90 | 0:51 Loop Terminal Expression |
| 91 | 0:51 Pre-Increment (temp int) |
| 92 | 0:51 'f' (temp int) |
| 93 | 0:54 Sequence |
| 94 | 0:54 move second child to first child (temp int) |
| 95 | 0:54 'x' (temp int) |
| 96 | 0:54 Constant: |
| 97 | 0:54 1 (const int) |
| 98 | 0:56 Sequence |
| 99 | 0:56 Sequence |
| 100 | 0:56 move second child to first child (temp float) |
| 101 | 0:56 'x' (temp float) |
| 102 | 0:56 Constant: |
| 103 | 0:56 2.000000 |
| 104 | 0:56 move second child to first child (temp float) |
| 105 | 0:56 'y' (temp float) |
| 106 | 0:56 'x' (temp float) |
| 107 | 0:60 Sequence |
| 108 | 0:60 Sequence |
| 109 | 0:60 move second child to first child (temp int) |
| 110 | 0:60 'x' (temp int) |
| 111 | 0:60 'x' (temp int) |
| 112 | 0:68 Sequence |
| 113 | 0:68 Sequence |
| 114 | 0:68 move second child to first child (temp structure{temp int x}) |
| 115 | 0:68 'S' (temp structure{temp int x}) |
| 116 | 0:68 Constant: |
| 117 | 0:68 0 (const int) |
| 118 | 0:69 x: direct index for structure (temp int) |
| 119 | 0:69 'S' (temp structure{temp int x}) |
| 120 | 0:69 Constant: |
| 121 | 0:69 0 (const int) |
| 122 | 0:73 Constant: |
| 123 | 0:73 183.346494 |
| 124 | 0:? Linker Objects |
| 125 | 0:? 'b' (global bool) |
| 126 | 0:? 'c' (global bool) |
| 127 | 0:? 'f' (global float) |
| 128 | 0:? 'tan' (global float) |
| 129 | 0:? 'gi' (global int) |
| 130 | |
| 131 | |
| 132 | Linked vertex stage: |
| 133 | |
| 134 | |
| 135 | Shader version: 110 |
| 136 | ERROR: node is still EOpNull! |
| 137 | 0:3 Function Definition: f(i1;i1;i1; (global int) |
| 138 | 0:3 Function Parameters: |
| 139 | 0:3 'a' (in int) |
| 140 | 0:3 'b' (in int) |
| 141 | 0:3 'c' (in int) |
| 142 | 0:? Sequence |
| 143 | 0:8 Sequence |
| 144 | 0:8 Sequence |
| 145 | 0:8 move second child to first child (temp float) |
| 146 | 0:8 'a' (temp float) |
| 147 | 0:8 add (temp float) |
| 148 | 0:8 Convert int to float (temp float) |
| 149 | 0:8 'a' (in int) |
| 150 | 0:8 Constant: |
| 151 | 0:8 1.000000 |
| 152 | 0:11 Branch: Return with expression |
| 153 | 0:11 'a' (in int) |
| 154 | 0:25 Function Definition: cos(f1; (global float) |
| 155 | 0:25 Function Parameters: |
| 156 | 0:25 'x' (in float) |
| 157 | 0:27 Sequence |
| 158 | 0:27 Branch: Return with expression |
| 159 | 0:27 Constant: |
| 160 | 0:27 1.000000 |
| 161 | 0:29 Function Definition: radians(b1; (global bool) |
| 162 | 0:29 Function Parameters: |
| 163 | 0:29 'x' (in bool) |
| 164 | 0:31 Sequence |
| 165 | 0:31 Branch: Return with expression |
| 166 | 0:31 Constant: |
| 167 | 0:31 true (const bool) |
| 168 | 0:34 Sequence |
| 169 | 0:34 move second child to first child (temp int) |
| 170 | 0:34 'gi' (global int) |
| 171 | 0:34 Function Call: f(i1;i1;i1; (global int) |
| 172 | 0:34 Constant: |
| 173 | 0:34 1 (const int) |
| 174 | 0:34 Constant: |
| 175 | 0:34 2 (const int) |
| 176 | 0:34 Constant: |
| 177 | 0:34 3 (const int) |
| 178 | 0:36 Function Definition: main( (global void) |
| 179 | 0:36 Function Parameters: |
| 180 | 0:? Sequence |
| 181 | 0:39 Function Call: g( (temp int) |
| 182 | 0:42 'sin' (temp float) |
| 183 | 0:43 Function Call: sin(f1; (global float) |
| 184 | 0:43 Constant: |
| 185 | 0:43 0.700000 |
| 186 | 0:44 Function Call: f(i1;i1;i1; (global int) |
| 187 | 0:44 Constant: |
| 188 | 0:44 1 (const int) |
| 189 | 0:44 Constant: |
| 190 | 0:44 2 (const int) |
| 191 | 0:44 Constant: |
| 192 | 0:44 3 (const int) |
| 193 | 0:47 move second child to first child (temp float) |
| 194 | 0:47 'f' (temp float) |
| 195 | 0:47 Constant: |
| 196 | 0:47 3.000000 |
| 197 | 0:49 move second child to first child (temp 4-component vector of float) |
| 198 | 0:49 'gl_Position' (gl_Position 4-component vector of float Position) |
| 199 | 0:49 Construct vec4 (temp 4-component vector of float) |
| 200 | 0:49 'f' (temp float) |
| 201 | 0:51 Sequence |
| 202 | 0:51 Sequence |
| 203 | 0:51 move second child to first child (temp int) |
| 204 | 0:51 'f' (temp int) |
| 205 | 0:51 Constant: |
| 206 | 0:51 0 (const int) |
| 207 | 0:51 Loop with condition tested first |
| 208 | 0:51 Loop Condition |
| 209 | 0:51 Compare Less Than (temp bool) |
| 210 | 0:51 'f' (temp int) |
| 211 | 0:51 Constant: |
| 212 | 0:51 10 (const int) |
| 213 | 0:51 Loop Body |
| 214 | 0:52 Pre-Increment (temp int) |
| 215 | 0:52 'f' (temp int) |
| 216 | 0:51 Loop Terminal Expression |
| 217 | 0:51 Pre-Increment (temp int) |
| 218 | 0:51 'f' (temp int) |
| 219 | 0:54 Sequence |
| 220 | 0:54 move second child to first child (temp int) |
| 221 | 0:54 'x' (temp int) |
| 222 | 0:54 Constant: |
| 223 | 0:54 1 (const int) |
| 224 | 0:56 Sequence |
| 225 | 0:56 Sequence |
| 226 | 0:56 move second child to first child (temp float) |
| 227 | 0:56 'x' (temp float) |
| 228 | 0:56 Constant: |
| 229 | 0:56 2.000000 |
| 230 | 0:56 move second child to first child (temp float) |
| 231 | 0:56 'y' (temp float) |
| 232 | 0:56 'x' (temp float) |
| 233 | 0:60 Sequence |
| 234 | 0:60 Sequence |
| 235 | 0:60 move second child to first child (temp int) |
| 236 | 0:60 'x' (temp int) |
| 237 | 0:60 'x' (temp int) |
| 238 | 0:68 Sequence |
| 239 | 0:68 Sequence |
| 240 | 0:68 move second child to first child (temp structure{temp int x}) |
| 241 | 0:68 'S' (temp structure{temp int x}) |
| 242 | 0:68 Constant: |
| 243 | 0:68 0 (const int) |
| 244 | 0:69 x: direct index for structure (temp int) |
| 245 | 0:69 'S' (temp structure{temp int x}) |
| 246 | 0:69 Constant: |
| 247 | 0:69 0 (const int) |
| 248 | 0:73 Constant: |
| 249 | 0:73 183.346494 |
| 250 | 0:? Linker Objects |
| 251 | 0:? 'b' (global bool) |
| 252 | 0:? 'c' (global bool) |
| 253 | 0:? 'f' (global float) |
| 254 | 0:? 'tan' (global float) |
| 255 | 0:? 'gi' (global int) |
| 256 | |