1spv.int64.frag 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000b 5// Id's are bound by 513 6 7 Capability Shader 8 Capability Float64 9 Capability Int64 10 1: ExtInstImport "GLSL.std.450" 11 MemoryModel Logical GLSL450 12 EntryPoint Fragment 4 "main" 13 ExecutionMode 4 OriginUpperLeft 14 Source GLSL 450 15 SourceExtension "GL_ARB_gpu_shader_int64" 16 SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64" 17 Name 4 "main" 18 Name 6 "literal(" 19 Name 8 "typeCast(" 20 Name 10 "operators(" 21 Name 12 "builtinFuncs(" 22 Name 16 "u64Max" 23 Name 20 "i64" 24 Name 28 "Uniforms" 25 MemberName 28(Uniforms) 0 "index" 26 Name 30 "" 27 Name 37 "indexable" 28 Name 41 "u64" 29 Name 49 "indexable" 30 Name 54 "i64v" 31 Name 58 "bv" 32 Name 67 "u64v" 33 Name 76 "iv" 34 Name 83 "uv" 35 Name 91 "fv" 36 Name 97 "dv" 37 Name 134 "u64v" 38 Name 139 "i64" 39 Name 159 "i" 40 Name 166 "uv" 41 Name 226 "b" 42 Name 286 "i64v" 43 Name 289 "i64" 44 Name 299 "u64v" 45 Name 301 "u64" 46 Name 373 "dv" 47 Name 394 "iv" 48 Name 399 "uv" 49 Name 403 "bv" 50 Name 486 "Block" 51 MemberName 486(Block) 0 "i64v" 52 MemberName 486(Block) 1 "u64" 53 Name 488 "block" 54 Name 489 "si64" 55 Name 490 "su64" 56 Name 491 "si" 57 Name 492 "su" 58 Name 493 "sb" 59 Name 494 "su64inc" 60 Name 495 "i64_to_b" 61 Name 496 "u64_to_b" 62 Name 497 "b_to_i64" 63 Name 498 "b_to_u64" 64 Name 499 "i64_to_i" 65 Name 500 "i_to_i64" 66 Name 501 "u64_to_u" 67 Name 502 "u_to_u64" 68 Name 503 "u64_to_i64" 69 Name 504 "i64_to_u64" 70 Name 506 "u64_to_i" 71 Name 508 "i_to_u64" 72 Name 510 "i64_to_u" 73 Name 512 "u_to_i64" 74 Decorate 28(Uniforms) Block 75 MemberDecorate 28(Uniforms) 0 Offset 0 76 Decorate 30 Binding 0 77 Decorate 30 DescriptorSet 0 78 Decorate 486(Block) Block 79 MemberDecorate 486(Block) 0 Offset 0 80 MemberDecorate 486(Block) 1 Offset 24 81 Decorate 488(block) Binding 1 82 Decorate 488(block) DescriptorSet 0 83 Decorate 489(si64) SpecId 100 84 Decorate 490(su64) SpecId 101 85 Decorate 491(si) SpecId 102 86 Decorate 492(su) SpecId 103 87 Decorate 493(sb) SpecId 104 88 Decorate 494(su64inc) SpecId 105 89 2: TypeVoid 90 3: TypeFunction 2 91 14: TypeInt 64 0 92 15: TypePointer Private 14(int64_t) 93 16(u64Max): 15(ptr) Variable Private 94 17: 14(int64_t) Constant 4294967295 4294967295 95 18: TypeInt 64 1 96 19: TypePointer Function 18(int64_t) 97 21: TypeInt 32 0 98 22: 21(int) Constant 3 99 23: TypeArray 18(int64_t) 22 100 24: 18(int64_t) Constant 4008636143 4008636142 101 25: 18(int64_t) Constant 4294967295 4294967295 102 26: 18(int64_t) Constant 0 1 103 27: 23 ConstantComposite 24 25 26 104 28(Uniforms): TypeStruct 21(int) 105 29: TypePointer Uniform 28(Uniforms) 106 30: 29(ptr) Variable Uniform 107 31: TypeInt 32 1 108 32: 31(int) Constant 0 109 33: TypePointer Uniform 21(int) 110 36: TypePointer Function 23 111 40: TypePointer Function 14(int64_t) 112 42: TypeArray 14(int64_t) 22 113 43: 14(int64_t) Constant 0 1 114 44: 14(int64_t) Constant 4294967295 1 115 45: 42 ConstantComposite 17 43 44 116 48: TypePointer Function 42 117 52: TypeVector 18(int64_t) 2 118 53: TypePointer Function 52(i64vec2) 119 55: TypeBool 120 56: TypeVector 55(bool) 2 121 57: TypePointer Function 56(bvec2) 122 60: 18(int64_t) Constant 0 0 123 61: 18(int64_t) Constant 1 0 124 62: 52(i64vec2) ConstantComposite 60 60 125 63: 52(i64vec2) ConstantComposite 61 61 126 65: TypeVector 14(int64_t) 2 127 66: TypePointer Function 65(i64vec2) 128 69: 14(int64_t) Constant 0 0 129 70: 14(int64_t) Constant 1 0 130 71: 65(i64vec2) ConstantComposite 69 69 131 72: 65(i64vec2) ConstantComposite 70 70 132 74: TypeVector 31(int) 2 133 75: TypePointer Function 74(ivec2) 134 81: TypeVector 21(int) 2 135 82: TypePointer Function 81(ivec2) 136 88: TypeFloat 32 137 89: TypeVector 88(float) 2 138 90: TypePointer Function 89(fvec2) 139 94: TypeFloat 64 140 95: TypeVector 94(float64_t) 2 141 96: TypePointer Function 95(f64vec2) 142 132: TypeVector 14(int64_t) 3 143 133: TypePointer Function 132(i64vec3) 144 136: TypeVector 18(int64_t) 3 145 158: TypePointer Function 31(int) 146 164: TypeVector 21(int) 3 147 165: TypePointer Function 164(ivec3) 148 199: TypeVector 31(int) 3 149 203: 21(int) Constant 1 150 204: TypePointer Function 21(int) 151 217: 21(int) Constant 2 152 225: TypePointer Function 55(bool) 153 227: 21(int) Constant 0 154 297: 52(i64vec2) ConstantComposite 25 25 155 306:132(i64vec3) ConstantComposite 69 69 69 156 348: 55(bool) ConstantTrue 157 355: 55(bool) ConstantFalse 158 356: 56(bvec2) ConstantComposite 355 355 159 368: TypeVector 55(bool) 3 160 369: 368(bvec3) ConstantComposite 355 355 355 161 371: TypeVector 94(float64_t) 3 162 372: TypePointer Function 371(f64vec3) 163 377: TypePointer Function 94(float64_t) 164 390: 31(int) Constant 1 165 391: 31(int) Constant 2 166 392: 74(ivec2) ConstantComposite 390 391 167 397: 81(ivec2) ConstantComposite 217 22 168 402: TypePointer Function 368(bvec3) 169 486(Block): TypeStruct 136(i64vec3) 14(int64_t) 170 487: TypePointer Uniform 486(Block) 171 488(block): 487(ptr) Variable Uniform 172 489(si64): 18(int64_t) SpecConstant 4294967286 4294967295 173 490(su64): 14(int64_t) SpecConstant 20 0 174 491(si): 31(int) SpecConstant 4294967291 175 492(su): 21(int) SpecConstant 4 176 493(sb): 55(bool) SpecConstantTrue 177 494(su64inc): 14(int64_t) SpecConstantOp 128 490(su64) 70 178 495(i64_to_b): 55(bool) SpecConstantOp 171 489(si64) 69 179 496(u64_to_b): 55(bool) SpecConstantOp 171 490(su64) 69 180 497(b_to_i64): 18(int64_t) SpecConstantOp 169 493(sb) 61 60 181 498(b_to_u64): 14(int64_t) SpecConstantOp 169 493(sb) 70 69 182 499(i64_to_i): 31(int) SpecConstantOp 114 489(si64) 183 500(i_to_i64): 18(int64_t) SpecConstantOp 114 491(si) 184 501(u64_to_u): 21(int) SpecConstantOp 113 490(su64) 185 502(u_to_u64): 14(int64_t) SpecConstantOp 113 492(su) 186 503(u64_to_i64): 18(int64_t) SpecConstantOp 128 490(su64) 69 187 504(i64_to_u64): 14(int64_t) SpecConstantOp 128 489(si64) 69 188 505: 21(int) SpecConstantOp 113 490(su64) 189 506(u64_to_i): 31(int) SpecConstantOp 128 505 227 190 507: 18(int64_t) SpecConstantOp 114 491(si) 191 508(i_to_u64): 14(int64_t) SpecConstantOp 128 507 69 192 509: 31(int) SpecConstantOp 114 489(si64) 193 510(i64_to_u): 21(int) SpecConstantOp 128 509 227 194 511: 14(int64_t) SpecConstantOp 113 492(su) 195 512(u_to_i64): 18(int64_t) SpecConstantOp 128 511 69 196 4(main): 2 Function None 3 197 5: Label 198 Store 16(u64Max) 17 199 Return 200 FunctionEnd 201 6(literal(): 2 Function None 3 202 7: Label 203 20(i64): 19(ptr) Variable Function 204 37(indexable): 36(ptr) Variable Function 205 41(u64): 40(ptr) Variable Function 206 49(indexable): 48(ptr) Variable Function 207 34: 33(ptr) AccessChain 30 32 208 35: 21(int) Load 34 209 Store 37(indexable) 27 210 38: 19(ptr) AccessChain 37(indexable) 35 211 39: 18(int64_t) Load 38 212 Store 20(i64) 39 213 46: 33(ptr) AccessChain 30 32 214 47: 21(int) Load 46 215 Store 49(indexable) 45 216 50: 40(ptr) AccessChain 49(indexable) 47 217 51: 14(int64_t) Load 50 218 Store 41(u64) 51 219 Return 220 FunctionEnd 221 8(typeCast(): 2 Function None 3 222 9: Label 223 54(i64v): 53(ptr) Variable Function 224 58(bv): 57(ptr) Variable Function 225 67(u64v): 66(ptr) Variable Function 226 76(iv): 75(ptr) Variable Function 227 83(uv): 82(ptr) Variable Function 228 91(fv): 90(ptr) Variable Function 229 97(dv): 96(ptr) Variable Function 230 59: 56(bvec2) Load 58(bv) 231 64: 52(i64vec2) Select 59 63 62 232 Store 54(i64v) 64 233 68: 56(bvec2) Load 58(bv) 234 73: 65(i64vec2) Select 68 72 71 235 Store 67(u64v) 73 236 77: 74(ivec2) Load 76(iv) 237 78: 52(i64vec2) SConvert 77 238 Store 54(i64v) 78 239 79: 52(i64vec2) Load 54(i64v) 240 80: 74(ivec2) SConvert 79 241 Store 76(iv) 80 242 84: 81(ivec2) Load 83(uv) 243 85: 65(i64vec2) UConvert 84 244 Store 67(u64v) 85 245 86: 65(i64vec2) Load 67(u64v) 246 87: 81(ivec2) UConvert 86 247 Store 83(uv) 87 248 92: 52(i64vec2) Load 54(i64v) 249 93: 89(fvec2) ConvertSToF 92 250 Store 91(fv) 93 251 98: 52(i64vec2) Load 54(i64v) 252 99: 95(f64vec2) ConvertSToF 98 253 Store 97(dv) 99 254 100: 65(i64vec2) Load 67(u64v) 255 101: 89(fvec2) ConvertUToF 100 256 Store 91(fv) 101 257 102: 65(i64vec2) Load 67(u64v) 258 103: 95(f64vec2) ConvertUToF 102 259 Store 97(dv) 103 260 104: 89(fvec2) Load 91(fv) 261 105: 52(i64vec2) ConvertFToS 104 262 Store 54(i64v) 105 263 106: 95(f64vec2) Load 97(dv) 264 107: 52(i64vec2) ConvertFToS 106 265 Store 54(i64v) 107 266 108: 89(fvec2) Load 91(fv) 267 109: 65(i64vec2) ConvertFToU 108 268 Store 67(u64v) 109 269 110: 95(f64vec2) Load 97(dv) 270 111: 65(i64vec2) ConvertFToU 110 271 Store 67(u64v) 111 272 112: 52(i64vec2) Load 54(i64v) 273 113: 56(bvec2) INotEqual 112 71 274 Store 58(bv) 113 275 114: 65(i64vec2) Load 67(u64v) 276 115: 56(bvec2) INotEqual 114 71 277 Store 58(bv) 115 278 116: 52(i64vec2) Load 54(i64v) 279 117: 65(i64vec2) Bitcast 116 280 Store 67(u64v) 117 281 118: 65(i64vec2) Load 67(u64v) 282 119: 52(i64vec2) Bitcast 118 283 Store 54(i64v) 119 284 120: 52(i64vec2) Load 54(i64v) 285 121: 74(ivec2) SConvert 120 286 122: 81(ivec2) Bitcast 121 287 Store 83(uv) 122 288 123: 81(ivec2) Load 83(uv) 289 124: 65(i64vec2) UConvert 123 290 125: 52(i64vec2) Bitcast 124 291 Store 54(i64v) 125 292 126: 65(i64vec2) Load 67(u64v) 293 127: 81(ivec2) UConvert 126 294 128: 74(ivec2) Bitcast 127 295 Store 76(iv) 128 296 129: 74(ivec2) Load 76(iv) 297 130: 52(i64vec2) SConvert 129 298 131: 65(i64vec2) Bitcast 130 299 Store 67(u64v) 131 300 Return 301 FunctionEnd 302 10(operators(): 2 Function None 3 303 11: Label 304 134(u64v): 133(ptr) Variable Function 305 139(i64): 19(ptr) Variable Function 306 159(i): 158(ptr) Variable Function 307 166(uv): 165(ptr) Variable Function 308 226(b): 225(ptr) Variable Function 309 135:132(i64vec3) Load 134(u64v) 310 137:136(i64vec3) CompositeConstruct 61 61 61 311 138:132(i64vec3) IAdd 135 137 312 Store 134(u64v) 138 313 140: 18(int64_t) Load 139(i64) 314 141: 18(int64_t) ISub 140 61 315 Store 139(i64) 141 316 142: 18(int64_t) Load 139(i64) 317 143: 18(int64_t) IAdd 142 61 318 Store 139(i64) 143 319 144:132(i64vec3) Load 134(u64v) 320 145:136(i64vec3) CompositeConstruct 61 61 61 321 146:132(i64vec3) ISub 144 145 322 Store 134(u64v) 146 323 147:132(i64vec3) Load 134(u64v) 324 148:132(i64vec3) Not 147 325 Store 134(u64v) 148 326 149: 18(int64_t) Load 139(i64) 327 Store 139(i64) 149 328 150:132(i64vec3) Load 134(u64v) 329 151:132(i64vec3) SNegate 150 330 Store 134(u64v) 151 331 152: 18(int64_t) Load 139(i64) 332 153: 18(int64_t) Load 139(i64) 333 154: 18(int64_t) IAdd 153 152 334 Store 139(i64) 154 335 155:132(i64vec3) Load 134(u64v) 336 156:132(i64vec3) Load 134(u64v) 337 157:132(i64vec3) ISub 156 155 338 Store 134(u64v) 157 339 160: 31(int) Load 159(i) 340 161: 18(int64_t) SConvert 160 341 162: 18(int64_t) Load 139(i64) 342 163: 18(int64_t) IMul 162 161 343 Store 139(i64) 163 344 167: 164(ivec3) Load 166(uv) 345 168:132(i64vec3) UConvert 167 346 169:132(i64vec3) Load 134(u64v) 347 170:132(i64vec3) UDiv 169 168 348 Store 134(u64v) 170 349 171: 31(int) Load 159(i) 350 172: 18(int64_t) SConvert 171 351 173: 14(int64_t) Bitcast 172 352 174:132(i64vec3) Load 134(u64v) 353 175:132(i64vec3) CompositeConstruct 173 173 173 354 176:132(i64vec3) UMod 174 175 355 Store 134(u64v) 176 356 177:132(i64vec3) Load 134(u64v) 357 178: 164(ivec3) Load 166(uv) 358 179:132(i64vec3) UConvert 178 359 180:132(i64vec3) IAdd 177 179 360 Store 134(u64v) 180 361 181: 18(int64_t) Load 139(i64) 362 182: 31(int) Load 159(i) 363 183: 18(int64_t) SConvert 182 364 184: 18(int64_t) ISub 181 183 365 Store 139(i64) 184 366 185:132(i64vec3) Load 134(u64v) 367 186: 164(ivec3) Load 166(uv) 368 187:132(i64vec3) UConvert 186 369 188:132(i64vec3) IMul 185 187 370 Store 134(u64v) 188 371 189: 18(int64_t) Load 139(i64) 372 190: 31(int) Load 159(i) 373 191: 18(int64_t) SConvert 190 374 192: 18(int64_t) IMul 189 191 375 Store 139(i64) 192 376 193: 18(int64_t) Load 139(i64) 377 194: 31(int) Load 159(i) 378 195: 18(int64_t) SConvert 194 379 196: 18(int64_t) SMod 193 195 380 Store 139(i64) 196 381 197:132(i64vec3) Load 134(u64v) 382 198: 31(int) Load 159(i) 383 200: 199(ivec3) CompositeConstruct 198 198 198 384 201:132(i64vec3) ShiftLeftLogical 197 200 385 Store 134(u64v) 201 386 202: 18(int64_t) Load 139(i64) 387 205: 204(ptr) AccessChain 166(uv) 203 388 206: 21(int) Load 205 389 207: 18(int64_t) ShiftRightArithmetic 202 206 390 Store 139(i64) 207 391 208: 31(int) Load 159(i) 392 209:132(i64vec3) Load 134(u64v) 393 210: 199(ivec3) CompositeConstruct 208 208 208 394 211:132(i64vec3) ShiftLeftLogical 209 210 395 Store 134(u64v) 211 396 212: 204(ptr) AccessChain 166(uv) 203 397 213: 21(int) Load 212 398 214: 18(int64_t) Load 139(i64) 399 215: 18(int64_t) ShiftRightArithmetic 214 213 400 Store 139(i64) 215 401 216: 18(int64_t) Load 139(i64) 402 218: 40(ptr) AccessChain 134(u64v) 217 403 219: 14(int64_t) Load 218 404 220: 18(int64_t) ShiftLeftLogical 216 219 405 Store 139(i64) 220 406 221:132(i64vec3) Load 134(u64v) 407 222: 18(int64_t) Load 139(i64) 408 223:136(i64vec3) CompositeConstruct 222 222 222 409 224:132(i64vec3) ShiftLeftLogical 221 223 410 Store 134(u64v) 224 411 228: 40(ptr) AccessChain 134(u64v) 227 412 229: 14(int64_t) Load 228 413 230: 18(int64_t) Load 139(i64) 414 231: 14(int64_t) Bitcast 230 415 232: 55(bool) INotEqual 229 231 416 Store 226(b) 232 417 233: 18(int64_t) Load 139(i64) 418 234: 14(int64_t) Bitcast 233 419 235: 40(ptr) AccessChain 134(u64v) 227 420 236: 14(int64_t) Load 235 421 237: 55(bool) IEqual 234 236 422 Store 226(b) 237 423 238: 40(ptr) AccessChain 134(u64v) 227 424 239: 14(int64_t) Load 238 425 240: 204(ptr) AccessChain 166(uv) 203 426 241: 21(int) Load 240 427 242: 14(int64_t) UConvert 241 428 243: 55(bool) UGreaterThan 239 242 429 Store 226(b) 243 430 244: 18(int64_t) Load 139(i64) 431 245: 31(int) Load 159(i) 432 246: 18(int64_t) SConvert 245 433 247: 55(bool) SLessThan 244 246 434 Store 226(b) 247 435 248: 40(ptr) AccessChain 134(u64v) 203 436 249: 14(int64_t) Load 248 437 250: 204(ptr) AccessChain 166(uv) 227 438 251: 21(int) Load 250 439 252: 14(int64_t) UConvert 251 440 253: 55(bool) UGreaterThanEqual 249 252 441 Store 226(b) 253 442 254: 18(int64_t) Load 139(i64) 443 255: 31(int) Load 159(i) 444 256: 18(int64_t) SConvert 255 445 257: 55(bool) SLessThanEqual 254 256 446 Store 226(b) 257 447 258: 31(int) Load 159(i) 448 259: 18(int64_t) SConvert 258 449 260: 14(int64_t) Bitcast 259 450 261:132(i64vec3) Load 134(u64v) 451 262:132(i64vec3) CompositeConstruct 260 260 260 452 263:132(i64vec3) BitwiseOr 261 262 453 Store 134(u64v) 263 454 264: 18(int64_t) Load 139(i64) 455 265: 31(int) Load 159(i) 456 266: 18(int64_t) SConvert 265 457 267: 18(int64_t) BitwiseOr 264 266 458 Store 139(i64) 267 459 268: 31(int) Load 159(i) 460 269: 18(int64_t) SConvert 268 461 270: 18(int64_t) Load 139(i64) 462 271: 18(int64_t) BitwiseAnd 270 269 463 Store 139(i64) 271 464 272:132(i64vec3) Load 134(u64v) 465 273: 164(ivec3) Load 166(uv) 466 274:132(i64vec3) UConvert 273 467 275:132(i64vec3) BitwiseAnd 272 274 468 Store 134(u64v) 275 469 276: 18(int64_t) Load 139(i64) 470 277: 14(int64_t) Bitcast 276 471 278:132(i64vec3) Load 134(u64v) 472 279:132(i64vec3) CompositeConstruct 277 277 277 473 280:132(i64vec3) BitwiseXor 278 279 474 Store 134(u64v) 280 475 281:132(i64vec3) Load 134(u64v) 476 282: 18(int64_t) Load 139(i64) 477 283: 14(int64_t) Bitcast 282 478 284:132(i64vec3) CompositeConstruct 283 283 283 479 285:132(i64vec3) BitwiseXor 281 284 480 Store 134(u64v) 285 481 Return 482 FunctionEnd 48312(builtinFuncs(): 2 Function None 3 484 13: Label 485 286(i64v): 53(ptr) Variable Function 486 289(i64): 19(ptr) Variable Function 487 299(u64v): 133(ptr) Variable Function 488 301(u64): 40(ptr) Variable Function 489 373(dv): 372(ptr) Variable Function 490 394(iv): 75(ptr) Variable Function 491 399(uv): 82(ptr) Variable Function 492 403(bv): 402(ptr) Variable Function 493 287: 52(i64vec2) Load 286(i64v) 494 288: 52(i64vec2) ExtInst 1(GLSL.std.450) 5(SAbs) 287 495 Store 286(i64v) 288 496 290: 18(int64_t) Load 289(i64) 497 291: 18(int64_t) ExtInst 1(GLSL.std.450) 7(SSign) 290 498 Store 289(i64) 291 499 292: 52(i64vec2) Load 286(i64v) 500 293: 18(int64_t) Load 289(i64) 501 294: 52(i64vec2) CompositeConstruct 293 293 502 295: 52(i64vec2) ExtInst 1(GLSL.std.450) 39(SMin) 292 294 503 Store 286(i64v) 295 504 296: 52(i64vec2) Load 286(i64v) 505 298: 52(i64vec2) ExtInst 1(GLSL.std.450) 39(SMin) 296 297 506 Store 286(i64v) 298 507 300:132(i64vec3) Load 299(u64v) 508 302: 14(int64_t) Load 301(u64) 509 303:132(i64vec3) CompositeConstruct 302 302 302 510 304:132(i64vec3) ExtInst 1(GLSL.std.450) 38(UMin) 300 303 511 Store 299(u64v) 304 512 305:132(i64vec3) Load 299(u64v) 513 307:132(i64vec3) ExtInst 1(GLSL.std.450) 38(UMin) 305 306 514 Store 299(u64v) 307 515 308: 52(i64vec2) Load 286(i64v) 516 309: 18(int64_t) Load 289(i64) 517 310: 52(i64vec2) CompositeConstruct 309 309 518 311: 52(i64vec2) ExtInst 1(GLSL.std.450) 42(SMax) 308 310 519 Store 286(i64v) 311 520 312: 52(i64vec2) Load 286(i64v) 521 313: 52(i64vec2) ExtInst 1(GLSL.std.450) 42(SMax) 312 297 522 Store 286(i64v) 313 523 314:132(i64vec3) Load 299(u64v) 524 315: 14(int64_t) Load 301(u64) 525 316:132(i64vec3) CompositeConstruct 315 315 315 526 317:132(i64vec3) ExtInst 1(GLSL.std.450) 41(UMax) 314 316 527 Store 299(u64v) 317 528 318:132(i64vec3) Load 299(u64v) 529 319:132(i64vec3) ExtInst 1(GLSL.std.450) 41(UMax) 318 306 530 Store 299(u64v) 319 531 320: 52(i64vec2) Load 286(i64v) 532 321: 18(int64_t) Load 289(i64) 533 322: 18(int64_t) SNegate 321 534 323: 18(int64_t) Load 289(i64) 535 324: 52(i64vec2) CompositeConstruct 322 322 536 325: 52(i64vec2) CompositeConstruct 323 323 537 326: 52(i64vec2) ExtInst 1(GLSL.std.450) 45(SClamp) 320 324 325 538 Store 286(i64v) 326 539 327: 52(i64vec2) Load 286(i64v) 540 328: 52(i64vec2) Load 286(i64v) 541 329: 52(i64vec2) SNegate 328 542 330: 52(i64vec2) Load 286(i64v) 543 331: 52(i64vec2) ExtInst 1(GLSL.std.450) 45(SClamp) 327 329 330 544 Store 286(i64v) 331 545 332:132(i64vec3) Load 299(u64v) 546 333: 14(int64_t) Load 301(u64) 547 334: 14(int64_t) SNegate 333 548 335: 14(int64_t) Load 301(u64) 549 336:132(i64vec3) CompositeConstruct 334 334 334 550 337:132(i64vec3) CompositeConstruct 335 335 335 551 338:132(i64vec3) ExtInst 1(GLSL.std.450) 44(UClamp) 332 336 337 552 Store 299(u64v) 338 553 339:132(i64vec3) Load 299(u64v) 554 340:132(i64vec3) Load 299(u64v) 555 341:132(i64vec3) SNegate 340 556 342:132(i64vec3) Load 299(u64v) 557 343:132(i64vec3) ExtInst 1(GLSL.std.450) 44(UClamp) 339 341 342 558 Store 299(u64v) 343 559 344: 19(ptr) AccessChain 286(i64v) 227 560 345: 18(int64_t) Load 344 561 346: 19(ptr) AccessChain 286(i64v) 203 562 347: 18(int64_t) Load 346 563 349: 18(int64_t) Select 348 347 345 564 Store 289(i64) 349 565 350: 18(int64_t) Load 289(i64) 566 351: 52(i64vec2) CompositeConstruct 350 350 567 352: 18(int64_t) Load 289(i64) 568 353: 18(int64_t) SNegate 352 569 354: 52(i64vec2) CompositeConstruct 353 353 570 357: 52(i64vec2) Select 356 354 351 571 Store 286(i64v) 357 572 358: 40(ptr) AccessChain 299(u64v) 227 573 359: 14(int64_t) Load 358 574 360: 40(ptr) AccessChain 299(u64v) 203 575 361: 14(int64_t) Load 360 576 362: 14(int64_t) Select 348 361 359 577 Store 301(u64) 362 578 363: 14(int64_t) Load 301(u64) 579 364:132(i64vec3) CompositeConstruct 363 363 363 580 365: 14(int64_t) Load 301(u64) 581 366: 14(int64_t) SNegate 365 582 367:132(i64vec3) CompositeConstruct 366 366 366 583 370:132(i64vec3) Select 369 367 364 584 Store 299(u64v) 370 585 374:371(f64vec3) Load 373(dv) 586 375: 95(f64vec2) VectorShuffle 374 374 0 1 587 376: 52(i64vec2) Bitcast 375 588 Store 286(i64v) 376 589 378: 377(ptr) AccessChain 373(dv) 217 590 379:94(float64_t) Load 378 591 380: 14(int64_t) Bitcast 379 592 381: 40(ptr) AccessChain 299(u64v) 227 593 Store 381 380 594 382: 52(i64vec2) Load 286(i64v) 595 383: 95(f64vec2) Bitcast 382 596 384: 377(ptr) AccessChain 373(dv) 227 597 385:94(float64_t) CompositeExtract 383 0 598 Store 384 385 599 386: 377(ptr) AccessChain 373(dv) 203 600 387:94(float64_t) CompositeExtract 383 1 601 Store 386 387 602 388:132(i64vec3) Load 299(u64v) 603 389:371(f64vec3) Bitcast 388 604 Store 373(dv) 389 605 393: 18(int64_t) Bitcast 392 606 Store 289(i64) 393 607 395: 18(int64_t) Load 289(i64) 608 396: 74(ivec2) Bitcast 395 609 Store 394(iv) 396 610 398: 14(int64_t) Bitcast 397 611 Store 301(u64) 398 612 400: 14(int64_t) Load 301(u64) 613 401: 81(ivec2) Bitcast 400 614 Store 399(uv) 401 615 404:132(i64vec3) Load 299(u64v) 616 405: 14(int64_t) Load 301(u64) 617 406:132(i64vec3) CompositeConstruct 405 405 405 618 407: 368(bvec3) ULessThan 404 406 619 Store 403(bv) 407 620 408: 52(i64vec2) Load 286(i64v) 621 409: 18(int64_t) Load 289(i64) 622 410: 52(i64vec2) CompositeConstruct 409 409 623 411: 56(bvec2) SLessThan 408 410 624 412: 225(ptr) AccessChain 403(bv) 227 625 413: 55(bool) CompositeExtract 411 0 626 Store 412 413 627 414: 225(ptr) AccessChain 403(bv) 203 628 415: 55(bool) CompositeExtract 411 1 629 Store 414 415 630 416:132(i64vec3) Load 299(u64v) 631 417: 14(int64_t) Load 301(u64) 632 418:132(i64vec3) CompositeConstruct 417 417 417 633 419: 368(bvec3) ULessThanEqual 416 418 634 Store 403(bv) 419 635 420: 52(i64vec2) Load 286(i64v) 636 421: 18(int64_t) Load 289(i64) 637 422: 52(i64vec2) CompositeConstruct 421 421 638 423: 56(bvec2) SLessThanEqual 420 422 639 424: 225(ptr) AccessChain 403(bv) 227 640 425: 55(bool) CompositeExtract 423 0 641 Store 424 425 642 426: 225(ptr) AccessChain 403(bv) 203 643 427: 55(bool) CompositeExtract 423 1 644 Store 426 427 645 428:132(i64vec3) Load 299(u64v) 646 429: 14(int64_t) Load 301(u64) 647 430:132(i64vec3) CompositeConstruct 429 429 429 648 431: 368(bvec3) UGreaterThan 428 430 649 Store 403(bv) 431 650 432: 52(i64vec2) Load 286(i64v) 651 433: 18(int64_t) Load 289(i64) 652 434: 52(i64vec2) CompositeConstruct 433 433 653 435: 56(bvec2) SGreaterThan 432 434 654 436: 225(ptr) AccessChain 403(bv) 227 655 437: 55(bool) CompositeExtract 435 0 656 Store 436 437 657 438: 225(ptr) AccessChain 403(bv) 203 658 439: 55(bool) CompositeExtract 435 1 659 Store 438 439 660 440:132(i64vec3) Load 299(u64v) 661 441: 14(int64_t) Load 301(u64) 662 442:132(i64vec3) CompositeConstruct 441 441 441 663 443: 368(bvec3) UGreaterThanEqual 440 442 664 Store 403(bv) 443 665 444: 52(i64vec2) Load 286(i64v) 666 445: 18(int64_t) Load 289(i64) 667 446: 52(i64vec2) CompositeConstruct 445 445 668 447: 56(bvec2) SGreaterThanEqual 444 446 669 448: 225(ptr) AccessChain 403(bv) 227 670 449: 55(bool) CompositeExtract 447 0 671 Store 448 449 672 450: 225(ptr) AccessChain 403(bv) 203 673 451: 55(bool) CompositeExtract 447 1 674 Store 450 451 675 452:132(i64vec3) Load 299(u64v) 676 453: 14(int64_t) Load 301(u64) 677 454:132(i64vec3) CompositeConstruct 453 453 453 678 455: 368(bvec3) IEqual 452 454 679 Store 403(bv) 455 680 456: 52(i64vec2) Load 286(i64v) 681 457: 18(int64_t) Load 289(i64) 682 458: 52(i64vec2) CompositeConstruct 457 457 683 459: 56(bvec2) IEqual 456 458 684 460: 225(ptr) AccessChain 403(bv) 227 685 461: 55(bool) CompositeExtract 459 0 686 Store 460 461 687 462: 225(ptr) AccessChain 403(bv) 203 688 463: 55(bool) CompositeExtract 459 1 689 Store 462 463 690 464:132(i64vec3) Load 299(u64v) 691 465: 14(int64_t) Load 301(u64) 692 466:132(i64vec3) CompositeConstruct 465 465 465 693 467: 368(bvec3) INotEqual 464 466 694 Store 403(bv) 467 695 468: 52(i64vec2) Load 286(i64v) 696 469: 18(int64_t) Load 289(i64) 697 470: 52(i64vec2) CompositeConstruct 469 469 698 471: 56(bvec2) INotEqual 468 470 699 472: 225(ptr) AccessChain 403(bv) 227 700 473: 55(bool) CompositeExtract 471 0 701 Store 472 473 702 474: 225(ptr) AccessChain 403(bv) 203 703 475: 55(bool) CompositeExtract 471 1 704 Store 474 475 705 476: 14(int64_t) Load 301(u64) 706 477: 18(int64_t) ExtInst 1(GLSL.std.450) 73(FindILsb) 476 707 Store 289(i64) 477 708 478: 14(int64_t) Load 301(u64) 709 479: 65(i64vec2) CompositeConstruct 478 478 710 480: 52(i64vec2) ExtInst 1(GLSL.std.450) 73(FindILsb) 479 711 Store 286(i64v) 480 712 481: 14(int64_t) Load 301(u64) 713 482: 18(int64_t) BitCount 481 714 Store 289(i64) 482 715 483: 14(int64_t) Load 301(u64) 716 484: 65(i64vec2) CompositeConstruct 483 483 717 485: 52(i64vec2) BitCount 484 718 Store 286(i64v) 485 719 Return 720 FunctionEnd 721