| spv.Operations.frag |
| // Module Version 10000 |
| // Generated by (magic number): 80008 |
| // Id's are bound by 540 |
| |
| Capability Shader |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint Fragment 4 "main" 11 22 220 296 493 534 539 |
| ExecutionMode 4 OriginUpperLeft |
| Source GLSL 450 |
| Name 4 "main" |
| Name 9 "v" |
| Name 11 "uv4" |
| Name 20 "i" |
| Name 22 "ui" |
| Name 155 "swizzleTemp" |
| Name 189 "ub41" |
| Name 196 "f" |
| Name 220 "uf" |
| Name 293 "u" |
| Name 296 "uui" |
| Name 313 "b" |
| Name 350 "ub42" |
| Name 493 "FragColor" |
| Name 511 "m1" |
| Name 518 "m2" |
| Name 534 "uiv4" |
| Name 536 "ub" |
| Name 539 "uuv4" |
| Decorate 22(ui) Flat |
| Decorate 296(uui) Flat |
| Decorate 534(uiv4) Flat |
| Decorate 539(uuv4) 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(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) |
| 186: TypeBool |
| 187: TypeVector 186(bool) 4 |
| 188: TypePointer Private 187(bvec4) |
| 189(ub41): 188(ptr) Variable Private |
| 219: TypePointer Input 6(float) |
| 220(uf): 219(ptr) Variable Input |
| 292: TypePointer Function 141(int) |
| 295: TypePointer Input 141(int) |
| 296(uui): 295(ptr) Variable Input |
| 312: TypePointer Function 186(bool) |
| 350(ub42): 188(ptr) Variable Private |
| 406: 18(int) Constant 2 |
| 413: 18(int) Constant 1 |
| 443: TypeVector 6(float) 3 |
| 462: 6(float) Constant 1073741824 |
| 469: 6(float) Constant 1065353216 |
| 474: 18(int) Constant 66 |
| 480: 18(int) Constant 17 |
| 492: TypePointer Output 7(fvec4) |
| 493(FragColor): 492(ptr) Variable Output |
| 509: TypeMatrix 7(fvec4) 4 |
| 510: TypePointer Function 509 |
| 512: 6(float) Constant 0 |
| 513: 7(fvec4) ConstantComposite 469 512 512 512 |
| 514: 7(fvec4) ConstantComposite 512 469 512 512 |
| 515: 7(fvec4) ConstantComposite 512 512 469 512 |
| 516: 7(fvec4) ConstantComposite 512 512 512 469 |
| 517: 509 ConstantComposite 513 514 515 516 |
| 519: 7(fvec4) ConstantComposite 512 512 512 512 |
| 520: 509 ConstantComposite 519 519 519 519 |
| 532: TypeVector 18(int) 4 |
| 533: TypePointer Input 532(ivec4) |
| 534(uiv4): 533(ptr) Variable Input |
| 535: TypePointer Private 186(bool) |
| 536(ub): 535(ptr) Variable Private |
| 537: TypeVector 141(int) 4 |
| 538: TypePointer Input 537(ivec4) |
| 539(uuv4): 538(ptr) Variable Input |
| 4(main): 2 Function None 3 |
| 5: Label |
| 9(v): 8(ptr) Variable Function |
| 20(i): 19(ptr) Variable Function |
| 155(swizzleTemp): 8(ptr) Variable Function |
| 196(f): 143(ptr) Variable Function |
| 293(u): 292(ptr) Variable Function |
| 313(b): 312(ptr) Variable Function |
| 495: 8(ptr) Variable Function |
| 511(m1): 510(ptr) Variable Function |
| 518(m2): 510(ptr) Variable Function |
| 522: 510(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) |
| 151: 7(fvec4) ExtInst 1(GLSL.std.450) 35(Modf) 150 9(v) |
| 152: 7(fvec4) Load 9(v) |
| 153: 7(fvec4) FAdd 152 151 |
| Store 9(v) 153 |
| 154: 7(fvec4) Load 9(v) |
| 156: 7(fvec4) ExtInst 1(GLSL.std.450) 35(Modf) 154 155(swizzleTemp) |
| 157: 7(fvec4) Load 155(swizzleTemp) |
| 158: 7(fvec4) Load 9(v) |
| 159: 7(fvec4) VectorShuffle 158 157 6 4 5 7 |
| Store 9(v) 159 |
| 160: 7(fvec4) Load 9(v) |
| 161: 7(fvec4) FAdd 160 156 |
| Store 9(v) 161 |
| 162: 7(fvec4) Load 9(v) |
| 163: 7(fvec4) Load 11(uv4) |
| 164: 7(fvec4) ExtInst 1(GLSL.std.450) 37(FMin) 162 163 |
| 165: 7(fvec4) Load 9(v) |
| 166: 7(fvec4) FAdd 165 164 |
| Store 9(v) 166 |
| 167: 7(fvec4) Load 9(v) |
| 168: 7(fvec4) Load 11(uv4) |
| 169: 7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 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) Load 11(uv4) |
| 175: 7(fvec4) ExtInst 1(GLSL.std.450) 43(FClamp) 172 173 174 |
| 176: 7(fvec4) Load 9(v) |
| 177: 7(fvec4) FAdd 176 175 |
| Store 9(v) 177 |
| 178: 7(fvec4) Load 9(v) |
| 179: 7(fvec4) Load 9(v) |
| 180: 7(fvec4) Load 9(v) |
| 181: 7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 178 179 180 |
| 182: 7(fvec4) Load 9(v) |
| 183: 7(fvec4) FAdd 182 181 |
| Store 9(v) 183 |
| 184: 7(fvec4) Load 9(v) |
| 185: 7(fvec4) Load 9(v) |
| 190: 187(bvec4) Load 189(ub41) |
| 191: 7(fvec4) Select 190 185 184 |
| 192: 7(fvec4) Load 9(v) |
| 193: 7(fvec4) FAdd 192 191 |
| Store 9(v) 193 |
| 194: 7(fvec4) Load 9(v) |
| 195: 7(fvec4) Load 9(v) |
| 197: 6(float) Load 196(f) |
| 198: 7(fvec4) CompositeConstruct 197 197 197 197 |
| 199: 7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 194 195 198 |
| 200: 7(fvec4) Load 9(v) |
| 201: 7(fvec4) FAdd 200 199 |
| Store 9(v) 201 |
| 202: 7(fvec4) Load 9(v) |
| 203: 7(fvec4) Load 11(uv4) |
| 204: 7(fvec4) Load 9(v) |
| 205: 7(fvec4) ExtInst 1(GLSL.std.450) 50(Fma) 202 203 204 |
| 206: 7(fvec4) Load 9(v) |
| 207: 7(fvec4) FAdd 206 205 |
| Store 9(v) 207 |
| 208: 7(fvec4) Load 9(v) |
| 209: 7(fvec4) Load 9(v) |
| 210: 7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 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) Load 9(v) |
| 216: 7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 213 214 215 |
| 217: 7(fvec4) Load 9(v) |
| 218: 7(fvec4) FAdd 217 216 |
| Store 9(v) 218 |
| 221: 6(float) Load 220(uf) |
| 222: 7(fvec4) Load 9(v) |
| 223: 7(fvec4) CompositeConstruct 221 221 221 221 |
| 224: 7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 223 222 |
| 225: 7(fvec4) Load 9(v) |
| 226: 7(fvec4) FAdd 225 224 |
| Store 9(v) 226 |
| 227: 6(float) Load 220(uf) |
| 228: 6(float) Load 220(uf) |
| 229: 7(fvec4) Load 9(v) |
| 230: 7(fvec4) CompositeConstruct 227 227 227 227 |
| 231: 7(fvec4) CompositeConstruct 228 228 228 228 |
| 232: 7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 230 231 229 |
| 233: 7(fvec4) Load 9(v) |
| 234: 7(fvec4) FAdd 233 232 |
| Store 9(v) 234 |
| 235: 7(fvec4) Load 9(v) |
| 236: 7(fvec4) ExtInst 1(GLSL.std.450) 69(Normalize) 235 |
| 237: 7(fvec4) Load 9(v) |
| 238: 7(fvec4) FAdd 237 236 |
| Store 9(v) 238 |
| 239: 7(fvec4) Load 9(v) |
| 240: 7(fvec4) Load 9(v) |
| 241: 7(fvec4) Load 9(v) |
| 242: 7(fvec4) ExtInst 1(GLSL.std.450) 70(FaceForward) 239 240 241 |
| 243: 7(fvec4) Load 9(v) |
| 244: 7(fvec4) FAdd 243 242 |
| Store 9(v) 244 |
| 245: 7(fvec4) Load 9(v) |
| 246: 7(fvec4) Load 9(v) |
| 247: 7(fvec4) ExtInst 1(GLSL.std.450) 71(Reflect) 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: 6(float) Load 220(uf) |
| 253: 7(fvec4) ExtInst 1(GLSL.std.450) 72(Refract) 250 251 252 |
| 254: 7(fvec4) Load 9(v) |
| 255: 7(fvec4) FAdd 254 253 |
| Store 9(v) 255 |
| 256: 7(fvec4) Load 9(v) |
| 257: 7(fvec4) DPdx 256 |
| 258: 7(fvec4) Load 9(v) |
| 259: 7(fvec4) FAdd 258 257 |
| Store 9(v) 259 |
| 260: 7(fvec4) Load 9(v) |
| 261: 7(fvec4) DPdy 260 |
| 262: 7(fvec4) Load 9(v) |
| 263: 7(fvec4) FAdd 262 261 |
| Store 9(v) 263 |
| 264: 7(fvec4) Load 9(v) |
| 265: 7(fvec4) Fwidth 264 |
| 266: 7(fvec4) Load 9(v) |
| 267: 7(fvec4) FAdd 266 265 |
| Store 9(v) 267 |
| 268: 18(int) Load 22(ui) |
| 269: 18(int) ExtInst 1(GLSL.std.450) 5(SAbs) 268 |
| 270: 18(int) Load 20(i) |
| 271: 18(int) IAdd 270 269 |
| Store 20(i) 271 |
| 272: 18(int) Load 20(i) |
| 273: 18(int) ExtInst 1(GLSL.std.450) 7(SSign) 272 |
| 274: 18(int) Load 20(i) |
| 275: 18(int) IAdd 274 273 |
| Store 20(i) 275 |
| 276: 18(int) Load 20(i) |
| 277: 18(int) Load 22(ui) |
| 278: 18(int) ExtInst 1(GLSL.std.450) 39(SMin) 276 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) 42(SMax) 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) Load 22(ui) |
| 289: 18(int) ExtInst 1(GLSL.std.450) 45(SClamp) 286 287 288 |
| 290: 18(int) Load 20(i) |
| 291: 18(int) IAdd 290 289 |
| Store 20(i) 291 |
| 294: 141(int) Load 293(u) |
| 297: 141(int) Load 296(uui) |
| 298: 141(int) ExtInst 1(GLSL.std.450) 38(UMin) 294 297 |
| 299: 141(int) Load 293(u) |
| 300: 141(int) IAdd 299 298 |
| Store 293(u) 300 |
| 301: 141(int) Load 293(u) |
| 302: 141(int) Load 296(uui) |
| 303: 141(int) ExtInst 1(GLSL.std.450) 41(UMax) 301 302 |
| 304: 141(int) Load 293(u) |
| 305: 141(int) IAdd 304 303 |
| Store 293(u) 305 |
| 306: 141(int) Load 293(u) |
| 307: 141(int) Load 296(uui) |
| 308: 141(int) Load 296(uui) |
| 309: 141(int) ExtInst 1(GLSL.std.450) 44(UClamp) 306 307 308 |
| 310: 141(int) Load 293(u) |
| 311: 141(int) IAdd 310 309 |
| Store 293(u) 311 |
| 314: 6(float) Load 220(uf) |
| 315: 186(bool) IsNan 314 |
| Store 313(b) 315 |
| 316: 6(float) Load 196(f) |
| 317: 186(bool) IsInf 316 |
| Store 313(b) 317 |
| 318: 7(fvec4) Load 9(v) |
| 319: 7(fvec4) Load 11(uv4) |
| 320: 187(bvec4) FOrdLessThan 318 319 |
| 321: 186(bool) Any 320 |
| Store 313(b) 321 |
| 322: 186(bool) Load 313(b) |
| SelectionMerge 324 None |
| BranchConditional 322 323 324 |
| 323: Label |
| 325: 7(fvec4) Load 9(v) |
| 326: 7(fvec4) Load 11(uv4) |
| 327: 187(bvec4) FOrdLessThanEqual 325 326 |
| 328: 186(bool) Any 327 |
| Branch 324 |
| 324: Label |
| 329: 186(bool) Phi 322 5 328 323 |
| Store 313(b) 329 |
| 330: 186(bool) Load 313(b) |
| SelectionMerge 332 None |
| BranchConditional 330 331 332 |
| 331: Label |
| 333: 7(fvec4) Load 9(v) |
| 334: 7(fvec4) Load 11(uv4) |
| 335: 187(bvec4) FOrdGreaterThan 333 334 |
| 336: 186(bool) Any 335 |
| Branch 332 |
| 332: Label |
| 337: 186(bool) Phi 330 324 336 331 |
| Store 313(b) 337 |
| 338: 186(bool) Load 313(b) |
| SelectionMerge 340 None |
| BranchConditional 338 339 340 |
| 339: Label |
| 341: 7(fvec4) Load 9(v) |
| 342: 7(fvec4) Load 11(uv4) |
| 343: 187(bvec4) FOrdGreaterThanEqual 341 342 |
| 344: 186(bool) Any 343 |
| Branch 340 |
| 340: Label |
| 345: 186(bool) Phi 338 332 344 339 |
| Store 313(b) 345 |
| 346: 186(bool) Load 313(b) |
| SelectionMerge 348 None |
| BranchConditional 346 347 348 |
| 347: Label |
| 349: 187(bvec4) Load 189(ub41) |
| 351: 187(bvec4) Load 350(ub42) |
| 352: 187(bvec4) LogicalEqual 349 351 |
| 353: 186(bool) Any 352 |
| Branch 348 |
| 348: Label |
| 354: 186(bool) Phi 346 340 353 347 |
| Store 313(b) 354 |
| 355: 186(bool) Load 313(b) |
| SelectionMerge 357 None |
| BranchConditional 355 356 357 |
| 356: Label |
| 358: 187(bvec4) Load 189(ub41) |
| 359: 187(bvec4) Load 350(ub42) |
| 360: 187(bvec4) LogicalNotEqual 358 359 |
| 361: 186(bool) Any 360 |
| Branch 357 |
| 357: Label |
| 362: 186(bool) Phi 355 348 361 356 |
| Store 313(b) 362 |
| 363: 186(bool) Load 313(b) |
| 364: 187(bvec4) Load 189(ub41) |
| 365: 186(bool) Any 364 |
| 366: 186(bool) LogicalAnd 363 365 |
| Store 313(b) 366 |
| 367: 186(bool) Load 313(b) |
| 368: 187(bvec4) Load 189(ub41) |
| 369: 186(bool) All 368 |
| 370: 186(bool) LogicalAnd 367 369 |
| Store 313(b) 370 |
| 371: 186(bool) Load 313(b) |
| SelectionMerge 373 None |
| BranchConditional 371 372 373 |
| 372: Label |
| 374: 187(bvec4) Load 189(ub41) |
| 375: 187(bvec4) LogicalNot 374 |
| 376: 186(bool) Any 375 |
| Branch 373 |
| 373: Label |
| 377: 186(bool) Phi 371 357 376 372 |
| Store 313(b) 377 |
| 378: 18(int) Load 20(i) |
| 379: 18(int) Load 22(ui) |
| 380: 18(int) IAdd 378 379 |
| 381: 18(int) Load 20(i) |
| 382: 18(int) IMul 380 381 |
| 383: 18(int) Load 22(ui) |
| 384: 18(int) ISub 382 383 |
| 385: 18(int) Load 20(i) |
| 386: 18(int) SDiv 384 385 |
| Store 20(i) 386 |
| 387: 18(int) Load 20(i) |
| 388: 18(int) Load 22(ui) |
| 389: 18(int) SMod 387 388 |
| Store 20(i) 389 |
| 390: 18(int) Load 20(i) |
| 391: 18(int) Load 22(ui) |
| 392: 186(bool) IEqual 390 391 |
| 393: 186(bool) LogicalNot 392 |
| SelectionMerge 395 None |
| BranchConditional 393 394 395 |
| 394: Label |
| 396: 18(int) Load 20(i) |
| 397: 18(int) Load 22(ui) |
| 398: 186(bool) INotEqual 396 397 |
| SelectionMerge 400 None |
| BranchConditional 398 399 400 |
| 399: Label |
| 401: 18(int) Load 20(i) |
| 402: 18(int) Load 22(ui) |
| 403: 186(bool) IEqual 401 402 |
| Branch 400 |
| 400: Label |
| 404: 186(bool) Phi 398 394 403 399 |
| 405: 18(int) Load 20(i) |
| 407: 186(bool) INotEqual 405 406 |
| 408: 186(bool) LogicalNotEqual 404 407 |
| Branch 395 |
| 395: Label |
| 409: 186(bool) Phi 392 373 408 400 |
| SelectionMerge 411 None |
| BranchConditional 409 410 411 |
| 410: Label |
| 412: 18(int) Load 20(i) |
| 414: 18(int) IAdd 412 413 |
| Store 20(i) 414 |
| Branch 411 |
| 411: Label |
| 415: 6(float) Load 220(uf) |
| 416: 6(float) Load 220(uf) |
| 417: 6(float) FAdd 415 416 |
| 418: 6(float) Load 220(uf) |
| 419: 6(float) FMul 417 418 |
| 420: 6(float) Load 220(uf) |
| 421: 6(float) FSub 419 420 |
| 422: 6(float) Load 220(uf) |
| 423: 6(float) FDiv 421 422 |
| Store 196(f) 423 |
| 424: 7(fvec4) Load 9(v) |
| 425: 6(float) ExtInst 1(GLSL.std.450) 66(Length) 424 |
| 426: 6(float) Load 196(f) |
| 427: 6(float) FAdd 426 425 |
| Store 196(f) 427 |
| 428: 7(fvec4) Load 9(v) |
| 429: 7(fvec4) Load 9(v) |
| 430: 6(float) ExtInst 1(GLSL.std.450) 67(Distance) 428 429 |
| 431: 6(float) Load 196(f) |
| 432: 6(float) FAdd 431 430 |
| Store 196(f) 432 |
| 433: 7(fvec4) Load 9(v) |
| 434: 7(fvec4) Load 9(v) |
| 435: 6(float) Dot 433 434 |
| 436: 6(float) Load 196(f) |
| 437: 6(float) FAdd 436 435 |
| Store 196(f) 437 |
| 438: 6(float) Load 196(f) |
| 439: 6(float) Load 220(uf) |
| 440: 6(float) FMul 438 439 |
| 441: 6(float) Load 196(f) |
| 442: 6(float) FAdd 441 440 |
| Store 196(f) 442 |
| 444: 7(fvec4) Load 9(v) |
| 445: 443(fvec3) VectorShuffle 444 444 0 1 2 |
| 446: 7(fvec4) Load 9(v) |
| 447: 443(fvec3) VectorShuffle 446 446 0 1 2 |
| 448: 443(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 445 447 |
| 449: 6(float) CompositeExtract 448 0 |
| 450: 6(float) Load 196(f) |
| 451: 6(float) FAdd 450 449 |
| Store 196(f) 451 |
| 452: 6(float) Load 196(f) |
| 453: 6(float) Load 220(uf) |
| 454: 186(bool) FOrdEqual 452 453 |
| 455: 186(bool) LogicalNot 454 |
| SelectionMerge 457 None |
| BranchConditional 455 456 457 |
| 456: Label |
| 458: 6(float) Load 196(f) |
| 459: 6(float) Load 220(uf) |
| 460: 186(bool) FOrdNotEqual 458 459 |
| 461: 6(float) Load 196(f) |
| 463: 186(bool) FOrdNotEqual 461 462 |
| 464: 186(bool) LogicalAnd 460 463 |
| Branch 457 |
| 457: Label |
| 465: 186(bool) Phi 454 411 464 456 |
| SelectionMerge 467 None |
| BranchConditional 465 466 467 |
| 466: Label |
| 468: 6(float) Load 196(f) |
| 470: 6(float) FAdd 468 469 |
| Store 196(f) 470 |
| Branch 467 |
| 467: Label |
| 471: 18(int) Load 22(ui) |
| 472: 18(int) Load 20(i) |
| 473: 18(int) BitwiseAnd 472 471 |
| Store 20(i) 473 |
| 475: 18(int) Load 20(i) |
| 476: 18(int) BitwiseOr 475 474 |
| Store 20(i) 476 |
| 477: 18(int) Load 22(ui) |
| 478: 18(int) Load 20(i) |
| 479: 18(int) BitwiseXor 478 477 |
| Store 20(i) 479 |
| 481: 18(int) Load 20(i) |
| 482: 18(int) SMod 481 480 |
| Store 20(i) 482 |
| 483: 18(int) Load 20(i) |
| 484: 18(int) ShiftRightArithmetic 483 406 |
| Store 20(i) 484 |
| 485: 18(int) Load 22(ui) |
| 486: 18(int) Load 20(i) |
| 487: 18(int) ShiftLeftLogical 486 485 |
| Store 20(i) 487 |
| 488: 18(int) Load 20(i) |
| 489: 18(int) Not 488 |
| Store 20(i) 489 |
| 490: 186(bool) Load 313(b) |
| 491: 186(bool) LogicalNot 490 |
| Store 313(b) 491 |
| 494: 186(bool) Load 313(b) |
| SelectionMerge 497 None |
| BranchConditional 494 496 506 |
| 496: Label |
| 498: 18(int) Load 20(i) |
| 499: 6(float) ConvertSToF 498 |
| 500: 7(fvec4) CompositeConstruct 499 499 499 499 |
| 501: 6(float) Load 196(f) |
| 502: 7(fvec4) CompositeConstruct 501 501 501 501 |
| 503: 7(fvec4) FAdd 500 502 |
| 504: 7(fvec4) Load 9(v) |
| 505: 7(fvec4) FAdd 503 504 |
| Store 495 505 |
| Branch 497 |
| 506: Label |
| 507: 7(fvec4) Load 9(v) |
| Store 495 507 |
| Branch 497 |
| 497: Label |
| 508: 7(fvec4) Load 495 |
| Store 493(FragColor) 508 |
| Store 511(m1) 517 |
| Store 518(m2) 520 |
| 521: 186(bool) Load 313(b) |
| SelectionMerge 524 None |
| BranchConditional 521 523 526 |
| 523: Label |
| 525: 509 Load 511(m1) |
| Store 522 525 |
| Branch 524 |
| 526: Label |
| 527: 509 Load 518(m2) |
| Store 522 527 |
| Branch 524 |
| 524: Label |
| 528: 8(ptr) AccessChain 522 413 |
| 529: 7(fvec4) Load 528 |
| 530: 7(fvec4) Load 493(FragColor) |
| 531: 7(fvec4) FAdd 530 529 |
| Store 493(FragColor) 531 |
| Return |
| FunctionEnd |