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