1spv.loops.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 725 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 11 54 57 71 106 114 118 131 137 157 160 171 308 344 350 366 380 418 450 469 512 544 552 562 588 615 624 629 649 687 698 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 140 12 Name 4 "main" 13 Name 9 "color" 14 Name 11 "BaseColor" 15 Name 54 "d" 16 Name 57 "bigColor" 17 Name 71 "bigColor1_1" 18 Name 106 "d2" 19 Name 114 "d3" 20 Name 118 "bigColor1_2" 21 Name 131 "bigColor1_3" 22 Name 137 "d4" 23 Name 148 "i" 24 Name 157 "Count" 25 Name 160 "bigColor2" 26 Name 171 "bigColor3" 27 Name 179 "i" 28 Name 195 "i" 29 Name 231 "i" 30 Name 254 "i" 31 Name 279 "i" 32 Name 308 "bigColor4" 33 Name 344 "bigColor5" 34 Name 350 "d5" 35 Name 366 "d6" 36 Name 380 "bigColor6" 37 Name 418 "d7" 38 Name 450 "bigColor7" 39 Name 469 "d8" 40 Name 512 "d9" 41 Name 544 "d10" 42 Name 552 "d11" 43 Name 562 "d12" 44 Name 588 "bigColor8" 45 Name 615 "gl_FragColor" 46 Name 624 "d14" 47 Name 629 "d15" 48 Name 649 "d16" 49 Name 687 "d18" 50 Name 698 "d17" 51 Decorate 11(BaseColor) Location 11 52 Decorate 54(d) Location 12 53 Decorate 57(bigColor) Location 0 54 Decorate 71(bigColor1_1) Location 1 55 Decorate 106(d2) Location 13 56 Decorate 114(d3) Location 14 57 Decorate 118(bigColor1_2) Location 2 58 Decorate 131(bigColor1_3) Location 3 59 Decorate 137(d4) Location 15 60 Decorate 157(Count) Flat 61 Decorate 157(Count) Location 29 62 Decorate 160(bigColor2) Location 4 63 Decorate 171(bigColor3) Location 5 64 Decorate 308(bigColor4) Location 6 65 Decorate 344(bigColor5) Location 7 66 Decorate 350(d5) Location 16 67 Decorate 366(d6) Location 17 68 Decorate 380(bigColor6) Location 8 69 Decorate 418(d7) Location 18 70 Decorate 450(bigColor7) Location 9 71 Decorate 469(d8) Location 19 72 Decorate 512(d9) Location 20 73 Decorate 544(d10) Location 21 74 Decorate 552(d11) Location 22 75 Decorate 562(d12) Location 23 76 Decorate 588(bigColor8) Location 10 77 Decorate 615(gl_FragColor) Location 0 78 Decorate 624(d14) Location 24 79 Decorate 629(d15) Location 25 80 Decorate 649(d16) Location 26 81 Decorate 687(d18) Location 28 82 Decorate 698(d17) Location 27 83 2: TypeVoid 84 3: TypeFunction 2 85 6: TypeFloat 32 86 7: TypeVector 6(float) 4 87 8: TypePointer Function 7(fvec4) 88 10: TypePointer Input 7(fvec4) 89 11(BaseColor): 10(ptr) Variable Input 90 18: TypeBool 91 19: 18(bool) ConstantTrue 92 20: TypeInt 32 0 93 21: 20(int) Constant 0 94 22: TypePointer Function 6(float) 95 25: 6(float) Constant 1051260355 96 29: 7(fvec4) ConstantComposite 25 25 25 25 97 35: 6(float) Constant 1059648963 98 39: 7(fvec4) ConstantComposite 35 35 35 35 99 53: TypePointer Input 6(float) 100 54(d): 53(ptr) Variable Input 101 57(bigColor): 10(ptr) Variable Input 102 66: 20(int) Constant 2 103 71(bigColor1_1): 10(ptr) Variable Input 104 75: 20(int) Constant 3 105 93: 6(float) Constant 1109917696 106 96: 6(float) Constant 1065353216 107 106(d2): 53(ptr) Variable Input 108 111: 20(int) Constant 1 109 114(d3): 53(ptr) Variable Input 110118(bigColor1_2): 10(ptr) Variable Input 111131(bigColor1_3): 10(ptr) Variable Input 112 137(d4): 53(ptr) Variable Input 113 146: TypeInt 32 1 114 147: TypePointer Function 146(int) 115 149: 146(int) Constant 0 116 156: TypePointer Input 146(int) 117 157(Count): 156(ptr) Variable Input 118 160(bigColor2): 10(ptr) Variable Input 119 165: 146(int) Constant 1 120 171(bigColor3): 10(ptr) Variable Input 121 186: 146(int) Constant 42 122 202: 146(int) Constant 100 123 206: 6(float) Constant 1101004800 124 238: 146(int) Constant 120 125 308(bigColor4): 10(ptr) Variable Input 126 344(bigColor5): 10(ptr) Variable Input 127 350(d5): 53(ptr) Variable Input 128 366(d6): 53(ptr) Variable Input 129 380(bigColor6): 10(ptr) Variable Input 130 418(d7): 53(ptr) Variable Input 131 445: 6(float) Constant 0 132 450(bigColor7): 10(ptr) Variable Input 133 469(d8): 53(ptr) Variable Input 134 486: 6(float) Constant 1073741824 135 512(d9): 53(ptr) Variable Input 136 528: 6(float) Constant 1084227584 137 544(d10): 53(ptr) Variable Input 138 552(d11): 53(ptr) Variable Input 139 562(d12): 53(ptr) Variable Input 140 586: 6(float) Constant 1092616192 141 588(bigColor8): 10(ptr) Variable Input 142 614: TypePointer Output 7(fvec4) 143615(gl_FragColor): 614(ptr) Variable Output 144 624(d14): 53(ptr) Variable Input 145 629(d15): 53(ptr) Variable Input 146 649(d16): 53(ptr) Variable Input 147 687(d18): 53(ptr) Variable Input 148 698(d17): 53(ptr) Variable Input 149 4(main): 2 Function None 3 150 5: Label 151 9(color): 8(ptr) Variable Function 152 148(i): 147(ptr) Variable Function 153 179(i): 147(ptr) Variable Function 154 195(i): 147(ptr) Variable Function 155 231(i): 147(ptr) Variable Function 156 254(i): 147(ptr) Variable Function 157 279(i): 147(ptr) Variable Function 158 12: 7(fvec4) Load 11(BaseColor) 159 Store 9(color) 12 160 Branch 13 161 13: Label 162 LoopMerge 15 16 None 163 Branch 17 164 17: Label 165 BranchConditional 19 14 15 166 14: Label 167 23: 22(ptr) AccessChain 9(color) 21 168 24: 6(float) Load 23 169 26: 18(bool) FOrdLessThan 24 25 170 SelectionMerge 28 None 171 BranchConditional 26 27 28 172 27: Label 173 30: 7(fvec4) Load 9(color) 174 31: 7(fvec4) FAdd 30 29 175 Store 9(color) 31 176 Branch 15 177 28: Label 178 33: 22(ptr) AccessChain 9(color) 21 179 34: 6(float) Load 33 180 36: 18(bool) FOrdLessThan 34 35 181 SelectionMerge 38 None 182 BranchConditional 36 37 38 183 37: Label 184 40: 7(fvec4) Load 9(color) 185 41: 7(fvec4) FAdd 40 39 186 Store 9(color) 41 187 Branch 15 188 38: Label 189 43: 7(fvec4) Load 9(color) 190 44: 7(fvec4) FAdd 43 29 191 Store 9(color) 44 192 Branch 15 193 16: Label 194 Branch 13 195 15: Label 196 Branch 46 197 46: Label 198 LoopMerge 48 49 None 199 Branch 50 200 50: Label 201 51: 22(ptr) AccessChain 9(color) 21 202 52: 6(float) Load 51 203 55: 6(float) Load 54(d) 204 56: 18(bool) FOrdLessThan 52 55 205 BranchConditional 56 47 48 206 47: Label 207 58: 7(fvec4) Load 57(bigColor) 208 59: 7(fvec4) Load 9(color) 209 60: 7(fvec4) FAdd 59 58 210 Store 9(color) 60 211 Branch 49 212 49: Label 213 Branch 46 214 48: Label 215 Branch 61 216 61: Label 217 LoopMerge 63 64 None 218 Branch 65 219 65: Label 220 67: 22(ptr) AccessChain 9(color) 66 221 68: 6(float) Load 67 222 69: 6(float) Load 54(d) 223 70: 18(bool) FOrdLessThan 68 69 224 BranchConditional 70 62 63 225 62: Label 226 72: 7(fvec4) Load 71(bigColor1_1) 227 73: 7(fvec4) Load 9(color) 228 74: 7(fvec4) FAdd 73 72 229 Store 9(color) 74 230 76: 22(ptr) AccessChain 9(color) 75 231 77: 6(float) Load 76 232 78: 6(float) Load 54(d) 233 79: 18(bool) FOrdLessThan 77 78 234 SelectionMerge 81 None 235 BranchConditional 79 80 81 236 80: Label 237 Branch 64 238 81: Label 239 83: 7(fvec4) Load 71(bigColor1_1) 240 84: 7(fvec4) Load 9(color) 241 85: 7(fvec4) FAdd 84 83 242 Store 9(color) 85 243 Branch 64 244 64: Label 245 Branch 61 246 63: Label 247 Branch 86 248 86: Label 249 LoopMerge 88 89 None 250 Branch 90 251 90: Label 252 91: 22(ptr) AccessChain 9(color) 21 253 92: 6(float) Load 91 254 94: 18(bool) FOrdLessThan 92 93 255 BranchConditional 94 87 88 256 87: Label 257 95: 7(fvec4) Load 9(color) 258 97: 7(fvec4) CompositeConstruct 96 96 96 96 259 98: 7(fvec4) FAdd 95 97 260 Store 9(color) 98 261 Branch 89 262 89: Label 263 Branch 86 264 88: Label 265 Branch 99 266 99: Label 267 LoopMerge 101 102 None 268 Branch 103 269 103: Label 270 104: 22(ptr) AccessChain 9(color) 75 271 105: 6(float) Load 104 272 107: 6(float) Load 106(d2) 273 108: 18(bool) FOrdLessThan 105 107 274 SelectionMerge 110 None 275 BranchConditional 108 109 110 276 109: Label 277 112: 22(ptr) AccessChain 9(color) 111 278 113: 6(float) Load 112 279 115: 6(float) Load 114(d3) 280 116: 18(bool) FOrdLessThan 113 115 281 Branch 110 282 110: Label 283 117: 18(bool) Phi 108 103 116 109 284 BranchConditional 117 100 101 285 100: Label 286 119: 7(fvec4) Load 118(bigColor1_2) 287 120: 7(fvec4) Load 9(color) 288 121: 7(fvec4) FAdd 120 119 289 Store 9(color) 121 290 Branch 102 291 102: Label 292 Branch 99 293 101: Label 294 Branch 122 295 122: Label 296 LoopMerge 124 125 None 297 Branch 126 298 126: Label 299 127: 22(ptr) AccessChain 9(color) 66 300 128: 6(float) Load 127 301 129: 6(float) Load 114(d3) 302 130: 18(bool) FOrdLessThan 128 129 303 BranchConditional 130 123 124 304 123: Label 305 132: 7(fvec4) Load 131(bigColor1_3) 306 133: 7(fvec4) Load 9(color) 307 134: 7(fvec4) FAdd 133 132 308 Store 9(color) 134 309 135: 22(ptr) AccessChain 9(color) 111 310 136: 6(float) Load 135 311 138: 6(float) Load 137(d4) 312 139: 18(bool) FOrdLessThan 136 138 313 SelectionMerge 141 None 314 BranchConditional 139 140 141 315 140: Label 316 Branch 124 317 141: Label 318 143: 7(fvec4) Load 131(bigColor1_3) 319 144: 7(fvec4) Load 9(color) 320 145: 7(fvec4) FAdd 144 143 321 Store 9(color) 145 322 Branch 125 323 125: Label 324 Branch 122 325 124: Label 326 Store 148(i) 149 327 Branch 150 328 150: Label 329 LoopMerge 152 153 None 330 Branch 154 331 154: Label 332 155: 146(int) Load 148(i) 333 158: 146(int) Load 157(Count) 334 159: 18(bool) SLessThan 155 158 335 BranchConditional 159 151 152 336 151: Label 337 161: 7(fvec4) Load 160(bigColor2) 338 162: 7(fvec4) Load 9(color) 339 163: 7(fvec4) FAdd 162 161 340 Store 9(color) 163 341 Branch 153 342 153: Label 343 164: 146(int) Load 148(i) 344 166: 146(int) IAdd 164 165 345 Store 148(i) 166 346 Branch 150 347 152: Label 348 Branch 167 349 167: Label 350 LoopMerge 169 170 None 351 Branch 168 352 168: Label 353 172: 7(fvec4) Load 171(bigColor3) 354 173: 7(fvec4) Load 9(color) 355 174: 7(fvec4) FAdd 173 172 356 Store 9(color) 174 357 Branch 170 358 170: Label 359 175: 22(ptr) AccessChain 9(color) 21 360 176: 6(float) Load 175 361 177: 6(float) Load 106(d2) 362 178: 18(bool) FOrdLessThan 176 177 363 BranchConditional 178 167 169 364 169: Label 365 Store 179(i) 149 366 Branch 180 367 180: Label 368 LoopMerge 182 183 None 369 Branch 184 370 184: Label 371 185: 146(int) Load 179(i) 372 187: 18(bool) SLessThan 185 186 373 BranchConditional 187 181 182 374 181: Label 375 188: 6(float) Load 114(d3) 376 189: 22(ptr) AccessChain 9(color) 66 377 190: 6(float) Load 189 378 191: 6(float) FAdd 190 188 379 192: 22(ptr) AccessChain 9(color) 66 380 Store 192 191 381 Branch 183 382 183: Label 383 193: 146(int) Load 179(i) 384 194: 146(int) IAdd 193 165 385 Store 179(i) 194 386 Branch 180 387 182: Label 388 Store 195(i) 149 389 Branch 196 390 196: Label 391 LoopMerge 198 199 None 392 Branch 200 393 200: Label 394 201: 146(int) Load 195(i) 395 203: 18(bool) SLessThan 201 202 396 BranchConditional 203 197 198 397 197: Label 398 204: 22(ptr) AccessChain 9(color) 66 399 205: 6(float) Load 204 400 207: 18(bool) FOrdLessThan 205 206 401 SelectionMerge 209 None 402 BranchConditional 207 208 213 403 208: Label 404 210: 22(ptr) AccessChain 9(color) 21 405 211: 6(float) Load 210 406 212: 6(float) FAdd 211 96 407 Store 210 212 408 Branch 209 409 213: Label 410 214: 22(ptr) AccessChain 9(color) 111 411 215: 6(float) Load 214 412 216: 6(float) FAdd 215 96 413 Store 214 216 414 Branch 209 415 209: Label 416 217: 22(ptr) AccessChain 9(color) 75 417 218: 6(float) Load 217 418 219: 18(bool) FOrdLessThan 218 206 419 SelectionMerge 221 None 420 BranchConditional 219 220 221 421 220: Label 422 222: 22(ptr) AccessChain 9(color) 66 423 223: 6(float) Load 222 424 224: 22(ptr) AccessChain 9(color) 111 425 225: 6(float) Load 224 426 226: 18(bool) FOrdGreaterThan 223 225 427 SelectionMerge 228 None 428 BranchConditional 226 227 228 429 227: Label 430 Branch 228 431 228: Label 432 Branch 221 433 221: Label 434 Branch 199 435 199: Label 436 229: 146(int) Load 195(i) 437 230: 146(int) IAdd 229 165 438 Store 195(i) 230 439 Branch 196 440 198: Label 441 Store 231(i) 149 442 Branch 232 443 232: Label 444 LoopMerge 234 235 None 445 Branch 236 446 236: Label 447 237: 146(int) Load 231(i) 448 239: 18(bool) SLessThan 237 238 449 BranchConditional 239 233 234 450 233: Label 451 240: 22(ptr) AccessChain 9(color) 66 452 241: 6(float) Load 240 453 242: 18(bool) FOrdLessThan 241 206 454 SelectionMerge 244 None 455 BranchConditional 242 243 248 456 243: Label 457 245: 22(ptr) AccessChain 9(color) 21 458 246: 6(float) Load 245 459 247: 6(float) FAdd 246 96 460 Store 245 247 461 Branch 244 462 248: Label 463 249: 22(ptr) AccessChain 9(color) 111 464 250: 6(float) Load 249 465 251: 6(float) FAdd 250 96 466 Store 249 251 467 Branch 244 468 244: Label 469 Branch 235 470 235: Label 471 252: 146(int) Load 231(i) 472 253: 146(int) IAdd 252 165 473 Store 231(i) 253 474 Branch 232 475 234: Label 476 Store 254(i) 149 477 Branch 255 478 255: Label 479 LoopMerge 257 258 None 480 Branch 259 481 259: Label 482 260: 146(int) Load 254(i) 483 261: 18(bool) SLessThan 260 186 484 BranchConditional 261 256 257 485 256: Label 486 262: 6(float) Load 114(d3) 487 263: 22(ptr) AccessChain 9(color) 66 488 264: 6(float) Load 263 489 265: 6(float) FAdd 264 262 490 266: 22(ptr) AccessChain 9(color) 66 491 Store 266 265 492 267: 22(ptr) AccessChain 9(color) 21 493 268: 6(float) Load 267 494 269: 6(float) Load 137(d4) 495 270: 18(bool) FOrdLessThan 268 269 496 SelectionMerge 272 None 497 BranchConditional 270 271 272 498 271: Label 499 Branch 258 500 272: Label 501 274: 22(ptr) AccessChain 9(color) 75 502 275: 6(float) Load 274 503 276: 6(float) FAdd 275 96 504 Store 274 276 505 Branch 258 506 258: Label 507 277: 146(int) Load 254(i) 508 278: 146(int) IAdd 277 165 509 Store 254(i) 278 510 Branch 255 511 257: Label 512 Store 279(i) 149 513 Branch 280 514 280: Label 515 LoopMerge 282 283 None 516 Branch 284 517 284: Label 518 285: 146(int) Load 279(i) 519 286: 18(bool) SLessThan 285 186 520 BranchConditional 286 281 282 521 281: Label 522 287: 6(float) Load 114(d3) 523 288: 22(ptr) AccessChain 9(color) 66 524 289: 6(float) Load 288 525 290: 6(float) FAdd 289 287 526 291: 22(ptr) AccessChain 9(color) 66 527 Store 291 290 528 292: 22(ptr) AccessChain 9(color) 21 529 293: 6(float) Load 292 530 294: 6(float) Load 137(d4) 531 295: 18(bool) FOrdLessThan 293 294 532 SelectionMerge 297 None 533 BranchConditional 295 296 297 534 296: Label 535 Branch 282 536 297: Label 537 299: 22(ptr) AccessChain 9(color) 75 538 300: 6(float) Load 299 539 301: 6(float) FAdd 300 96 540 Store 299 301 541 Branch 283 542 283: Label 543 302: 146(int) Load 279(i) 544 303: 146(int) IAdd 302 165 545 Store 279(i) 303 546 Branch 280 547 282: Label 548 Branch 304 549 304: Label 550 LoopMerge 306 307 None 551 Branch 305 552 305: Label 553 309: 7(fvec4) Load 308(bigColor4) 554 310: 7(fvec4) Load 9(color) 555 311: 7(fvec4) FAdd 310 309 556 Store 9(color) 311 557 312: 22(ptr) AccessChain 9(color) 21 558 313: 6(float) Load 312 559 314: 6(float) Load 137(d4) 560 315: 18(bool) FOrdLessThan 313 314 561 SelectionMerge 317 None 562 BranchConditional 315 316 317 563 316: Label 564 Branch 307 565 317: Label 566 319: 22(ptr) AccessChain 9(color) 111 567 320: 6(float) Load 319 568 321: 6(float) Load 137(d4) 569 322: 18(bool) FOrdLessThan 320 321 570 SelectionMerge 324 None 571 BranchConditional 322 323 330 572 323: Label 573 325: 6(float) Load 137(d4) 574 326: 22(ptr) AccessChain 9(color) 111 575 327: 6(float) Load 326 576 328: 6(float) FAdd 327 325 577 329: 22(ptr) AccessChain 9(color) 111 578 Store 329 328 579 Branch 324 580 330: Label 581 331: 6(float) Load 137(d4) 582 332: 22(ptr) AccessChain 9(color) 21 583 333: 6(float) Load 332 584 334: 6(float) FAdd 333 331 585 335: 22(ptr) AccessChain 9(color) 21 586 Store 335 334 587 Branch 324 588 324: Label 589 Branch 307 590 307: Label 591 336: 22(ptr) AccessChain 9(color) 66 592 337: 6(float) Load 336 593 338: 6(float) Load 137(d4) 594 339: 18(bool) FOrdLessThan 337 338 595 BranchConditional 339 304 306 596 306: Label 597 Branch 340 598 340: Label 599 LoopMerge 342 343 None 600 Branch 341 601 341: Label 602 345: 7(fvec4) Load 344(bigColor5) 603 346: 7(fvec4) Load 9(color) 604 347: 7(fvec4) FAdd 346 345 605 Store 9(color) 347 606 348: 22(ptr) AccessChain 9(color) 111 607 349: 6(float) Load 348 608 351: 6(float) Load 350(d5) 609 352: 18(bool) FOrdLessThan 349 351 610 SelectionMerge 354 None 611 BranchConditional 352 353 354 612 353: Label 613 355: 6(float) Load 350(d5) 614 356: 22(ptr) AccessChain 9(color) 111 615 357: 6(float) Load 356 616 358: 6(float) FAdd 357 355 617 359: 22(ptr) AccessChain 9(color) 111 618 Store 359 358 619 Branch 354 620 354: Label 621 Branch 343 622 343: Label 623 360: 22(ptr) AccessChain 9(color) 21 624 361: 6(float) Load 360 625 362: 6(float) Load 350(d5) 626 363: 18(bool) FOrdLessThan 361 362 627 BranchConditional 363 340 342 628 342: Label 629 364: 22(ptr) AccessChain 9(color) 21 630 365: 6(float) Load 364 631 367: 6(float) Load 366(d6) 632 368: 18(bool) FOrdLessThan 365 367 633 SelectionMerge 370 None 634 BranchConditional 368 369 384 635 369: Label 636 Branch 371 637 371: Label 638 LoopMerge 373 374 None 639 Branch 375 640 375: Label 641 376: 22(ptr) AccessChain 9(color) 111 642 377: 6(float) Load 376 643 378: 6(float) Load 366(d6) 644 379: 18(bool) FOrdLessThan 377 378 645 BranchConditional 379 372 373 646 372: Label 647 381: 7(fvec4) Load 380(bigColor6) 648 382: 7(fvec4) Load 9(color) 649 383: 7(fvec4) FAdd 382 381 650 Store 9(color) 383 651 Branch 374 652 374: Label 653 Branch 371 654 373: Label 655 Branch 370 656 384: Label 657 Branch 385 658 385: Label 659 LoopMerge 387 388 None 660 Branch 389 661 389: Label 662 390: 22(ptr) AccessChain 9(color) 66 663 391: 6(float) Load 390 664 392: 6(float) Load 366(d6) 665 393: 18(bool) FOrdLessThan 391 392 666 BranchConditional 393 386 387 667 386: Label 668 394: 53(ptr) AccessChain 380(bigColor6) 66 669 395: 6(float) Load 394 670 396: 22(ptr) AccessChain 9(color) 66 671 397: 6(float) Load 396 672 398: 6(float) FAdd 397 395 673 399: 22(ptr) AccessChain 9(color) 66 674 Store 399 398 675 Branch 388 676 388: Label 677 Branch 385 678 387: Label 679 Branch 370 680 370: Label 681 400: 22(ptr) AccessChain 9(color) 21 682 401: 6(float) Load 400 683 402: 6(float) Load 366(d6) 684 403: 18(bool) FOrdLessThan 401 402 685 SelectionMerge 405 None 686 BranchConditional 403 404 424 687 404: Label 688 Branch 406 689 406: Label 690 LoopMerge 408 409 None 691 Branch 410 692 410: Label 693 411: 22(ptr) AccessChain 9(color) 111 694 412: 6(float) Load 411 695 413: 6(float) Load 366(d6) 696 414: 18(bool) FOrdLessThan 412 413 697 BranchConditional 414 407 408 698 407: Label 699 415: 7(fvec4) Load 380(bigColor6) 700 416: 7(fvec4) Load 9(color) 701 417: 7(fvec4) FAdd 416 415 702 Store 9(color) 417 703 419: 6(float) Load 418(d7) 704 420: 18(bool) FOrdLessThan 419 96 705 SelectionMerge 422 None 706 BranchConditional 420 421 422 707 421: Label 708 Branch 408 709 422: Label 710 Branch 409 711 409: Label 712 Branch 406 713 408: Label 714 Branch 405 715 424: Label 716 Branch 425 717 425: Label 718 LoopMerge 427 428 None 719 Branch 429 720 429: Label 721 430: 22(ptr) AccessChain 9(color) 66 722 431: 6(float) Load 430 723 432: 6(float) Load 366(d6) 724 433: 18(bool) FOrdLessThan 431 432 725 BranchConditional 433 426 427 726 426: Label 727 434: 53(ptr) AccessChain 380(bigColor6) 66 728 435: 6(float) Load 434 729 436: 22(ptr) AccessChain 9(color) 66 730 437: 6(float) Load 436 731 438: 6(float) FAdd 437 435 732 439: 22(ptr) AccessChain 9(color) 66 733 Store 439 438 734 Branch 428 735 428: Label 736 Branch 425 737 427: Label 738 Branch 405 739 405: Label 740 Branch 440 741 440: Label 742 LoopMerge 442 443 None 743 Branch 441 744 441: Label 745 444: 6(float) Load 418(d7) 746 446: 18(bool) FOrdLessThan 444 445 747 SelectionMerge 448 None 748 BranchConditional 446 447 448 749 447: Label 750 Branch 442 751 448: Label 752 451: 7(fvec4) Load 450(bigColor7) 753 452: 7(fvec4) Load 9(color) 754 453: 7(fvec4) FAdd 452 451 755 Store 9(color) 453 756 454: 6(float) Load 418(d7) 757 455: 18(bool) FOrdLessThan 454 96 758 SelectionMerge 457 None 759 BranchConditional 455 456 457 760 456: Label 761 458: 22(ptr) AccessChain 9(color) 66 762 459: 6(float) Load 458 763 460: 6(float) FAdd 459 96 764 Store 458 460 765 Branch 442 766 457: Label 767 462: 7(fvec4) Load 11(BaseColor) 768 463: 7(fvec4) Load 9(color) 769 464: 7(fvec4) FAdd 463 462 770 Store 9(color) 464 771 Branch 443 772 443: Label 773 BranchConditional 19 440 442 774 442: Label 775 Branch 465 776 465: Label 777 LoopMerge 467 468 None 778 Branch 466 779 466: Label 780 470: 6(float) Load 469(d8) 781 471: 18(bool) FOrdLessThan 470 445 782 SelectionMerge 473 None 783 BranchConditional 471 472 473 784 472: Label 785 Branch 467 786 473: Label 787 475: 7(fvec4) Load 450(bigColor7) 788 476: 7(fvec4) Load 9(color) 789 477: 7(fvec4) FAdd 476 475 790 Store 9(color) 477 791 478: 6(float) Load 469(d8) 792 479: 18(bool) FOrdLessThan 478 96 793 SelectionMerge 481 None 794 BranchConditional 479 480 481 795 480: Label 796 482: 22(ptr) AccessChain 9(color) 66 797 483: 6(float) Load 482 798 484: 6(float) FAdd 483 96 799 Store 482 484 800 485: 6(float) Load 469(d8) 801 487: 18(bool) FOrdLessThan 485 486 802 SelectionMerge 489 None 803 BranchConditional 487 488 493 804 488: Label 805 490: 22(ptr) AccessChain 9(color) 111 806 491: 6(float) Load 490 807 492: 6(float) FAdd 491 96 808 Store 490 492 809 Branch 489 810 493: Label 811 494: 22(ptr) AccessChain 9(color) 21 812 495: 6(float) Load 494 813 496: 6(float) FAdd 495 96 814 Store 494 496 815 Branch 489 816 489: Label 817 Branch 467 818 481: Label 819 498: 7(fvec4) Load 11(BaseColor) 820 499: 7(fvec4) Load 9(color) 821 500: 7(fvec4) FAdd 499 498 822 Store 9(color) 500 823 Branch 468 824 468: Label 825 501: 22(ptr) AccessChain 9(color) 66 826 502: 6(float) Load 501 827 503: 6(float) Load 469(d8) 828 504: 18(bool) FOrdLessThan 502 503 829 BranchConditional 504 465 467 830 467: Label 831 Branch 505 832 505: Label 833 LoopMerge 507 508 None 834 Branch 509 835 509: Label 836 510: 22(ptr) AccessChain 9(color) 75 837 511: 6(float) Load 510 838 513: 6(float) Load 512(d9) 839 514: 18(bool) FOrdLessThan 511 513 840 BranchConditional 514 506 507 841 506: Label 842 515: 6(float) Load 512(d9) 843 516: 6(float) Load 469(d8) 844 517: 18(bool) FOrdGreaterThan 515 516 845 SelectionMerge 519 None 846 BranchConditional 517 518 519 847 518: Label 848 520: 22(ptr) AccessChain 9(color) 21 849 521: 6(float) Load 520 850 522: 6(float) Load 418(d7) 851 523: 18(bool) FOrdLessThanEqual 521 522 852 SelectionMerge 525 None 853 BranchConditional 523 524 525 854 524: Label 855 526: 22(ptr) AccessChain 9(color) 66 856 527: 6(float) Load 526 857 529: 18(bool) FOrdEqual 527 528 858 SelectionMerge 531 None 859 BranchConditional 529 530 535 860 530: Label 861 532: 22(ptr) AccessChain 9(color) 75 862 533: 6(float) Load 532 863 534: 6(float) FAdd 533 96 864 Store 532 534 865 Branch 531 866 535: Label 867 Branch 507 868 531: Label 869 Branch 525 870 525: Label 871 Branch 519 872 519: Label 873 Branch 508 874 508: Label 875 Branch 505 876 507: Label 877 Branch 537 878 537: Label 879 LoopMerge 539 540 None 880 Branch 541 881 541: Label 882 542: 22(ptr) AccessChain 9(color) 66 883 543: 6(float) Load 542 884 545: 6(float) Load 544(d10) 885 546: 18(bool) FOrdLessThan 543 545 886 BranchConditional 546 538 539 887 538: Label 888 547: 22(ptr) AccessChain 9(color) 111 889 548: 6(float) Load 547 890 549: 6(float) FAdd 548 96 891 Store 547 549 892 550: 22(ptr) AccessChain 9(color) 111 893 551: 6(float) Load 550 894 553: 6(float) Load 552(d11) 895 554: 18(bool) FOrdLessThan 551 553 896 SelectionMerge 556 None 897 BranchConditional 554 555 556 898 555: Label 899 557: 22(ptr) AccessChain 9(color) 66 900 558: 6(float) Load 557 901 559: 6(float) FAdd 558 96 902 Store 557 559 903 560: 22(ptr) AccessChain 9(color) 75 904 561: 6(float) Load 560 905 563: 6(float) Load 562(d12) 906 564: 18(bool) FOrdLessThan 561 563 907 SelectionMerge 566 None 908 BranchConditional 564 565 570 909 565: Label 910 567: 22(ptr) AccessChain 9(color) 75 911 568: 6(float) Load 567 912 569: 6(float) FAdd 568 96 913 Store 567 569 914 Branch 566 915 570: Label 916 571: 22(ptr) AccessChain 9(color) 21 917 572: 6(float) Load 571 918 573: 6(float) FAdd 572 96 919 Store 571 573 920 Branch 566 921 566: Label 922 Branch 540 923 556: Label 924 575: 7(fvec4) Load 9(color) 925 576: 7(fvec4) CompositeConstruct 96 96 96 96 926 577: 7(fvec4) FAdd 575 576 927 Store 9(color) 577 928 Branch 539 929 540: Label 930 Branch 537 931 539: Label 932 Branch 579 933 579: Label 934 LoopMerge 581 582 None 935 Branch 583 936 583: Label 937 584: 22(ptr) AccessChain 9(color) 21 938 585: 6(float) Load 584 939 587: 18(bool) FOrdLessThan 585 586 940 BranchConditional 587 580 581 941 580: Label 942 589: 7(fvec4) Load 588(bigColor8) 943 590: 7(fvec4) Load 9(color) 944 591: 7(fvec4) FAdd 590 589 945 Store 9(color) 591 946 592: 22(ptr) AccessChain 9(color) 66 947 593: 6(float) Load 592 948 594: 6(float) Load 469(d8) 949 595: 18(bool) FOrdLessThan 593 594 950 SelectionMerge 597 None 951 BranchConditional 595 596 597 952 596: Label 953 598: 22(ptr) AccessChain 9(color) 75 954 599: 6(float) Load 598 955 600: 6(float) Load 366(d6) 956 601: 18(bool) FOrdLessThan 599 600 957 SelectionMerge 603 None 958 BranchConditional 601 602 603 959 602: Label 960 Branch 582 961 603: Label 962 Branch 597 963 597: Label 964 605: 53(ptr) AccessChain 588(bigColor8) 21 965 606: 6(float) Load 605 966 607: 22(ptr) AccessChain 9(color) 111 967 608: 6(float) Load 607 968 609: 6(float) FAdd 608 606 969 610: 22(ptr) AccessChain 9(color) 111 970 Store 610 609 971 Branch 582 972 582: Label 973 Branch 579 974 581: Label 975 611: 7(fvec4) Load 9(color) 976 612: 7(fvec4) CompositeConstruct 96 96 96 96 977 613: 7(fvec4) FAdd 611 612 978 Store 9(color) 613 979 616: 7(fvec4) Load 9(color) 980 Store 615(gl_FragColor) 616 981 Branch 617 982 617: Label 983 LoopMerge 619 620 None 984 Branch 621 985 621: Label 986 622: 22(ptr) AccessChain 9(color) 21 987 623: 6(float) Load 622 988 625: 6(float) Load 624(d14) 989 626: 18(bool) FOrdLessThan 623 625 990 BranchConditional 626 618 619 991 618: Label 992 627: 22(ptr) AccessChain 9(color) 111 993 628: 6(float) Load 627 994 630: 6(float) Load 629(d15) 995 631: 18(bool) FOrdLessThan 628 630 996 SelectionMerge 633 None 997 BranchConditional 631 632 635 998 632: Label 999 Return 1000 635: Label 1001 636: 7(fvec4) Load 9(color) 1002 637: 7(fvec4) CompositeConstruct 96 96 96 96 1003 638: 7(fvec4) FAdd 636 637 1004 Store 9(color) 638 1005 Branch 633 1006 633: Label 1007 Branch 620 1008 620: Label 1009 Branch 617 1010 619: Label 1011 639: 7(fvec4) Load 9(color) 1012 640: 7(fvec4) CompositeConstruct 96 96 96 96 1013 641: 7(fvec4) FAdd 639 640 1014 Store 9(color) 641 1015 Branch 642 1016 642: Label 1017 LoopMerge 644 645 None 1018 Branch 646 1019 646: Label 1020 647: 22(ptr) AccessChain 9(color) 75 1021 648: 6(float) Load 647 1022 650: 6(float) Load 649(d16) 1023 651: 18(bool) FOrdLessThan 648 650 1024 BranchConditional 651 643 644 1025 643: Label 1026 652: 22(ptr) AccessChain 9(color) 75 1027 653: 6(float) Load 652 1028 654: 6(float) FAdd 653 96 1029 Store 652 654 1030 Branch 645 1031 645: Label 1032 Branch 642 1033 644: Label 1034 Branch 655 1035 655: Label 1036 LoopMerge 657 658 None 1037 Branch 659 1038 659: Label 1039 660: 22(ptr) AccessChain 9(color) 75 1040 661: 6(float) Load 660 1041 662: 6(float) Load 106(d2) 1042 663: 18(bool) FOrdLessThan 661 662 1043 SelectionMerge 665 None 1044 BranchConditional 663 664 665 1045 664: Label 1046 666: 22(ptr) AccessChain 9(color) 111 1047 667: 6(float) Load 666 1048 668: 6(float) Load 114(d3) 1049 669: 18(bool) FOrdLessThan 667 668 1050 Branch 665 1051 665: Label 1052 670: 18(bool) Phi 663 659 669 664 1053 BranchConditional 670 656 657 1054 656: Label 1055 671: 7(fvec4) Load 118(bigColor1_2) 1056 672: 7(fvec4) Load 9(color) 1057 673: 7(fvec4) FAdd 672 671 1058 Store 9(color) 673 1059 674: 22(ptr) AccessChain 9(color) 66 1060 675: 6(float) Load 674 1061 676: 6(float) Load 114(d3) 1062 677: 18(bool) FOrdLessThan 675 676 1063 SelectionMerge 679 None 1064 BranchConditional 677 678 679 1065 678: Label 1066 Return 1067 679: Label 1068 Branch 658 1069 658: Label 1070 Branch 655 1071 657: Label 1072 Branch 681 1073 681: Label 1074 LoopMerge 683 684 None 1075 Branch 682 1076 682: Label 1077 685: 22(ptr) AccessChain 9(color) 111 1078 686: 6(float) Load 685 1079 688: 6(float) Load 687(d18) 1080 689: 18(bool) FOrdLessThan 686 688 1081 SelectionMerge 691 None 1082 BranchConditional 689 690 691 1083 690: Label 1084 Return 1085 691: Label 1086 693: 7(fvec4) Load 9(color) 1087 694: 7(fvec4) CompositeConstruct 96 96 96 96 1088 695: 7(fvec4) FAdd 693 694 1089 Store 9(color) 695 1090 Branch 684 1091 684: Label 1092 696: 22(ptr) AccessChain 9(color) 21 1093 697: 6(float) Load 696 1094 699: 6(float) Load 698(d17) 1095 700: 18(bool) FOrdLessThan 697 699 1096 BranchConditional 700 681 683 1097 683: Label 1098 Branch 701 1099 701: Label 1100 LoopMerge 703 704 None 1101 Branch 705 1102 705: Label 1103 706: 22(ptr) AccessChain 9(color) 111 1104 707: 6(float) Load 706 1105 708: 6(float) Load 649(d16) 1106 709: 18(bool) FOrdLessThan 707 708 1107 BranchConditional 709 702 703 1108 702: Label 1109 710: 22(ptr) AccessChain 9(color) 75 1110 711: 6(float) Load 710 1111 712: 6(float) Load 649(d16) 1112 713: 18(bool) FOrdLessThan 711 712 1113 SelectionMerge 715 None 1114 BranchConditional 713 714 717 1115 714: Label 1116 Kill 1117 717: Label 1118 718: 7(fvec4) Load 9(color) 1119 719: 7(fvec4) CompositeConstruct 96 96 96 96 1120 720: 7(fvec4) FAdd 718 719 1121 Store 9(color) 720 1122 Branch 715 1123 715: Label 1124 Branch 704 1125 704: Label 1126 Branch 701 1127 703: Label 1128 721: 7(fvec4) Load 9(color) 1129 722: 7(fvec4) CompositeConstruct 96 96 96 96 1130 723: 7(fvec4) FAdd 721 722 1131 Store 9(color) 723 1132 724: 7(fvec4) Load 9(color) 1133 Store 615(gl_FragColor) 724 1134 Return 1135 FunctionEnd 1136