1spv.Operations.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 596 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 11 22 225 301 319 552 593 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 450 12 Name 4 "main" 13 Name 9 "v" 14 Name 11 "uv4" 15 Name 20 "i" 16 Name 22 "ui" 17 Name 151 "ResType" 18 Name 158 "swizzleTemp" 19 Name 194 "ub41" 20 Name 201 "f" 21 Name 225 "uf" 22 Name 298 "u" 23 Name 301 "uui" 24 Name 319 "uuv4" 25 Name 326 "msb" 26 Name 328 "swizzleTemp" 27 Name 329 "lsb" 28 Name 330 "swizzleTemp" 29 Name 331 "ResType" 30 Name 372 "b" 31 Name 409 "ub42" 32 Name 552 "FragColor" 33 Name 570 "m1" 34 Name 577 "m2" 35 Name 593 "uiv4" 36 Name 595 "ub" 37 Decorate 11(uv4) Location 1 38 Decorate 22(ui) Flat 39 Decorate 22(ui) Location 3 40 Decorate 225(uf) Location 2 41 Decorate 301(uui) Flat 42 Decorate 301(uui) Location 5 43 Decorate 319(uuv4) Flat 44 Decorate 319(uuv4) Location 4 45 Decorate 552(FragColor) Location 0 46 Decorate 593(uiv4) Flat 47 Decorate 593(uiv4) Location 0 48 2: TypeVoid 49 3: TypeFunction 2 50 6: TypeFloat 32 51 7: TypeVector 6(float) 4 52 8: TypePointer Function 7(fvec4) 53 10: TypePointer Input 7(fvec4) 54 11(uv4): 10(ptr) Variable Input 55 18: TypeInt 32 1 56 19: TypePointer Function 18(int) 57 21: TypePointer Input 18(int) 58 22(ui): 21(ptr) Variable Input 59 141: TypeInt 32 0 60 142: 141(int) Constant 0 61 143: TypePointer Function 6(float) 62 151(ResType): TypeStruct 7(fvec4) 7(fvec4) 63 191: TypeBool 64 192: TypeVector 191(bool) 4 65 193: TypePointer Private 192(bvec4) 66 194(ub41): 193(ptr) Variable Private 67 224: TypePointer Input 6(float) 68 225(uf): 224(ptr) Variable Input 69 297: TypePointer Function 141(int) 70 300: TypePointer Input 141(int) 71 301(uui): 300(ptr) Variable Input 72 317: TypeVector 141(int) 4 73 318: TypePointer Input 317(ivec4) 74 319(uuv4): 318(ptr) Variable Input 75 320: TypeVector 141(int) 3 76 325: TypePointer Function 317(ivec4) 77 327: TypePointer Function 320(ivec3) 78 331(ResType): TypeStruct 320(ivec3) 320(ivec3) 79 338: 141(int) Constant 1 80 341: 141(int) Constant 2 81 371: TypePointer Function 191(bool) 82 409(ub42): 193(ptr) Variable Private 83 465: 18(int) Constant 2 84 472: 18(int) Constant 1 85 502: TypeVector 6(float) 3 86 521: 6(float) Constant 1073741824 87 528: 6(float) Constant 1065353216 88 533: 18(int) Constant 66 89 539: 18(int) Constant 17 90 551: TypePointer Output 7(fvec4) 91 552(FragColor): 551(ptr) Variable Output 92 568: TypeMatrix 7(fvec4) 4 93 569: TypePointer Function 568 94 571: 6(float) Constant 0 95 572: 7(fvec4) ConstantComposite 528 571 571 571 96 573: 7(fvec4) ConstantComposite 571 528 571 571 97 574: 7(fvec4) ConstantComposite 571 571 528 571 98 575: 7(fvec4) ConstantComposite 571 571 571 528 99 576: 568 ConstantComposite 572 573 574 575 100 578: 7(fvec4) ConstantComposite 571 571 571 571 101 579: 568 ConstantComposite 578 578 578 578 102 591: TypeVector 18(int) 4 103 592: TypePointer Input 591(ivec4) 104 593(uiv4): 592(ptr) Variable Input 105 594: TypePointer Private 191(bool) 106 595(ub): 594(ptr) Variable Private 107 4(main): 2 Function None 3 108 5: Label 109 9(v): 8(ptr) Variable Function 110 20(i): 19(ptr) Variable Function 111158(swizzleTemp): 8(ptr) Variable Function 112 201(f): 143(ptr) Variable Function 113 298(u): 297(ptr) Variable Function 114 326(msb): 325(ptr) Variable Function 115328(swizzleTemp): 327(ptr) Variable Function 116 329(lsb): 325(ptr) Variable Function 117330(swizzleTemp): 327(ptr) Variable Function 118 372(b): 371(ptr) Variable Function 119 554: 8(ptr) Variable Function 120 570(m1): 569(ptr) Variable Function 121 577(m2): 569(ptr) Variable Function 122 581: 569(ptr) Variable Function 123 12: 7(fvec4) Load 11(uv4) 124 13: 7(fvec4) ExtInst 1(GLSL.std.450) 11(Radians) 12 125 Store 9(v) 13 126 14: 7(fvec4) Load 9(v) 127 15: 7(fvec4) ExtInst 1(GLSL.std.450) 12(Degrees) 14 128 16: 7(fvec4) Load 9(v) 129 17: 7(fvec4) FAdd 16 15 130 Store 9(v) 17 131 23: 18(int) Load 22(ui) 132 24: 18(int) Load 22(ui) 133 25: 18(int) IMul 23 24 134 Store 20(i) 25 135 26: 7(fvec4) Load 9(v) 136 27: 7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 26 137 28: 7(fvec4) Load 9(v) 138 29: 7(fvec4) FAdd 28 27 139 Store 9(v) 29 140 30: 7(fvec4) Load 9(v) 141 31: 7(fvec4) ExtInst 1(GLSL.std.450) 14(Cos) 30 142 32: 7(fvec4) Load 9(v) 143 33: 7(fvec4) FAdd 32 31 144 Store 9(v) 33 145 34: 7(fvec4) Load 9(v) 146 35: 7(fvec4) ExtInst 1(GLSL.std.450) 15(Tan) 34 147 36: 7(fvec4) Load 9(v) 148 37: 7(fvec4) FAdd 36 35 149 Store 9(v) 37 150 38: 7(fvec4) Load 9(v) 151 39: 7(fvec4) ExtInst 1(GLSL.std.450) 16(Asin) 38 152 40: 7(fvec4) Load 9(v) 153 41: 7(fvec4) FAdd 40 39 154 Store 9(v) 41 155 42: 7(fvec4) Load 9(v) 156 43: 7(fvec4) ExtInst 1(GLSL.std.450) 17(Acos) 42 157 44: 7(fvec4) Load 9(v) 158 45: 7(fvec4) FAdd 44 43 159 Store 9(v) 45 160 46: 7(fvec4) Load 9(v) 161 47: 7(fvec4) ExtInst 1(GLSL.std.450) 18(Atan) 46 162 48: 7(fvec4) Load 9(v) 163 49: 7(fvec4) FAdd 48 47 164 Store 9(v) 49 165 50: 7(fvec4) Load 9(v) 166 51: 7(fvec4) ExtInst 1(GLSL.std.450) 19(Sinh) 50 167 52: 7(fvec4) Load 9(v) 168 53: 7(fvec4) FAdd 52 51 169 Store 9(v) 53 170 54: 7(fvec4) Load 9(v) 171 55: 7(fvec4) ExtInst 1(GLSL.std.450) 20(Cosh) 54 172 56: 7(fvec4) Load 9(v) 173 57: 7(fvec4) FAdd 56 55 174 Store 9(v) 57 175 58: 7(fvec4) Load 9(v) 176 59: 7(fvec4) ExtInst 1(GLSL.std.450) 21(Tanh) 58 177 60: 7(fvec4) Load 9(v) 178 61: 7(fvec4) FAdd 60 59 179 Store 9(v) 61 180 62: 7(fvec4) Load 9(v) 181 63: 7(fvec4) ExtInst 1(GLSL.std.450) 22(Asinh) 62 182 64: 7(fvec4) Load 9(v) 183 65: 7(fvec4) FAdd 64 63 184 Store 9(v) 65 185 66: 7(fvec4) Load 9(v) 186 67: 7(fvec4) ExtInst 1(GLSL.std.450) 23(Acosh) 66 187 68: 7(fvec4) Load 9(v) 188 69: 7(fvec4) FAdd 68 67 189 Store 9(v) 69 190 70: 7(fvec4) Load 9(v) 191 71: 7(fvec4) ExtInst 1(GLSL.std.450) 24(Atanh) 70 192 72: 7(fvec4) Load 9(v) 193 73: 7(fvec4) FAdd 72 71 194 Store 9(v) 73 195 74: 7(fvec4) Load 9(v) 196 75: 7(fvec4) Load 9(v) 197 76: 7(fvec4) ExtInst 1(GLSL.std.450) 26(Pow) 74 75 198 77: 7(fvec4) Load 9(v) 199 78: 7(fvec4) FAdd 77 76 200 Store 9(v) 78 201 79: 7(fvec4) Load 9(v) 202 80: 7(fvec4) ExtInst 1(GLSL.std.450) 27(Exp) 79 203 81: 7(fvec4) Load 9(v) 204 82: 7(fvec4) FAdd 81 80 205 Store 9(v) 82 206 83: 7(fvec4) Load 9(v) 207 84: 7(fvec4) ExtInst 1(GLSL.std.450) 28(Log) 83 208 85: 7(fvec4) Load 9(v) 209 86: 7(fvec4) FAdd 85 84 210 Store 9(v) 86 211 87: 7(fvec4) Load 9(v) 212 88: 7(fvec4) ExtInst 1(GLSL.std.450) 29(Exp2) 87 213 89: 7(fvec4) Load 9(v) 214 90: 7(fvec4) FAdd 89 88 215 Store 9(v) 90 216 91: 7(fvec4) Load 9(v) 217 92: 7(fvec4) ExtInst 1(GLSL.std.450) 30(Log2) 91 218 93: 7(fvec4) Load 9(v) 219 94: 7(fvec4) FAdd 93 92 220 Store 9(v) 94 221 95: 7(fvec4) Load 9(v) 222 96: 7(fvec4) ExtInst 1(GLSL.std.450) 31(Sqrt) 95 223 97: 7(fvec4) Load 9(v) 224 98: 7(fvec4) FAdd 97 96 225 Store 9(v) 98 226 99: 7(fvec4) Load 9(v) 227 100: 7(fvec4) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 99 228 101: 7(fvec4) Load 9(v) 229 102: 7(fvec4) FAdd 101 100 230 Store 9(v) 102 231 103: 7(fvec4) Load 9(v) 232 104: 7(fvec4) ExtInst 1(GLSL.std.450) 4(FAbs) 103 233 105: 7(fvec4) Load 9(v) 234 106: 7(fvec4) FAdd 105 104 235 Store 9(v) 106 236 107: 7(fvec4) Load 9(v) 237 108: 7(fvec4) ExtInst 1(GLSL.std.450) 6(FSign) 107 238 109: 7(fvec4) Load 9(v) 239 110: 7(fvec4) FAdd 109 108 240 Store 9(v) 110 241 111: 7(fvec4) Load 9(v) 242 112: 7(fvec4) ExtInst 1(GLSL.std.450) 8(Floor) 111 243 113: 7(fvec4) Load 9(v) 244 114: 7(fvec4) FAdd 113 112 245 Store 9(v) 114 246 115: 7(fvec4) Load 9(v) 247 116: 7(fvec4) ExtInst 1(GLSL.std.450) 3(Trunc) 115 248 117: 7(fvec4) Load 9(v) 249 118: 7(fvec4) FAdd 117 116 250 Store 9(v) 118 251 119: 7(fvec4) Load 9(v) 252 120: 7(fvec4) ExtInst 1(GLSL.std.450) 1(Round) 119 253 121: 7(fvec4) Load 9(v) 254 122: 7(fvec4) FAdd 121 120 255 Store 9(v) 122 256 123: 7(fvec4) Load 9(v) 257 124: 7(fvec4) ExtInst 1(GLSL.std.450) 2(RoundEven) 123 258 125: 7(fvec4) Load 9(v) 259 126: 7(fvec4) FAdd 125 124 260 Store 9(v) 126 261 127: 7(fvec4) Load 9(v) 262 128: 7(fvec4) ExtInst 1(GLSL.std.450) 9(Ceil) 127 263 129: 7(fvec4) Load 9(v) 264 130: 7(fvec4) FAdd 129 128 265 Store 9(v) 130 266 131: 7(fvec4) Load 9(v) 267 132: 7(fvec4) ExtInst 1(GLSL.std.450) 10(Fract) 131 268 133: 7(fvec4) Load 9(v) 269 134: 7(fvec4) FAdd 133 132 270 Store 9(v) 134 271 135: 7(fvec4) Load 9(v) 272 136: 7(fvec4) Load 9(v) 273 137: 7(fvec4) FMod 135 136 274 138: 7(fvec4) Load 9(v) 275 139: 7(fvec4) FAdd 138 137 276 Store 9(v) 139 277 140: 7(fvec4) Load 9(v) 278 144: 143(ptr) AccessChain 9(v) 142 279 145: 6(float) Load 144 280 146: 7(fvec4) CompositeConstruct 145 145 145 145 281 147: 7(fvec4) FMod 140 146 282 148: 7(fvec4) Load 9(v) 283 149: 7(fvec4) FAdd 148 147 284 Store 9(v) 149 285 150: 7(fvec4) Load 9(v) 286 152:151(ResType) ExtInst 1(GLSL.std.450) 36(ModfStruct) 150 287 153: 7(fvec4) CompositeExtract 152 1 288 Store 9(v) 153 289 154: 7(fvec4) CompositeExtract 152 0 290 155: 7(fvec4) Load 9(v) 291 156: 7(fvec4) FAdd 155 154 292 Store 9(v) 156 293 157: 7(fvec4) Load 9(v) 294 159:151(ResType) ExtInst 1(GLSL.std.450) 36(ModfStruct) 157 295 160: 7(fvec4) CompositeExtract 159 1 296 Store 158(swizzleTemp) 160 297 161: 7(fvec4) CompositeExtract 159 0 298 162: 7(fvec4) Load 158(swizzleTemp) 299 163: 7(fvec4) Load 9(v) 300 164: 7(fvec4) VectorShuffle 163 162 6 4 5 7 301 Store 9(v) 164 302 165: 7(fvec4) Load 9(v) 303 166: 7(fvec4) FAdd 165 161 304 Store 9(v) 166 305 167: 7(fvec4) Load 9(v) 306 168: 7(fvec4) Load 11(uv4) 307 169: 7(fvec4) ExtInst 1(GLSL.std.450) 37(FMin) 167 168 308 170: 7(fvec4) Load 9(v) 309 171: 7(fvec4) FAdd 170 169 310 Store 9(v) 171 311 172: 7(fvec4) Load 9(v) 312 173: 7(fvec4) Load 11(uv4) 313 174: 7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 172 173 314 175: 7(fvec4) Load 9(v) 315 176: 7(fvec4) FAdd 175 174 316 Store 9(v) 176 317 177: 7(fvec4) Load 9(v) 318 178: 7(fvec4) Load 11(uv4) 319 179: 7(fvec4) Load 11(uv4) 320 180: 7(fvec4) ExtInst 1(GLSL.std.450) 43(FClamp) 177 178 179 321 181: 7(fvec4) Load 9(v) 322 182: 7(fvec4) FAdd 181 180 323 Store 9(v) 182 324 183: 7(fvec4) Load 9(v) 325 184: 7(fvec4) Load 9(v) 326 185: 7(fvec4) Load 9(v) 327 186: 7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 183 184 185 328 187: 7(fvec4) Load 9(v) 329 188: 7(fvec4) FAdd 187 186 330 Store 9(v) 188 331 189: 7(fvec4) Load 9(v) 332 190: 7(fvec4) Load 9(v) 333 195: 192(bvec4) Load 194(ub41) 334 196: 7(fvec4) Select 195 190 189 335 197: 7(fvec4) Load 9(v) 336 198: 7(fvec4) FAdd 197 196 337 Store 9(v) 198 338 199: 7(fvec4) Load 9(v) 339 200: 7(fvec4) Load 9(v) 340 202: 6(float) Load 201(f) 341 203: 7(fvec4) CompositeConstruct 202 202 202 202 342 204: 7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 199 200 203 343 205: 7(fvec4) Load 9(v) 344 206: 7(fvec4) FAdd 205 204 345 Store 9(v) 206 346 207: 7(fvec4) Load 9(v) 347 208: 7(fvec4) Load 11(uv4) 348 209: 7(fvec4) Load 9(v) 349 210: 7(fvec4) ExtInst 1(GLSL.std.450) 50(Fma) 207 208 209 350 211: 7(fvec4) Load 9(v) 351 212: 7(fvec4) FAdd 211 210 352 Store 9(v) 212 353 213: 7(fvec4) Load 9(v) 354 214: 7(fvec4) Load 9(v) 355 215: 7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 213 214 356 216: 7(fvec4) Load 9(v) 357 217: 7(fvec4) FAdd 216 215 358 Store 9(v) 217 359 218: 7(fvec4) Load 9(v) 360 219: 7(fvec4) Load 9(v) 361 220: 7(fvec4) Load 9(v) 362 221: 7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 218 219 220 363 222: 7(fvec4) Load 9(v) 364 223: 7(fvec4) FAdd 222 221 365 Store 9(v) 223 366 226: 6(float) Load 225(uf) 367 227: 7(fvec4) Load 9(v) 368 228: 7(fvec4) CompositeConstruct 226 226 226 226 369 229: 7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 228 227 370 230: 7(fvec4) Load 9(v) 371 231: 7(fvec4) FAdd 230 229 372 Store 9(v) 231 373 232: 6(float) Load 225(uf) 374 233: 6(float) Load 225(uf) 375 234: 7(fvec4) Load 9(v) 376 235: 7(fvec4) CompositeConstruct 232 232 232 232 377 236: 7(fvec4) CompositeConstruct 233 233 233 233 378 237: 7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 235 236 234 379 238: 7(fvec4) Load 9(v) 380 239: 7(fvec4) FAdd 238 237 381 Store 9(v) 239 382 240: 7(fvec4) Load 9(v) 383 241: 7(fvec4) ExtInst 1(GLSL.std.450) 69(Normalize) 240 384 242: 7(fvec4) Load 9(v) 385 243: 7(fvec4) FAdd 242 241 386 Store 9(v) 243 387 244: 7(fvec4) Load 9(v) 388 245: 7(fvec4) Load 9(v) 389 246: 7(fvec4) Load 9(v) 390 247: 7(fvec4) ExtInst 1(GLSL.std.450) 70(FaceForward) 244 245 246 391 248: 7(fvec4) Load 9(v) 392 249: 7(fvec4) FAdd 248 247 393 Store 9(v) 249 394 250: 7(fvec4) Load 9(v) 395 251: 7(fvec4) Load 9(v) 396 252: 7(fvec4) ExtInst 1(GLSL.std.450) 71(Reflect) 250 251 397 253: 7(fvec4) Load 9(v) 398 254: 7(fvec4) FAdd 253 252 399 Store 9(v) 254 400 255: 7(fvec4) Load 9(v) 401 256: 7(fvec4) Load 9(v) 402 257: 6(float) Load 225(uf) 403 258: 7(fvec4) ExtInst 1(GLSL.std.450) 72(Refract) 255 256 257 404 259: 7(fvec4) Load 9(v) 405 260: 7(fvec4) FAdd 259 258 406 Store 9(v) 260 407 261: 7(fvec4) Load 9(v) 408 262: 7(fvec4) DPdx 261 409 263: 7(fvec4) Load 9(v) 410 264: 7(fvec4) FAdd 263 262 411 Store 9(v) 264 412 265: 7(fvec4) Load 9(v) 413 266: 7(fvec4) DPdy 265 414 267: 7(fvec4) Load 9(v) 415 268: 7(fvec4) FAdd 267 266 416 Store 9(v) 268 417 269: 7(fvec4) Load 9(v) 418 270: 7(fvec4) Fwidth 269 419 271: 7(fvec4) Load 9(v) 420 272: 7(fvec4) FAdd 271 270 421 Store 9(v) 272 422 273: 18(int) Load 22(ui) 423 274: 18(int) ExtInst 1(GLSL.std.450) 5(SAbs) 273 424 275: 18(int) Load 20(i) 425 276: 18(int) IAdd 275 274 426 Store 20(i) 276 427 277: 18(int) Load 20(i) 428 278: 18(int) ExtInst 1(GLSL.std.450) 7(SSign) 277 429 279: 18(int) Load 20(i) 430 280: 18(int) IAdd 279 278 431 Store 20(i) 280 432 281: 18(int) Load 20(i) 433 282: 18(int) Load 22(ui) 434 283: 18(int) ExtInst 1(GLSL.std.450) 39(SMin) 281 282 435 284: 18(int) Load 20(i) 436 285: 18(int) IAdd 284 283 437 Store 20(i) 285 438 286: 18(int) Load 20(i) 439 287: 18(int) Load 22(ui) 440 288: 18(int) ExtInst 1(GLSL.std.450) 42(SMax) 286 287 441 289: 18(int) Load 20(i) 442 290: 18(int) IAdd 289 288 443 Store 20(i) 290 444 291: 18(int) Load 20(i) 445 292: 18(int) Load 22(ui) 446 293: 18(int) Load 22(ui) 447 294: 18(int) ExtInst 1(GLSL.std.450) 45(SClamp) 291 292 293 448 295: 18(int) Load 20(i) 449 296: 18(int) IAdd 295 294 450 Store 20(i) 296 451 299: 141(int) Load 298(u) 452 302: 141(int) Load 301(uui) 453 303: 141(int) ExtInst 1(GLSL.std.450) 38(UMin) 299 302 454 304: 141(int) Load 298(u) 455 305: 141(int) IAdd 304 303 456 Store 298(u) 305 457 306: 141(int) Load 298(u) 458 307: 141(int) Load 301(uui) 459 308: 141(int) ExtInst 1(GLSL.std.450) 41(UMax) 306 307 460 309: 141(int) Load 298(u) 461 310: 141(int) IAdd 309 308 462 Store 298(u) 310 463 311: 141(int) Load 298(u) 464 312: 141(int) Load 301(uui) 465 313: 141(int) Load 301(uui) 466 314: 141(int) ExtInst 1(GLSL.std.450) 44(UClamp) 311 312 313 467 315: 141(int) Load 298(u) 468 316: 141(int) IAdd 315 314 469 Store 298(u) 316 470 321: 317(ivec4) Load 319(uuv4) 471 322: 320(ivec3) VectorShuffle 321 321 0 1 2 472 323: 317(ivec4) Load 319(uuv4) 473 324: 320(ivec3) VectorShuffle 323 323 0 1 2 474 332:331(ResType) UMulExtended 322 324 475 333: 320(ivec3) CompositeExtract 332 0 476 Store 330(swizzleTemp) 333 477 334: 320(ivec3) CompositeExtract 332 1 478 Store 328(swizzleTemp) 334 479 335: 320(ivec3) Load 328(swizzleTemp) 480 336: 297(ptr) AccessChain 326(msb) 142 481 337: 141(int) CompositeExtract 335 0 482 Store 336 337 483 339: 297(ptr) AccessChain 326(msb) 338 484 340: 141(int) CompositeExtract 335 1 485 Store 339 340 486 342: 297(ptr) AccessChain 326(msb) 341 487 343: 141(int) CompositeExtract 335 2 488 Store 342 343 489 344: 320(ivec3) Load 330(swizzleTemp) 490 345: 297(ptr) AccessChain 329(lsb) 142 491 346: 141(int) CompositeExtract 344 0 492 Store 345 346 493 347: 297(ptr) AccessChain 329(lsb) 338 494 348: 141(int) CompositeExtract 344 1 495 Store 347 348 496 349: 297(ptr) AccessChain 329(lsb) 341 497 350: 141(int) CompositeExtract 344 2 498 Store 349 350 499 351: 297(ptr) AccessChain 326(msb) 142 500 352: 141(int) Load 351 501 353: 297(ptr) AccessChain 326(msb) 338 502 354: 141(int) Load 353 503 355: 141(int) IAdd 352 354 504 356: 297(ptr) AccessChain 326(msb) 341 505 357: 141(int) Load 356 506 358: 141(int) IAdd 355 357 507 359: 141(int) Load 298(u) 508 360: 141(int) IAdd 359 358 509 Store 298(u) 360 510 361: 297(ptr) AccessChain 329(lsb) 142 511 362: 141(int) Load 361 512 363: 297(ptr) AccessChain 329(lsb) 338 513 364: 141(int) Load 363 514 365: 141(int) IAdd 362 364 515 366: 297(ptr) AccessChain 329(lsb) 341 516 367: 141(int) Load 366 517 368: 141(int) IAdd 365 367 518 369: 141(int) Load 298(u) 519 370: 141(int) IAdd 369 368 520 Store 298(u) 370 521 373: 6(float) Load 225(uf) 522 374: 191(bool) IsNan 373 523 Store 372(b) 374 524 375: 6(float) Load 201(f) 525 376: 191(bool) IsInf 375 526 Store 372(b) 376 527 377: 7(fvec4) Load 9(v) 528 378: 7(fvec4) Load 11(uv4) 529 379: 192(bvec4) FOrdLessThan 377 378 530 380: 191(bool) Any 379 531 Store 372(b) 380 532 381: 191(bool) Load 372(b) 533 SelectionMerge 383 None 534 BranchConditional 381 382 383 535 382: Label 536 384: 7(fvec4) Load 9(v) 537 385: 7(fvec4) Load 11(uv4) 538 386: 192(bvec4) FOrdLessThanEqual 384 385 539 387: 191(bool) Any 386 540 Branch 383 541 383: Label 542 388: 191(bool) Phi 381 5 387 382 543 Store 372(b) 388 544 389: 191(bool) Load 372(b) 545 SelectionMerge 391 None 546 BranchConditional 389 390 391 547 390: Label 548 392: 7(fvec4) Load 9(v) 549 393: 7(fvec4) Load 11(uv4) 550 394: 192(bvec4) FOrdGreaterThan 392 393 551 395: 191(bool) Any 394 552 Branch 391 553 391: Label 554 396: 191(bool) Phi 389 383 395 390 555 Store 372(b) 396 556 397: 191(bool) Load 372(b) 557 SelectionMerge 399 None 558 BranchConditional 397 398 399 559 398: Label 560 400: 7(fvec4) Load 9(v) 561 401: 7(fvec4) Load 11(uv4) 562 402: 192(bvec4) FOrdGreaterThanEqual 400 401 563 403: 191(bool) Any 402 564 Branch 399 565 399: Label 566 404: 191(bool) Phi 397 391 403 398 567 Store 372(b) 404 568 405: 191(bool) Load 372(b) 569 SelectionMerge 407 None 570 BranchConditional 405 406 407 571 406: Label 572 408: 192(bvec4) Load 194(ub41) 573 410: 192(bvec4) Load 409(ub42) 574 411: 192(bvec4) LogicalEqual 408 410 575 412: 191(bool) Any 411 576 Branch 407 577 407: Label 578 413: 191(bool) Phi 405 399 412 406 579 Store 372(b) 413 580 414: 191(bool) Load 372(b) 581 SelectionMerge 416 None 582 BranchConditional 414 415 416 583 415: Label 584 417: 192(bvec4) Load 194(ub41) 585 418: 192(bvec4) Load 409(ub42) 586 419: 192(bvec4) LogicalNotEqual 417 418 587 420: 191(bool) Any 419 588 Branch 416 589 416: Label 590 421: 191(bool) Phi 414 407 420 415 591 Store 372(b) 421 592 422: 191(bool) Load 372(b) 593 423: 192(bvec4) Load 194(ub41) 594 424: 191(bool) Any 423 595 425: 191(bool) LogicalAnd 422 424 596 Store 372(b) 425 597 426: 191(bool) Load 372(b) 598 427: 192(bvec4) Load 194(ub41) 599 428: 191(bool) All 427 600 429: 191(bool) LogicalAnd 426 428 601 Store 372(b) 429 602 430: 191(bool) Load 372(b) 603 SelectionMerge 432 None 604 BranchConditional 430 431 432 605 431: Label 606 433: 192(bvec4) Load 194(ub41) 607 434: 192(bvec4) LogicalNot 433 608 435: 191(bool) Any 434 609 Branch 432 610 432: Label 611 436: 191(bool) Phi 430 416 435 431 612 Store 372(b) 436 613 437: 18(int) Load 20(i) 614 438: 18(int) Load 22(ui) 615 439: 18(int) IAdd 437 438 616 440: 18(int) Load 20(i) 617 441: 18(int) IMul 439 440 618 442: 18(int) Load 22(ui) 619 443: 18(int) ISub 441 442 620 444: 18(int) Load 20(i) 621 445: 18(int) SDiv 443 444 622 Store 20(i) 445 623 446: 18(int) Load 20(i) 624 447: 18(int) Load 22(ui) 625 448: 18(int) SMod 446 447 626 Store 20(i) 448 627 449: 18(int) Load 20(i) 628 450: 18(int) Load 22(ui) 629 451: 191(bool) IEqual 449 450 630 452: 191(bool) LogicalNot 451 631 SelectionMerge 454 None 632 BranchConditional 452 453 454 633 453: Label 634 455: 18(int) Load 20(i) 635 456: 18(int) Load 22(ui) 636 457: 191(bool) INotEqual 455 456 637 SelectionMerge 459 None 638 BranchConditional 457 458 459 639 458: Label 640 460: 18(int) Load 20(i) 641 461: 18(int) Load 22(ui) 642 462: 191(bool) IEqual 460 461 643 Branch 459 644 459: Label 645 463: 191(bool) Phi 457 453 462 458 646 464: 18(int) Load 20(i) 647 466: 191(bool) INotEqual 464 465 648 467: 191(bool) LogicalNotEqual 463 466 649 Branch 454 650 454: Label 651 468: 191(bool) Phi 451 432 467 459 652 SelectionMerge 470 None 653 BranchConditional 468 469 470 654 469: Label 655 471: 18(int) Load 20(i) 656 473: 18(int) IAdd 471 472 657 Store 20(i) 473 658 Branch 470 659 470: Label 660 474: 6(float) Load 225(uf) 661 475: 6(float) Load 225(uf) 662 476: 6(float) FAdd 474 475 663 477: 6(float) Load 225(uf) 664 478: 6(float) FMul 476 477 665 479: 6(float) Load 225(uf) 666 480: 6(float) FSub 478 479 667 481: 6(float) Load 225(uf) 668 482: 6(float) FDiv 480 481 669 Store 201(f) 482 670 483: 7(fvec4) Load 9(v) 671 484: 6(float) ExtInst 1(GLSL.std.450) 66(Length) 483 672 485: 6(float) Load 201(f) 673 486: 6(float) FAdd 485 484 674 Store 201(f) 486 675 487: 7(fvec4) Load 9(v) 676 488: 7(fvec4) Load 9(v) 677 489: 6(float) ExtInst 1(GLSL.std.450) 67(Distance) 487 488 678 490: 6(float) Load 201(f) 679 491: 6(float) FAdd 490 489 680 Store 201(f) 491 681 492: 7(fvec4) Load 9(v) 682 493: 7(fvec4) Load 9(v) 683 494: 6(float) Dot 492 493 684 495: 6(float) Load 201(f) 685 496: 6(float) FAdd 495 494 686 Store 201(f) 496 687 497: 6(float) Load 201(f) 688 498: 6(float) Load 225(uf) 689 499: 6(float) FMul 497 498 690 500: 6(float) Load 201(f) 691 501: 6(float) FAdd 500 499 692 Store 201(f) 501 693 503: 7(fvec4) Load 9(v) 694 504: 502(fvec3) VectorShuffle 503 503 0 1 2 695 505: 7(fvec4) Load 9(v) 696 506: 502(fvec3) VectorShuffle 505 505 0 1 2 697 507: 502(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 504 506 698 508: 6(float) CompositeExtract 507 0 699 509: 6(float) Load 201(f) 700 510: 6(float) FAdd 509 508 701 Store 201(f) 510 702 511: 6(float) Load 201(f) 703 512: 6(float) Load 225(uf) 704 513: 191(bool) FOrdEqual 511 512 705 514: 191(bool) LogicalNot 513 706 SelectionMerge 516 None 707 BranchConditional 514 515 516 708 515: Label 709 517: 6(float) Load 201(f) 710 518: 6(float) Load 225(uf) 711 519: 191(bool) FUnordNotEqual 517 518 712 520: 6(float) Load 201(f) 713 522: 191(bool) FUnordNotEqual 520 521 714 523: 191(bool) LogicalAnd 519 522 715 Branch 516 716 516: Label 717 524: 191(bool) Phi 513 470 523 515 718 SelectionMerge 526 None 719 BranchConditional 524 525 526 720 525: Label 721 527: 6(float) Load 201(f) 722 529: 6(float) FAdd 527 528 723 Store 201(f) 529 724 Branch 526 725 526: Label 726 530: 18(int) Load 22(ui) 727 531: 18(int) Load 20(i) 728 532: 18(int) BitwiseAnd 531 530 729 Store 20(i) 532 730 534: 18(int) Load 20(i) 731 535: 18(int) BitwiseOr 534 533 732 Store 20(i) 535 733 536: 18(int) Load 22(ui) 734 537: 18(int) Load 20(i) 735 538: 18(int) BitwiseXor 537 536 736 Store 20(i) 538 737 540: 18(int) Load 20(i) 738 541: 18(int) SMod 540 539 739 Store 20(i) 541 740 542: 18(int) Load 20(i) 741 543: 18(int) ShiftRightArithmetic 542 465 742 Store 20(i) 543 743 544: 18(int) Load 22(ui) 744 545: 18(int) Load 20(i) 745 546: 18(int) ShiftLeftLogical 545 544 746 Store 20(i) 546 747 547: 18(int) Load 20(i) 748 548: 18(int) Not 547 749 Store 20(i) 548 750 549: 191(bool) Load 372(b) 751 550: 191(bool) LogicalNot 549 752 Store 372(b) 550 753 553: 191(bool) Load 372(b) 754 SelectionMerge 556 None 755 BranchConditional 553 555 565 756 555: Label 757 557: 18(int) Load 20(i) 758 558: 6(float) ConvertSToF 557 759 559: 7(fvec4) CompositeConstruct 558 558 558 558 760 560: 6(float) Load 201(f) 761 561: 7(fvec4) CompositeConstruct 560 560 560 560 762 562: 7(fvec4) FAdd 559 561 763 563: 7(fvec4) Load 9(v) 764 564: 7(fvec4) FAdd 562 563 765 Store 554 564 766 Branch 556 767 565: Label 768 566: 7(fvec4) Load 9(v) 769 Store 554 566 770 Branch 556 771 556: Label 772 567: 7(fvec4) Load 554 773 Store 552(FragColor) 567 774 Store 570(m1) 576 775 Store 577(m2) 579 776 580: 191(bool) Load 372(b) 777 SelectionMerge 583 None 778 BranchConditional 580 582 585 779 582: Label 780 584: 568 Load 570(m1) 781 Store 581 584 782 Branch 583 783 585: Label 784 586: 568 Load 577(m2) 785 Store 581 586 786 Branch 583 787 583: Label 788 587: 8(ptr) AccessChain 581 472 789 588: 7(fvec4) Load 587 790 589: 7(fvec4) Load 552(FragColor) 791 590: 7(fvec4) FAdd 589 588 792 Store 552(FragColor) 590 793 Return 794 FunctionEnd 795