spv.Operations.frag // Module Version 10000 // Generated by (magic number): 8000b // Id's are bound by 596 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" 11 22 225 301 319 552 593 ExecutionMode 4 OriginUpperLeft Source GLSL 450 Name 4 "main" Name 9 "v" Name 11 "uv4" Name 20 "i" Name 22 "ui" Name 151 "ResType" Name 158 "swizzleTemp" Name 194 "ub41" Name 201 "f" Name 225 "uf" Name 298 "u" Name 301 "uui" Name 319 "uuv4" Name 326 "msb" Name 328 "swizzleTemp" Name 329 "lsb" Name 330 "swizzleTemp" Name 331 "ResType" Name 372 "b" Name 409 "ub42" Name 552 "FragColor" Name 570 "m1" Name 577 "m2" Name 593 "uiv4" Name 595 "ub" Decorate 11(uv4) Location 1 Decorate 22(ui) Flat Decorate 22(ui) Location 3 Decorate 225(uf) Location 2 Decorate 301(uui) Flat Decorate 301(uui) Location 5 Decorate 319(uuv4) Flat Decorate 319(uuv4) Location 4 Decorate 552(FragColor) Location 0 Decorate 593(uiv4) Flat Decorate 593(uiv4) Location 0 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypeVector 6(float) 4 8: TypePointer Function 7(fvec4) 10: TypePointer Input 7(fvec4) 11(uv4): 10(ptr) Variable Input 18: TypeInt 32 1 19: TypePointer Function 18(int) 21: TypePointer Input 18(int) 22(ui): 21(ptr) Variable Input 141: TypeInt 32 0 142: 141(int) Constant 0 143: TypePointer Function 6(float) 151(ResType): TypeStruct 7(fvec4) 7(fvec4) 191: TypeBool 192: TypeVector 191(bool) 4 193: TypePointer Private 192(bvec4) 194(ub41): 193(ptr) Variable Private 224: TypePointer Input 6(float) 225(uf): 224(ptr) Variable Input 297: TypePointer Function 141(int) 300: TypePointer Input 141(int) 301(uui): 300(ptr) Variable Input 317: TypeVector 141(int) 4 318: TypePointer Input 317(ivec4) 319(uuv4): 318(ptr) Variable Input 320: TypeVector 141(int) 3 325: TypePointer Function 317(ivec4) 327: TypePointer Function 320(ivec3) 331(ResType): TypeStruct 320(ivec3) 320(ivec3) 338: 141(int) Constant 1 341: 141(int) Constant 2 371: TypePointer Function 191(bool) 409(ub42): 193(ptr) Variable Private 465: 18(int) Constant 2 472: 18(int) Constant 1 502: TypeVector 6(float) 3 521: 6(float) Constant 1073741824 528: 6(float) Constant 1065353216 533: 18(int) Constant 66 539: 18(int) Constant 17 551: TypePointer Output 7(fvec4) 552(FragColor): 551(ptr) Variable Output 568: TypeMatrix 7(fvec4) 4 569: TypePointer Function 568 571: 6(float) Constant 0 572: 7(fvec4) ConstantComposite 528 571 571 571 573: 7(fvec4) ConstantComposite 571 528 571 571 574: 7(fvec4) ConstantComposite 571 571 528 571 575: 7(fvec4) ConstantComposite 571 571 571 528 576: 568 ConstantComposite 572 573 574 575 578: 7(fvec4) ConstantComposite 571 571 571 571 579: 568 ConstantComposite 578 578 578 578 591: TypeVector 18(int) 4 592: TypePointer Input 591(ivec4) 593(uiv4): 592(ptr) Variable Input 594: TypePointer Private 191(bool) 595(ub): 594(ptr) Variable Private 4(main): 2 Function None 3 5: Label 9(v): 8(ptr) Variable Function 20(i): 19(ptr) Variable Function 158(swizzleTemp): 8(ptr) Variable Function 201(f): 143(ptr) Variable Function 298(u): 297(ptr) Variable Function 326(msb): 325(ptr) Variable Function 328(swizzleTemp): 327(ptr) Variable Function 329(lsb): 325(ptr) Variable Function 330(swizzleTemp): 327(ptr) Variable Function 372(b): 371(ptr) Variable Function 554: 8(ptr) Variable Function 570(m1): 569(ptr) Variable Function 577(m2): 569(ptr) Variable Function 581: 569(ptr) Variable Function 12: 7(fvec4) Load 11(uv4) 13: 7(fvec4) ExtInst 1(GLSL.std.450) 11(Radians) 12 Store 9(v) 13 14: 7(fvec4) Load 9(v) 15: 7(fvec4) ExtInst 1(GLSL.std.450) 12(Degrees) 14 16: 7(fvec4) Load 9(v) 17: 7(fvec4) FAdd 16 15 Store 9(v) 17 23: 18(int) Load 22(ui) 24: 18(int) Load 22(ui) 25: 18(int) IMul 23 24 Store 20(i) 25 26: 7(fvec4) Load 9(v) 27: 7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 26 28: 7(fvec4) Load 9(v) 29: 7(fvec4) FAdd 28 27 Store 9(v) 29 30: 7(fvec4) Load 9(v) 31: 7(fvec4) ExtInst 1(GLSL.std.450) 14(Cos) 30 32: 7(fvec4) Load 9(v) 33: 7(fvec4) FAdd 32 31 Store 9(v) 33 34: 7(fvec4) Load 9(v) 35: 7(fvec4) ExtInst 1(GLSL.std.450) 15(Tan) 34 36: 7(fvec4) Load 9(v) 37: 7(fvec4) FAdd 36 35 Store 9(v) 37 38: 7(fvec4) Load 9(v) 39: 7(fvec4) ExtInst 1(GLSL.std.450) 16(Asin) 38 40: 7(fvec4) Load 9(v) 41: 7(fvec4) FAdd 40 39 Store 9(v) 41 42: 7(fvec4) Load 9(v) 43: 7(fvec4) ExtInst 1(GLSL.std.450) 17(Acos) 42 44: 7(fvec4) Load 9(v) 45: 7(fvec4) FAdd 44 43 Store 9(v) 45 46: 7(fvec4) Load 9(v) 47: 7(fvec4) ExtInst 1(GLSL.std.450) 18(Atan) 46 48: 7(fvec4) Load 9(v) 49: 7(fvec4) FAdd 48 47 Store 9(v) 49 50: 7(fvec4) Load 9(v) 51: 7(fvec4) ExtInst 1(GLSL.std.450) 19(Sinh) 50 52: 7(fvec4) Load 9(v) 53: 7(fvec4) FAdd 52 51 Store 9(v) 53 54: 7(fvec4) Load 9(v) 55: 7(fvec4) ExtInst 1(GLSL.std.450) 20(Cosh) 54 56: 7(fvec4) Load 9(v) 57: 7(fvec4) FAdd 56 55 Store 9(v) 57 58: 7(fvec4) Load 9(v) 59: 7(fvec4) ExtInst 1(GLSL.std.450) 21(Tanh) 58 60: 7(fvec4) Load 9(v) 61: 7(fvec4) FAdd 60 59 Store 9(v) 61 62: 7(fvec4) Load 9(v) 63: 7(fvec4) ExtInst 1(GLSL.std.450) 22(Asinh) 62 64: 7(fvec4) Load 9(v) 65: 7(fvec4) FAdd 64 63 Store 9(v) 65 66: 7(fvec4) Load 9(v) 67: 7(fvec4) ExtInst 1(GLSL.std.450) 23(Acosh) 66 68: 7(fvec4) Load 9(v) 69: 7(fvec4) FAdd 68 67 Store 9(v) 69 70: 7(fvec4) Load 9(v) 71: 7(fvec4) ExtInst 1(GLSL.std.450) 24(Atanh) 70 72: 7(fvec4) Load 9(v) 73: 7(fvec4) FAdd 72 71 Store 9(v) 73 74: 7(fvec4) Load 9(v) 75: 7(fvec4) Load 9(v) 76: 7(fvec4) ExtInst 1(GLSL.std.450) 26(Pow) 74 75 77: 7(fvec4) Load 9(v) 78: 7(fvec4) FAdd 77 76 Store 9(v) 78 79: 7(fvec4) Load 9(v) 80: 7(fvec4) ExtInst 1(GLSL.std.450) 27(Exp) 79 81: 7(fvec4) Load 9(v) 82: 7(fvec4) FAdd 81 80 Store 9(v) 82 83: 7(fvec4) Load 9(v) 84: 7(fvec4) ExtInst 1(GLSL.std.450) 28(Log) 83 85: 7(fvec4) Load 9(v) 86: 7(fvec4) FAdd 85 84 Store 9(v) 86 87: 7(fvec4) Load 9(v) 88: 7(fvec4) ExtInst 1(GLSL.std.450) 29(Exp2) 87 89: 7(fvec4) Load 9(v) 90: 7(fvec4) FAdd 89 88 Store 9(v) 90 91: 7(fvec4) Load 9(v) 92: 7(fvec4) ExtInst 1(GLSL.std.450) 30(Log2) 91 93: 7(fvec4) Load 9(v) 94: 7(fvec4) FAdd 93 92 Store 9(v) 94 95: 7(fvec4) Load 9(v) 96: 7(fvec4) ExtInst 1(GLSL.std.450) 31(Sqrt) 95 97: 7(fvec4) Load 9(v) 98: 7(fvec4) FAdd 97 96 Store 9(v) 98 99: 7(fvec4) Load 9(v) 100: 7(fvec4) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 99 101: 7(fvec4) Load 9(v) 102: 7(fvec4) FAdd 101 100 Store 9(v) 102 103: 7(fvec4) Load 9(v) 104: 7(fvec4) ExtInst 1(GLSL.std.450) 4(FAbs) 103 105: 7(fvec4) Load 9(v) 106: 7(fvec4) FAdd 105 104 Store 9(v) 106 107: 7(fvec4) Load 9(v) 108: 7(fvec4) ExtInst 1(GLSL.std.450) 6(FSign) 107 109: 7(fvec4) Load 9(v) 110: 7(fvec4) FAdd 109 108 Store 9(v) 110 111: 7(fvec4) Load 9(v) 112: 7(fvec4) ExtInst 1(GLSL.std.450) 8(Floor) 111 113: 7(fvec4) Load 9(v) 114: 7(fvec4) FAdd 113 112 Store 9(v) 114 115: 7(fvec4) Load 9(v) 116: 7(fvec4) ExtInst 1(GLSL.std.450) 3(Trunc) 115 117: 7(fvec4) Load 9(v) 118: 7(fvec4) FAdd 117 116 Store 9(v) 118 119: 7(fvec4) Load 9(v) 120: 7(fvec4) ExtInst 1(GLSL.std.450) 1(Round) 119 121: 7(fvec4) Load 9(v) 122: 7(fvec4) FAdd 121 120 Store 9(v) 122 123: 7(fvec4) Load 9(v) 124: 7(fvec4) ExtInst 1(GLSL.std.450) 2(RoundEven) 123 125: 7(fvec4) Load 9(v) 126: 7(fvec4) FAdd 125 124 Store 9(v) 126 127: 7(fvec4) Load 9(v) 128: 7(fvec4) ExtInst 1(GLSL.std.450) 9(Ceil) 127 129: 7(fvec4) Load 9(v) 130: 7(fvec4) FAdd 129 128 Store 9(v) 130 131: 7(fvec4) Load 9(v) 132: 7(fvec4) ExtInst 1(GLSL.std.450) 10(Fract) 131 133: 7(fvec4) Load 9(v) 134: 7(fvec4) FAdd 133 132 Store 9(v) 134 135: 7(fvec4) Load 9(v) 136: 7(fvec4) Load 9(v) 137: 7(fvec4) FMod 135 136 138: 7(fvec4) Load 9(v) 139: 7(fvec4) FAdd 138 137 Store 9(v) 139 140: 7(fvec4) Load 9(v) 144: 143(ptr) AccessChain 9(v) 142 145: 6(float) Load 144 146: 7(fvec4) CompositeConstruct 145 145 145 145 147: 7(fvec4) FMod 140 146 148: 7(fvec4) Load 9(v) 149: 7(fvec4) FAdd 148 147 Store 9(v) 149 150: 7(fvec4) Load 9(v) 152:151(ResType) ExtInst 1(GLSL.std.450) 36(ModfStruct) 150 153: 7(fvec4) CompositeExtract 152 1 Store 9(v) 153 154: 7(fvec4) CompositeExtract 152 0 155: 7(fvec4) Load 9(v) 156: 7(fvec4) FAdd 155 154 Store 9(v) 156 157: 7(fvec4) Load 9(v) 159:151(ResType) ExtInst 1(GLSL.std.450) 36(ModfStruct) 157 160: 7(fvec4) CompositeExtract 159 1 Store 158(swizzleTemp) 160 161: 7(fvec4) CompositeExtract 159 0 162: 7(fvec4) Load 158(swizzleTemp) 163: 7(fvec4) Load 9(v) 164: 7(fvec4) VectorShuffle 163 162 6 4 5 7 Store 9(v) 164 165: 7(fvec4) Load 9(v) 166: 7(fvec4) FAdd 165 161 Store 9(v) 166 167: 7(fvec4) Load 9(v) 168: 7(fvec4) Load 11(uv4) 169: 7(fvec4) ExtInst 1(GLSL.std.450) 37(FMin) 167 168 170: 7(fvec4) Load 9(v) 171: 7(fvec4) FAdd 170 169 Store 9(v) 171 172: 7(fvec4) Load 9(v) 173: 7(fvec4) Load 11(uv4) 174: 7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 172 173 175: 7(fvec4) Load 9(v) 176: 7(fvec4) FAdd 175 174 Store 9(v) 176 177: 7(fvec4) Load 9(v) 178: 7(fvec4) Load 11(uv4) 179: 7(fvec4) Load 11(uv4) 180: 7(fvec4) ExtInst 1(GLSL.std.450) 43(FClamp) 177 178 179 181: 7(fvec4) Load 9(v) 182: 7(fvec4) FAdd 181 180 Store 9(v) 182 183: 7(fvec4) Load 9(v) 184: 7(fvec4) Load 9(v) 185: 7(fvec4) Load 9(v) 186: 7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 183 184 185 187: 7(fvec4) Load 9(v) 188: 7(fvec4) FAdd 187 186 Store 9(v) 188 189: 7(fvec4) Load 9(v) 190: 7(fvec4) Load 9(v) 195: 192(bvec4) Load 194(ub41) 196: 7(fvec4) Select 195 190 189 197: 7(fvec4) Load 9(v) 198: 7(fvec4) FAdd 197 196 Store 9(v) 198 199: 7(fvec4) Load 9(v) 200: 7(fvec4) Load 9(v) 202: 6(float) Load 201(f) 203: 7(fvec4) CompositeConstruct 202 202 202 202 204: 7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 199 200 203 205: 7(fvec4) Load 9(v) 206: 7(fvec4) FAdd 205 204 Store 9(v) 206 207: 7(fvec4) Load 9(v) 208: 7(fvec4) Load 11(uv4) 209: 7(fvec4) Load 9(v) 210: 7(fvec4) ExtInst 1(GLSL.std.450) 50(Fma) 207 208 209 211: 7(fvec4) Load 9(v) 212: 7(fvec4) FAdd 211 210 Store 9(v) 212 213: 7(fvec4) Load 9(v) 214: 7(fvec4) Load 9(v) 215: 7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 213 214 216: 7(fvec4) Load 9(v) 217: 7(fvec4) FAdd 216 215 Store 9(v) 217 218: 7(fvec4) Load 9(v) 219: 7(fvec4) Load 9(v) 220: 7(fvec4) Load 9(v) 221: 7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 218 219 220 222: 7(fvec4) Load 9(v) 223: 7(fvec4) FAdd 222 221 Store 9(v) 223 226: 6(float) Load 225(uf) 227: 7(fvec4) Load 9(v) 228: 7(fvec4) CompositeConstruct 226 226 226 226 229: 7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 228 227 230: 7(fvec4) Load 9(v) 231: 7(fvec4) FAdd 230 229 Store 9(v) 231 232: 6(float) Load 225(uf) 233: 6(float) Load 225(uf) 234: 7(fvec4) Load 9(v) 235: 7(fvec4) CompositeConstruct 232 232 232 232 236: 7(fvec4) CompositeConstruct 233 233 233 233 237: 7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 235 236 234 238: 7(fvec4) Load 9(v) 239: 7(fvec4) FAdd 238 237 Store 9(v) 239 240: 7(fvec4) Load 9(v) 241: 7(fvec4) ExtInst 1(GLSL.std.450) 69(Normalize) 240 242: 7(fvec4) Load 9(v) 243: 7(fvec4) FAdd 242 241 Store 9(v) 243 244: 7(fvec4) Load 9(v) 245: 7(fvec4) Load 9(v) 246: 7(fvec4) Load 9(v) 247: 7(fvec4) ExtInst 1(GLSL.std.450) 70(FaceForward) 244 245 246 248: 7(fvec4) Load 9(v) 249: 7(fvec4) FAdd 248 247 Store 9(v) 249 250: 7(fvec4) Load 9(v) 251: 7(fvec4) Load 9(v) 252: 7(fvec4) ExtInst 1(GLSL.std.450) 71(Reflect) 250 251 253: 7(fvec4) Load 9(v) 254: 7(fvec4) FAdd 253 252 Store 9(v) 254 255: 7(fvec4) Load 9(v) 256: 7(fvec4) Load 9(v) 257: 6(float) Load 225(uf) 258: 7(fvec4) ExtInst 1(GLSL.std.450) 72(Refract) 255 256 257 259: 7(fvec4) Load 9(v) 260: 7(fvec4) FAdd 259 258 Store 9(v) 260 261: 7(fvec4) Load 9(v) 262: 7(fvec4) DPdx 261 263: 7(fvec4) Load 9(v) 264: 7(fvec4) FAdd 263 262 Store 9(v) 264 265: 7(fvec4) Load 9(v) 266: 7(fvec4) DPdy 265 267: 7(fvec4) Load 9(v) 268: 7(fvec4) FAdd 267 266 Store 9(v) 268 269: 7(fvec4) Load 9(v) 270: 7(fvec4) Fwidth 269 271: 7(fvec4) Load 9(v) 272: 7(fvec4) FAdd 271 270 Store 9(v) 272 273: 18(int) Load 22(ui) 274: 18(int) ExtInst 1(GLSL.std.450) 5(SAbs) 273 275: 18(int) Load 20(i) 276: 18(int) IAdd 275 274 Store 20(i) 276 277: 18(int) Load 20(i) 278: 18(int) ExtInst 1(GLSL.std.450) 7(SSign) 277 279: 18(int) Load 20(i) 280: 18(int) IAdd 279 278 Store 20(i) 280 281: 18(int) Load 20(i) 282: 18(int) Load 22(ui) 283: 18(int) ExtInst 1(GLSL.std.450) 39(SMin) 281 282 284: 18(int) Load 20(i) 285: 18(int) IAdd 284 283 Store 20(i) 285 286: 18(int) Load 20(i) 287: 18(int) Load 22(ui) 288: 18(int) ExtInst 1(GLSL.std.450) 42(SMax) 286 287 289: 18(int) Load 20(i) 290: 18(int) IAdd 289 288 Store 20(i) 290 291: 18(int) Load 20(i) 292: 18(int) Load 22(ui) 293: 18(int) Load 22(ui) 294: 18(int) ExtInst 1(GLSL.std.450) 45(SClamp) 291 292 293 295: 18(int) Load 20(i) 296: 18(int) IAdd 295 294 Store 20(i) 296 299: 141(int) Load 298(u) 302: 141(int) Load 301(uui) 303: 141(int) ExtInst 1(GLSL.std.450) 38(UMin) 299 302 304: 141(int) Load 298(u) 305: 141(int) IAdd 304 303 Store 298(u) 305 306: 141(int) Load 298(u) 307: 141(int) Load 301(uui) 308: 141(int) ExtInst 1(GLSL.std.450) 41(UMax) 306 307 309: 141(int) Load 298(u) 310: 141(int) IAdd 309 308 Store 298(u) 310 311: 141(int) Load 298(u) 312: 141(int) Load 301(uui) 313: 141(int) Load 301(uui) 314: 141(int) ExtInst 1(GLSL.std.450) 44(UClamp) 311 312 313 315: 141(int) Load 298(u) 316: 141(int) IAdd 315 314 Store 298(u) 316 321: 317(ivec4) Load 319(uuv4) 322: 320(ivec3) VectorShuffle 321 321 0 1 2 323: 317(ivec4) Load 319(uuv4) 324: 320(ivec3) VectorShuffle 323 323 0 1 2 332:331(ResType) UMulExtended 322 324 333: 320(ivec3) CompositeExtract 332 0 Store 330(swizzleTemp) 333 334: 320(ivec3) CompositeExtract 332 1 Store 328(swizzleTemp) 334 335: 320(ivec3) Load 328(swizzleTemp) 336: 297(ptr) AccessChain 326(msb) 142 337: 141(int) CompositeExtract 335 0 Store 336 337 339: 297(ptr) AccessChain 326(msb) 338 340: 141(int) CompositeExtract 335 1 Store 339 340 342: 297(ptr) AccessChain 326(msb) 341 343: 141(int) CompositeExtract 335 2 Store 342 343 344: 320(ivec3) Load 330(swizzleTemp) 345: 297(ptr) AccessChain 329(lsb) 142 346: 141(int) CompositeExtract 344 0 Store 345 346 347: 297(ptr) AccessChain 329(lsb) 338 348: 141(int) CompositeExtract 344 1 Store 347 348 349: 297(ptr) AccessChain 329(lsb) 341 350: 141(int) CompositeExtract 344 2 Store 349 350 351: 297(ptr) AccessChain 326(msb) 142 352: 141(int) Load 351 353: 297(ptr) AccessChain 326(msb) 338 354: 141(int) Load 353 355: 141(int) IAdd 352 354 356: 297(ptr) AccessChain 326(msb) 341 357: 141(int) Load 356 358: 141(int) IAdd 355 357 359: 141(int) Load 298(u) 360: 141(int) IAdd 359 358 Store 298(u) 360 361: 297(ptr) AccessChain 329(lsb) 142 362: 141(int) Load 361 363: 297(ptr) AccessChain 329(lsb) 338 364: 141(int) Load 363 365: 141(int) IAdd 362 364 366: 297(ptr) AccessChain 329(lsb) 341 367: 141(int) Load 366 368: 141(int) IAdd 365 367 369: 141(int) Load 298(u) 370: 141(int) IAdd 369 368 Store 298(u) 370 373: 6(float) Load 225(uf) 374: 191(bool) IsNan 373 Store 372(b) 374 375: 6(float) Load 201(f) 376: 191(bool) IsInf 375 Store 372(b) 376 377: 7(fvec4) Load 9(v) 378: 7(fvec4) Load 11(uv4) 379: 192(bvec4) FOrdLessThan 377 378 380: 191(bool) Any 379 Store 372(b) 380 381: 191(bool) Load 372(b) SelectionMerge 383 None BranchConditional 381 382 383 382: Label 384: 7(fvec4) Load 9(v) 385: 7(fvec4) Load 11(uv4) 386: 192(bvec4) FOrdLessThanEqual 384 385 387: 191(bool) Any 386 Branch 383 383: Label 388: 191(bool) Phi 381 5 387 382 Store 372(b) 388 389: 191(bool) Load 372(b) SelectionMerge 391 None BranchConditional 389 390 391 390: Label 392: 7(fvec4) Load 9(v) 393: 7(fvec4) Load 11(uv4) 394: 192(bvec4) FOrdGreaterThan 392 393 395: 191(bool) Any 394 Branch 391 391: Label 396: 191(bool) Phi 389 383 395 390 Store 372(b) 396 397: 191(bool) Load 372(b) SelectionMerge 399 None BranchConditional 397 398 399 398: Label 400: 7(fvec4) Load 9(v) 401: 7(fvec4) Load 11(uv4) 402: 192(bvec4) FOrdGreaterThanEqual 400 401 403: 191(bool) Any 402 Branch 399 399: Label 404: 191(bool) Phi 397 391 403 398 Store 372(b) 404 405: 191(bool) Load 372(b) SelectionMerge 407 None BranchConditional 405 406 407 406: Label 408: 192(bvec4) Load 194(ub41) 410: 192(bvec4) Load 409(ub42) 411: 192(bvec4) LogicalEqual 408 410 412: 191(bool) Any 411 Branch 407 407: Label 413: 191(bool) Phi 405 399 412 406 Store 372(b) 413 414: 191(bool) Load 372(b) SelectionMerge 416 None BranchConditional 414 415 416 415: Label 417: 192(bvec4) Load 194(ub41) 418: 192(bvec4) Load 409(ub42) 419: 192(bvec4) LogicalNotEqual 417 418 420: 191(bool) Any 419 Branch 416 416: Label 421: 191(bool) Phi 414 407 420 415 Store 372(b) 421 422: 191(bool) Load 372(b) 423: 192(bvec4) Load 194(ub41) 424: 191(bool) Any 423 425: 191(bool) LogicalAnd 422 424 Store 372(b) 425 426: 191(bool) Load 372(b) 427: 192(bvec4) Load 194(ub41) 428: 191(bool) All 427 429: 191(bool) LogicalAnd 426 428 Store 372(b) 429 430: 191(bool) Load 372(b) SelectionMerge 432 None BranchConditional 430 431 432 431: Label 433: 192(bvec4) Load 194(ub41) 434: 192(bvec4) LogicalNot 433 435: 191(bool) Any 434 Branch 432 432: Label 436: 191(bool) Phi 430 416 435 431 Store 372(b) 436 437: 18(int) Load 20(i) 438: 18(int) Load 22(ui) 439: 18(int) IAdd 437 438 440: 18(int) Load 20(i) 441: 18(int) IMul 439 440 442: 18(int) Load 22(ui) 443: 18(int) ISub 441 442 444: 18(int) Load 20(i) 445: 18(int) SDiv 443 444 Store 20(i) 445 446: 18(int) Load 20(i) 447: 18(int) Load 22(ui) 448: 18(int) SMod 446 447 Store 20(i) 448 449: 18(int) Load 20(i) 450: 18(int) Load 22(ui) 451: 191(bool) IEqual 449 450 452: 191(bool) LogicalNot 451 SelectionMerge 454 None BranchConditional 452 453 454 453: Label 455: 18(int) Load 20(i) 456: 18(int) Load 22(ui) 457: 191(bool) INotEqual 455 456 SelectionMerge 459 None BranchConditional 457 458 459 458: Label 460: 18(int) Load 20(i) 461: 18(int) Load 22(ui) 462: 191(bool) IEqual 460 461 Branch 459 459: Label 463: 191(bool) Phi 457 453 462 458 464: 18(int) Load 20(i) 466: 191(bool) INotEqual 464 465 467: 191(bool) LogicalNotEqual 463 466 Branch 454 454: Label 468: 191(bool) Phi 451 432 467 459 SelectionMerge 470 None BranchConditional 468 469 470 469: Label 471: 18(int) Load 20(i) 473: 18(int) IAdd 471 472 Store 20(i) 473 Branch 470 470: Label 474: 6(float) Load 225(uf) 475: 6(float) Load 225(uf) 476: 6(float) FAdd 474 475 477: 6(float) Load 225(uf) 478: 6(float) FMul 476 477 479: 6(float) Load 225(uf) 480: 6(float) FSub 478 479 481: 6(float) Load 225(uf) 482: 6(float) FDiv 480 481 Store 201(f) 482 483: 7(fvec4) Load 9(v) 484: 6(float) ExtInst 1(GLSL.std.450) 66(Length) 483 485: 6(float) Load 201(f) 486: 6(float) FAdd 485 484 Store 201(f) 486 487: 7(fvec4) Load 9(v) 488: 7(fvec4) Load 9(v) 489: 6(float) ExtInst 1(GLSL.std.450) 67(Distance) 487 488 490: 6(float) Load 201(f) 491: 6(float) FAdd 490 489 Store 201(f) 491 492: 7(fvec4) Load 9(v) 493: 7(fvec4) Load 9(v) 494: 6(float) Dot 492 493 495: 6(float) Load 201(f) 496: 6(float) FAdd 495 494 Store 201(f) 496 497: 6(float) Load 201(f) 498: 6(float) Load 225(uf) 499: 6(float) FMul 497 498 500: 6(float) Load 201(f) 501: 6(float) FAdd 500 499 Store 201(f) 501 503: 7(fvec4) Load 9(v) 504: 502(fvec3) VectorShuffle 503 503 0 1 2 505: 7(fvec4) Load 9(v) 506: 502(fvec3) VectorShuffle 505 505 0 1 2 507: 502(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 504 506 508: 6(float) CompositeExtract 507 0 509: 6(float) Load 201(f) 510: 6(float) FAdd 509 508 Store 201(f) 510 511: 6(float) Load 201(f) 512: 6(float) Load 225(uf) 513: 191(bool) FOrdEqual 511 512 514: 191(bool) LogicalNot 513 SelectionMerge 516 None BranchConditional 514 515 516 515: Label 517: 6(float) Load 201(f) 518: 6(float) Load 225(uf) 519: 191(bool) FUnordNotEqual 517 518 520: 6(float) Load 201(f) 522: 191(bool) FUnordNotEqual 520 521 523: 191(bool) LogicalAnd 519 522 Branch 516 516: Label 524: 191(bool) Phi 513 470 523 515 SelectionMerge 526 None BranchConditional 524 525 526 525: Label 527: 6(float) Load 201(f) 529: 6(float) FAdd 527 528 Store 201(f) 529 Branch 526 526: Label 530: 18(int) Load 22(ui) 531: 18(int) Load 20(i) 532: 18(int) BitwiseAnd 531 530 Store 20(i) 532 534: 18(int) Load 20(i) 535: 18(int) BitwiseOr 534 533 Store 20(i) 535 536: 18(int) Load 22(ui) 537: 18(int) Load 20(i) 538: 18(int) BitwiseXor 537 536 Store 20(i) 538 540: 18(int) Load 20(i) 541: 18(int) SMod 540 539 Store 20(i) 541 542: 18(int) Load 20(i) 543: 18(int) ShiftRightArithmetic 542 465 Store 20(i) 543 544: 18(int) Load 22(ui) 545: 18(int) Load 20(i) 546: 18(int) ShiftLeftLogical 545 544 Store 20(i) 546 547: 18(int) Load 20(i) 548: 18(int) Not 547 Store 20(i) 548 549: 191(bool) Load 372(b) 550: 191(bool) LogicalNot 549 Store 372(b) 550 553: 191(bool) Load 372(b) SelectionMerge 556 None BranchConditional 553 555 565 555: Label 557: 18(int) Load 20(i) 558: 6(float) ConvertSToF 557 559: 7(fvec4) CompositeConstruct 558 558 558 558 560: 6(float) Load 201(f) 561: 7(fvec4) CompositeConstruct 560 560 560 560 562: 7(fvec4) FAdd 559 561 563: 7(fvec4) Load 9(v) 564: 7(fvec4) FAdd 562 563 Store 554 564 Branch 556 565: Label 566: 7(fvec4) Load 9(v) Store 554 566 Branch 556 556: Label 567: 7(fvec4) Load 554 Store 552(FragColor) 567 Store 570(m1) 576 Store 577(m2) 579 580: 191(bool) Load 372(b) SelectionMerge 583 None BranchConditional 580 582 585 582: Label 584: 568 Load 570(m1) Store 581 584 Branch 583 585: Label 586: 568 Load 577(m2) Store 581 586 Branch 583 583: Label 587: 8(ptr) AccessChain 581 472 588: 7(fvec4) Load 587 589: 7(fvec4) Load 552(FragColor) 590: 7(fvec4) FAdd 589 588 Store 552(FragColor) 590 Return FunctionEnd