spv.loopsArtificial.frag
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 158

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 11 17 27 80 140 142 143 144 145 146 147 148 149 150 151 152 153 154 157
                              ExecutionMode 4 OriginUpperLeft
                              Source GLSL 140
                              Name 4  "main"
                              Name 9  "color"
                              Name 11  "BaseColor"
                              Name 17  "bigColor4"
                              Name 27  "d4"
                              Name 80  "d13"
                              Name 140  "gl_FragColor"
                              Name 142  "bigColor"
                              Name 143  "bigColor1_1"
                              Name 144  "bigColor1_2"
                              Name 145  "bigColor1_3"
                              Name 146  "bigColor2"
                              Name 147  "bigColor3"
                              Name 148  "bigColor5"
                              Name 149  "bigColor6"
                              Name 150  "bigColor7"
                              Name 151  "bigColor8"
                              Name 152  "d"
                              Name 153  "d2"
                              Name 154  "d3"
                              Name 157  "Count"
                              Decorate 140(gl_FragColor) Location 0
                              Decorate 157(Count) Flat
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypePointer Function 7(fvec4)
              10:             TypePointer Input 7(fvec4)
   11(BaseColor):     10(ptr) Variable Input
   17(bigColor4):     10(ptr) Variable Input
              21:             TypeInt 32 0
              22:     21(int) Constant 0
              23:             TypePointer Function 6(float)
              26:             TypePointer Input 6(float)
          27(d4):     26(ptr) Variable Input
              29:             TypeBool
              33:    6(float) Constant 1073741824
              34:     21(int) Constant 2
              47:    6(float) Constant 1065353216
              50:     21(int) Constant 1
              77:     21(int) Constant 3
         80(d13):     26(ptr) Variable Input
             139:             TypePointer Output 7(fvec4)
140(gl_FragColor):    139(ptr) Variable Output
   142(bigColor):     10(ptr) Variable Input
143(bigColor1_1):     10(ptr) Variable Input
144(bigColor1_2):     10(ptr) Variable Input
145(bigColor1_3):     10(ptr) Variable Input
  146(bigColor2):     10(ptr) Variable Input
  147(bigColor3):     10(ptr) Variable Input
  148(bigColor5):     10(ptr) Variable Input
  149(bigColor6):     10(ptr) Variable Input
  150(bigColor7):     10(ptr) Variable Input
  151(bigColor8):     10(ptr) Variable Input
          152(d):     26(ptr) Variable Input
         153(d2):     26(ptr) Variable Input
         154(d3):     26(ptr) Variable Input
             155:             TypeInt 32 1
             156:             TypePointer Input 155(int)
      157(Count):    156(ptr) Variable Input
         4(main):           2 Function None 3
               5:             Label
        9(color):      8(ptr) Variable Function
              12:    7(fvec4) Load 11(BaseColor)
                              Store 9(color) 12
                              Branch 13
              13:             Label
                              LoopMerge 15 16 None
                              Branch 14
              14:             Label
              18:    7(fvec4) Load 17(bigColor4)
              19:    7(fvec4) Load 9(color)
              20:    7(fvec4) FAdd 19 18
                              Store 9(color) 20
              24:     23(ptr) AccessChain 9(color) 22
              25:    6(float) Load 24
              28:    6(float) Load 27(d4)
              30:    29(bool) FOrdLessThan 25 28
                              SelectionMerge 32 None
                              BranchConditional 30 31 32
              31:               Label
              35:     23(ptr)   AccessChain 9(color) 34
              36:    6(float)   Load 35
              37:    6(float)   FAdd 36 33
              38:     23(ptr)   AccessChain 9(color) 34
                                Store 38 37
              39:     23(ptr)   AccessChain 9(color) 34
              40:    6(float)   Load 39
              41:    6(float)   Load 27(d4)
              42:    29(bool)   FOrdLessThan 40 41
                                SelectionMerge 44 None
                                BranchConditional 42 43 44
              43:                 Label
              45:     23(ptr)     AccessChain 9(color) 22
              46:    6(float)     Load 45
              48:    6(float)     FAdd 46 47
                                  Store 45 48
                                  Branch 16
              44:               Label
                                Branch 32
              32:             Label
              51:     23(ptr) AccessChain 9(color) 50
              52:    6(float) Load 51
              53:    6(float) Load 27(d4)
              54:    29(bool) FOrdLessThan 52 53
                              SelectionMerge 56 None
                              BranchConditional 54 55 62
              55:               Label
              57:    6(float)   Load 27(d4)
              58:     23(ptr)   AccessChain 9(color) 50
              59:    6(float)   Load 58
              60:    6(float)   FAdd 59 57
              61:     23(ptr)   AccessChain 9(color) 50
                                Store 61 60
                                Branch 56
              62:               Label
              63:    6(float)   Load 27(d4)
              64:     23(ptr)   AccessChain 9(color) 22
              65:    6(float)   Load 64
              66:    6(float)   FAdd 65 63
              67:     23(ptr)   AccessChain 9(color) 22
                                Store 67 66
                                Branch 56
              56:             Label
                              Branch 16
              16:             Label
              68:     23(ptr) AccessChain 9(color) 34
              69:    6(float) Load 68
              70:    6(float) Load 27(d4)
              71:    29(bool) FOrdLessThan 69 70
                              BranchConditional 71 13 15
              15:             Label
                              Branch 72
              72:             Label
                              LoopMerge 74 75 None
                              Branch 76
              76:             Label
              78:     23(ptr) AccessChain 9(color) 77
              79:    6(float) Load 78
              81:    6(float) Load 80(d13)
              82:    29(bool) FOrdLessThan 79 81
                              BranchConditional 82 73 74
              73:               Label
              83:     23(ptr)   AccessChain 9(color) 34
              84:    6(float)   Load 83
              85:    6(float)   Load 80(d13)
              86:    29(bool)   FOrdLessThan 84 85
                                SelectionMerge 88 None
                                BranchConditional 86 87 92
              87:                 Label
              89:    7(fvec4)     Load 9(color)
              90:    7(fvec4)     CompositeConstruct 47 47 47 47
              91:    7(fvec4)     FAdd 89 90
                                  Store 9(color) 91
                                  Branch 88
              92:                 Label
              93:    7(fvec4)     Load 9(color)
              94:    7(fvec4)     CompositeConstruct 47 47 47 47
              95:    7(fvec4)     FSub 93 94
                                  Store 9(color) 95
                                  Branch 88
              88:               Label
              96:    7(fvec4)   Load 17(bigColor4)
              97:    7(fvec4)   Load 9(color)
              98:    7(fvec4)   FAdd 97 96
                                Store 9(color) 98
              99:     23(ptr)   AccessChain 9(color) 22
             100:    6(float)   Load 99
             101:    6(float)   Load 27(d4)
             102:    29(bool)   FOrdLessThan 100 101
                                SelectionMerge 104 None
                                BranchConditional 102 103 104
             103:                 Label
             105:     23(ptr)     AccessChain 9(color) 34
             106:    6(float)     Load 105
             107:    6(float)     FAdd 106 33
             108:     23(ptr)     AccessChain 9(color) 34
                                  Store 108 107
             109:     23(ptr)     AccessChain 9(color) 34
             110:    6(float)     Load 109
             111:    6(float)     Load 27(d4)
             112:    29(bool)     FOrdLessThan 110 111
                                  SelectionMerge 114 None
                                  BranchConditional 112 113 114
             113:                   Label
             115:     23(ptr)       AccessChain 9(color) 22
             116:    6(float)       Load 115
             117:    6(float)       FAdd 116 47
                                    Store 115 117
                                    Branch 75
             114:                 Label
                                  Branch 104
             104:               Label
             119:     23(ptr)   AccessChain 9(color) 50
             120:    6(float)   Load 119
             121:    6(float)   Load 27(d4)
             122:    29(bool)   FOrdLessThan 120 121
                                SelectionMerge 124 None
                                BranchConditional 122 123 130
             123:                 Label
             125:    6(float)     Load 27(d4)
             126:     23(ptr)     AccessChain 9(color) 50
             127:    6(float)     Load 126
             128:    6(float)     FAdd 127 125
             129:     23(ptr)     AccessChain 9(color) 50
                                  Store 129 128
                                  Branch 124
             130:                 Label
             131:    6(float)     Load 27(d4)
             132:     23(ptr)     AccessChain 9(color) 22
             133:    6(float)     Load 132
             134:    6(float)     FAdd 133 131
             135:     23(ptr)     AccessChain 9(color) 22
                                  Store 135 134
                                  Branch 124
             124:               Label
                                Branch 75
              75:               Label
                                Branch 72
              74:             Label
             136:    7(fvec4) Load 9(color)
             137:    7(fvec4) CompositeConstruct 47 47 47 47
             138:    7(fvec4) FAdd 136 137
                              Store 9(color) 138
             141:    7(fvec4) Load 9(color)
                              Store 140(gl_FragColor) 141
                              Return
                              FunctionEnd
