1 forLoop.frag 2 Shader version: 130 3 0:? Sequence 4 0:10 Function Definition: main( ( global void) 5 0:10 Function Parameters: 6 0:12 Sequence 7 0:12 Sequence 8 0:12 move second child to first child ( temp 4-component vector of float) 9 0:12 'color' ( temp 4-component vector of float) 10 0:12 'BaseColor' ( smooth in 4-component vector of float) 11 0:14 Sequence 12 0:14 Sequence 13 0:14 move second child to first child ( temp int) 14 0:14 'i' ( temp int) 15 0:14 Constant: 16 0:14 0 (const int) 17 0:14 Loop with condition tested first 18 0:14 Loop Condition 19 0:14 Compare Less Than ( temp bool) 20 0:14 'i' ( temp int) 21 0:14 'Count' ( uniform int) 22 0:14 Loop Body 23 0:15 Sequence 24 0:15 add second child into first child ( temp 4-component vector of float) 25 0:15 'color' ( temp 4-component vector of float) 26 0:15 'bigColor' ( uniform 4-component vector of float) 27 0:14 Loop Terminal Expression 28 0:14 Pre-Increment ( temp int) 29 0:14 'i' ( temp int) 30 0:18 move second child to first child ( temp 4-component vector of float) 31 0:18 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 32 0:18 'color' ( temp 4-component vector of float) 33 0:20 Sequence 34 0:20 move second child to first child ( temp float) 35 0:20 'sum' ( temp float) 36 0:20 Constant: 37 0:20 0.000000 38 0:21 Sequence 39 0:21 Sequence 40 0:21 move second child to first child ( temp int) 41 0:21 'i' ( temp int) 42 0:21 Constant: 43 0:21 0 (const int) 44 0:21 Loop with condition tested first 45 0:21 Loop Condition 46 0:21 Compare Less Than ( temp bool) 47 0:21 'i' ( temp int) 48 0:21 Constant: 49 0:21 4 (const int) 50 0:21 Loop Body 51 0:22 add second child into first child ( temp float) 52 0:22 'sum' ( temp float) 53 0:22 Convert uint to float ( temp float) 54 0:22 indirect index ( temp uint) 55 0:22 'v4' ( uniform 4-component vector of uint) 56 0:22 'i' ( temp int) 57 0:21 Loop Terminal Expression 58 0:21 Pre-Increment ( temp int) 59 0:21 'i' ( temp int) 60 0:26 Sequence 61 0:26 Sequence 62 0:26 move second child to first child ( temp int) 63 0:26 'i' ( temp int) 64 0:26 Constant: 65 0:26 0 (const int) 66 0:26 Loop with condition tested first 67 0:26 Loop Condition 68 0:26 Compare Less Than ( temp bool) 69 0:26 'i' ( temp int) 70 0:26 Constant: 71 0:26 4 (const int) 72 0:26 Loop Body 73 0:27 move second child to first child ( temp float) 74 0:27 indirect index ( temp float) 75 0:27 'tv4' ( temp 4-component vector of float) 76 0:27 'i' ( temp int) 77 0:27 Convert uint to float ( temp float) 78 0:27 component-wise multiply ( temp uint) 79 0:27 indirect index ( temp uint) 80 0:27 'v4' ( uniform 4-component vector of uint) 81 0:27 'i' ( temp int) 82 0:27 Constant: 83 0:27 4 (const uint) 84 0:26 Loop Terminal Expression 85 0:26 Pre-Increment ( temp int) 86 0:26 'i' ( temp int) 87 0:29 add second child into first child ( temp 4-component vector of float) 88 0:29 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 89 0:29 add ( temp 4-component vector of float) 90 0:29 Construct vec4 ( temp 4-component vector of float) 91 0:29 'sum' ( temp float) 92 0:29 'tv4' ( temp 4-component vector of float) 93 0:32 move second child to first child ( temp 3-component vector of float) 94 0:32 vector swizzle ( temp 3-component vector of float) 95 0:32 'r' ( temp 4-component vector of float) 96 0:32 Sequence 97 0:32 Constant: 98 0:32 0 (const int) 99 0:32 Constant: 100 0:32 1 (const int) 101 0:32 Constant: 102 0:32 2 (const int) 103 0:32 vector swizzle ( temp 3-component vector of float) 104 0:32 'BaseColor' ( smooth in 4-component vector of float) 105 0:32 Sequence 106 0:32 Constant: 107 0:32 0 (const int) 108 0:32 Constant: 109 0:32 1 (const int) 110 0:32 Constant: 111 0:32 2 (const int) 112 0:34 Sequence 113 0:34 Sequence 114 0:34 move second child to first child ( temp int) 115 0:34 'i' ( temp int) 116 0:34 Constant: 117 0:34 0 (const int) 118 0:34 Loop with condition tested first 119 0:34 Loop Condition 120 0:34 Compare Less Than ( temp bool) 121 0:34 'i' ( temp int) 122 0:34 'Count' ( uniform int) 123 0:34 Loop Body 124 0:35 move second child to first child ( temp float) 125 0:35 direct index ( temp float) 126 0:35 'r' ( temp 4-component vector of float) 127 0:35 Constant: 128 0:35 3 (const int) 129 0:35 'f' ( smooth in float) 130 0:34 Loop Terminal Expression 131 0:34 Pre-Increment ( temp int) 132 0:34 'i' ( temp int) 133 0:37 add second child into first child ( temp 3-component vector of float) 134 0:37 vector swizzle ( temp 3-component vector of float) 135 0:37 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 136 0:37 Sequence 137 0:37 Constant: 138 0:37 0 (const int) 139 0:37 Constant: 140 0:37 1 (const int) 141 0:37 Constant: 142 0:37 2 (const int) 143 0:37 vector swizzle ( temp 3-component vector of float) 144 0:37 'r' ( temp 4-component vector of float) 145 0:37 Sequence 146 0:37 Constant: 147 0:37 0 (const int) 148 0:37 Constant: 149 0:37 1 (const int) 150 0:37 Constant: 151 0:37 2 (const int) 152 0:39 Sequence 153 0:39 Sequence 154 0:39 move second child to first child ( temp int) 155 0:39 'i' ( temp int) 156 0:39 Constant: 157 0:39 0 (const int) 158 0:39 Loop with condition tested first 159 0:39 Loop Condition 160 0:39 Compare Less Than ( temp bool) 161 0:39 'i' ( temp int) 162 0:39 Constant: 163 0:39 16 (const int) 164 0:39 Loop Body 165 0:40 vector scale second child into first child ( temp 4-component vector of float) 166 0:40 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 167 0:40 'f' ( smooth in float) 168 0:39 Loop Terminal Expression 169 0:39 add second child into first child ( temp int) 170 0:39 'i' ( temp int) 171 0:39 Constant: 172 0:39 4 (const int) 173 0:? Linker Objects 174 0:? 'bigColor' ( uniform 4-component vector of float) 175 0:? 'BaseColor' ( smooth in 4-component vector of float) 176 0:? 'f' ( smooth in float) 177 0:? 'Count' ( uniform int) 178 0:? 'v4' ( uniform 4-component vector of uint) 179 180 181 Linked fragment stage: 182 183 184 Shader version: 130 185 0:? Sequence 186 0:10 Function Definition: main( ( global void) 187 0:10 Function Parameters: 188 0:12 Sequence 189 0:12 Sequence 190 0:12 move second child to first child ( temp 4-component vector of float) 191 0:12 'color' ( temp 4-component vector of float) 192 0:12 'BaseColor' ( smooth in 4-component vector of float) 193 0:14 Sequence 194 0:14 Sequence 195 0:14 move second child to first child ( temp int) 196 0:14 'i' ( temp int) 197 0:14 Constant: 198 0:14 0 (const int) 199 0:14 Loop with condition tested first 200 0:14 Loop Condition 201 0:14 Compare Less Than ( temp bool) 202 0:14 'i' ( temp int) 203 0:14 'Count' ( uniform int) 204 0:14 Loop Body 205 0:15 Sequence 206 0:15 add second child into first child ( temp 4-component vector of float) 207 0:15 'color' ( temp 4-component vector of float) 208 0:15 'bigColor' ( uniform 4-component vector of float) 209 0:14 Loop Terminal Expression 210 0:14 Pre-Increment ( temp int) 211 0:14 'i' ( temp int) 212 0:18 move second child to first child ( temp 4-component vector of float) 213 0:18 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 214 0:18 'color' ( temp 4-component vector of float) 215 0:20 Sequence 216 0:20 move second child to first child ( temp float) 217 0:20 'sum' ( temp float) 218 0:20 Constant: 219 0:20 0.000000 220 0:21 Sequence 221 0:21 Sequence 222 0:21 move second child to first child ( temp int) 223 0:21 'i' ( temp int) 224 0:21 Constant: 225 0:21 0 (const int) 226 0:21 Loop with condition tested first 227 0:21 Loop Condition 228 0:21 Compare Less Than ( temp bool) 229 0:21 'i' ( temp int) 230 0:21 Constant: 231 0:21 4 (const int) 232 0:21 Loop Body 233 0:22 add second child into first child ( temp float) 234 0:22 'sum' ( temp float) 235 0:22 Convert uint to float ( temp float) 236 0:22 indirect index ( temp uint) 237 0:22 'v4' ( uniform 4-component vector of uint) 238 0:22 'i' ( temp int) 239 0:21 Loop Terminal Expression 240 0:21 Pre-Increment ( temp int) 241 0:21 'i' ( temp int) 242 0:26 Sequence 243 0:26 Sequence 244 0:26 move second child to first child ( temp int) 245 0:26 'i' ( temp int) 246 0:26 Constant: 247 0:26 0 (const int) 248 0:26 Loop with condition tested first 249 0:26 Loop Condition 250 0:26 Compare Less Than ( temp bool) 251 0:26 'i' ( temp int) 252 0:26 Constant: 253 0:26 4 (const int) 254 0:26 Loop Body 255 0:27 move second child to first child ( temp float) 256 0:27 indirect index ( temp float) 257 0:27 'tv4' ( temp 4-component vector of float) 258 0:27 'i' ( temp int) 259 0:27 Convert uint to float ( temp float) 260 0:27 component-wise multiply ( temp uint) 261 0:27 indirect index ( temp uint) 262 0:27 'v4' ( uniform 4-component vector of uint) 263 0:27 'i' ( temp int) 264 0:27 Constant: 265 0:27 4 (const uint) 266 0:26 Loop Terminal Expression 267 0:26 Pre-Increment ( temp int) 268 0:26 'i' ( temp int) 269 0:29 add second child into first child ( temp 4-component vector of float) 270 0:29 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 271 0:29 add ( temp 4-component vector of float) 272 0:29 Construct vec4 ( temp 4-component vector of float) 273 0:29 'sum' ( temp float) 274 0:29 'tv4' ( temp 4-component vector of float) 275 0:32 move second child to first child ( temp 3-component vector of float) 276 0:32 vector swizzle ( temp 3-component vector of float) 277 0:32 'r' ( temp 4-component vector of float) 278 0:32 Sequence 279 0:32 Constant: 280 0:32 0 (const int) 281 0:32 Constant: 282 0:32 1 (const int) 283 0:32 Constant: 284 0:32 2 (const int) 285 0:32 vector swizzle ( temp 3-component vector of float) 286 0:32 'BaseColor' ( smooth in 4-component vector of float) 287 0:32 Sequence 288 0:32 Constant: 289 0:32 0 (const int) 290 0:32 Constant: 291 0:32 1 (const int) 292 0:32 Constant: 293 0:32 2 (const int) 294 0:34 Sequence 295 0:34 Sequence 296 0:34 move second child to first child ( temp int) 297 0:34 'i' ( temp int) 298 0:34 Constant: 299 0:34 0 (const int) 300 0:34 Loop with condition tested first 301 0:34 Loop Condition 302 0:34 Compare Less Than ( temp bool) 303 0:34 'i' ( temp int) 304 0:34 'Count' ( uniform int) 305 0:34 Loop Body 306 0:35 move second child to first child ( temp float) 307 0:35 direct index ( temp float) 308 0:35 'r' ( temp 4-component vector of float) 309 0:35 Constant: 310 0:35 3 (const int) 311 0:35 'f' ( smooth in float) 312 0:34 Loop Terminal Expression 313 0:34 Pre-Increment ( temp int) 314 0:34 'i' ( temp int) 315 0:37 add second child into first child ( temp 3-component vector of float) 316 0:37 vector swizzle ( temp 3-component vector of float) 317 0:37 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 318 0:37 Sequence 319 0:37 Constant: 320 0:37 0 (const int) 321 0:37 Constant: 322 0:37 1 (const int) 323 0:37 Constant: 324 0:37 2 (const int) 325 0:37 vector swizzle ( temp 3-component vector of float) 326 0:37 'r' ( temp 4-component vector of float) 327 0:37 Sequence 328 0:37 Constant: 329 0:37 0 (const int) 330 0:37 Constant: 331 0:37 1 (const int) 332 0:37 Constant: 333 0:37 2 (const int) 334 0:39 Sequence 335 0:39 Sequence 336 0:39 move second child to first child ( temp int) 337 0:39 'i' ( temp int) 338 0:39 Constant: 339 0:39 0 (const int) 340 0:39 Loop with condition tested first 341 0:39 Loop Condition 342 0:39 Compare Less Than ( temp bool) 343 0:39 'i' ( temp int) 344 0:39 Constant: 345 0:39 16 (const int) 346 0:39 Loop Body 347 0:40 vector scale second child into first child ( temp 4-component vector of float) 348 0:40 'gl_FragColor' ( fragColor 4-component vector of float FragColor) 349 0:40 'f' ( smooth in float) 350 0:39 Loop Terminal Expression 351 0:39 add second child into first child ( temp int) 352 0:39 'i' ( temp int) 353 0:39 Constant: 354 0:39 4 (const int) 355 0:? Linker Objects 356 0:? 'bigColor' ( uniform 4-component vector of float) 357 0:? 'BaseColor' ( smooth in 4-component vector of float) 358 0:? 'f' ( smooth in float) 359 0:? 'Count' ( uniform int) 360 0:? 'v4' ( uniform 4-component vector of uint) 361 362