1spv.int64.frag 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 80007 5// Id's are bound by 489 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 392 "iv" 48 Name 397 "uv" 49 Name 401 "bv" 50 Name 462 "Block" 51 MemberName 462(Block) 0 "i64v" 52 MemberName 462(Block) 1 "u64" 53 Name 464 "block" 54 Name 465 "si64" 55 Name 466 "su64" 56 Name 467 "si" 57 Name 468 "su" 58 Name 469 "sb" 59 Name 470 "su64inc" 60 Name 471 "i64_to_b" 61 Name 472 "u64_to_b" 62 Name 473 "b_to_i64" 63 Name 474 "b_to_u64" 64 Name 475 "i64_to_i" 65 Name 476 "i_to_i64" 66 Name 477 "u64_to_u" 67 Name 478 "u_to_u64" 68 Name 479 "u64_to_i64" 69 Name 480 "i64_to_u64" 70 Name 482 "u64_to_i" 71 Name 484 "i_to_u64" 72 Name 486 "i64_to_u" 73 Name 488 "u_to_i64" 74 MemberDecorate 28(Uniforms) 0 Offset 0 75 Decorate 28(Uniforms) Block 76 Decorate 30 DescriptorSet 0 77 Decorate 30 Binding 0 78 MemberDecorate 462(Block) 0 Offset 0 79 MemberDecorate 462(Block) 1 Offset 24 80 Decorate 462(Block) Block 81 Decorate 464(block) DescriptorSet 0 82 Decorate 464(block) Binding 1 83 Decorate 465(si64) SpecId 100 84 Decorate 466(su64) SpecId 101 85 Decorate 467(si) SpecId 102 86 Decorate 468(su) SpecId 103 87 Decorate 469(sb) SpecId 104 88 Decorate 470(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 388: 31(int) Constant 1 165 389: 31(int) Constant 2 166 390: 74(ivec2) ConstantComposite 388 389 167 395: 81(ivec2) ConstantComposite 217 22 168 400: TypePointer Function 368(bvec3) 169 462(Block): TypeStruct 136(i64vec3) 14(int64_t) 170 463: TypePointer Uniform 462(Block) 171 464(block): 463(ptr) Variable Uniform 172 465(si64): 18(int64_t) SpecConstant 4294967286 4294967295 173 466(su64): 14(int64_t) SpecConstant 20 0 174 467(si): 31(int) SpecConstant 4294967291 175 468(su): 21(int) SpecConstant 4 176 469(sb): 55(bool) SpecConstantTrue 177 470(su64inc): 14(int64_t) SpecConstantOp 128 466(su64) 70 178 471(i64_to_b): 55(bool) SpecConstantOp 171 465(si64) 69 179 472(u64_to_b): 55(bool) SpecConstantOp 171 466(su64) 69 180 473(b_to_i64): 18(int64_t) SpecConstantOp 169 469(sb) 61 60 181 474(b_to_u64): 14(int64_t) SpecConstantOp 169 469(sb) 70 69 182 475(i64_to_i): 31(int) SpecConstantOp 114 465(si64) 183 476(i_to_i64): 18(int64_t) SpecConstantOp 114 467(si) 184 477(u64_to_u): 21(int) SpecConstantOp 113 466(su64) 185 478(u_to_u64): 14(int64_t) SpecConstantOp 113 468(su) 186 479(u64_to_i64): 18(int64_t) SpecConstantOp 128 466(su64) 69 187 480(i64_to_u64): 14(int64_t) SpecConstantOp 128 465(si64) 69 188 481: 21(int) SpecConstantOp 113 466(su64) 189 482(u64_to_i): 31(int) SpecConstantOp 128 481 227 190 483: 18(int64_t) SpecConstantOp 114 467(si) 191 484(i_to_u64): 14(int64_t) SpecConstantOp 128 483 69 192 485: 31(int) SpecConstantOp 114 465(si64) 193 486(i64_to_u): 21(int) SpecConstantOp 128 485 227 194 487: 14(int64_t) SpecConstantOp 113 468(su) 195 488(u_to_i64): 18(int64_t) SpecConstantOp 128 487 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 392(iv): 75(ptr) Variable Function 491 397(uv): 82(ptr) Variable Function 492 401(bv): 400(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:371(f64vec3) Load 373(dv) 597 385:371(f64vec3) VectorShuffle 384 383 3 4 2 598 Store 373(dv) 385 599 386:132(i64vec3) Load 299(u64v) 600 387:371(f64vec3) Bitcast 386 601 Store 373(dv) 387 602 391: 18(int64_t) Bitcast 390 603 Store 289(i64) 391 604 393: 18(int64_t) Load 289(i64) 605 394: 74(ivec2) Bitcast 393 606 Store 392(iv) 394 607 396: 14(int64_t) Bitcast 395 608 Store 301(u64) 396 609 398: 14(int64_t) Load 301(u64) 610 399: 81(ivec2) Bitcast 398 611 Store 397(uv) 399 612 402:132(i64vec3) Load 299(u64v) 613 403: 14(int64_t) Load 301(u64) 614 404:132(i64vec3) CompositeConstruct 403 403 403 615 405: 368(bvec3) ULessThan 402 404 616 Store 401(bv) 405 617 406: 52(i64vec2) Load 286(i64v) 618 407: 18(int64_t) Load 289(i64) 619 408: 52(i64vec2) CompositeConstruct 407 407 620 409: 56(bvec2) SLessThan 406 408 621 410: 368(bvec3) Load 401(bv) 622 411: 368(bvec3) VectorShuffle 410 409 3 4 2 623 Store 401(bv) 411 624 412:132(i64vec3) Load 299(u64v) 625 413: 14(int64_t) Load 301(u64) 626 414:132(i64vec3) CompositeConstruct 413 413 413 627 415: 368(bvec3) ULessThanEqual 412 414 628 Store 401(bv) 415 629 416: 52(i64vec2) Load 286(i64v) 630 417: 18(int64_t) Load 289(i64) 631 418: 52(i64vec2) CompositeConstruct 417 417 632 419: 56(bvec2) SLessThanEqual 416 418 633 420: 368(bvec3) Load 401(bv) 634 421: 368(bvec3) VectorShuffle 420 419 3 4 2 635 Store 401(bv) 421 636 422:132(i64vec3) Load 299(u64v) 637 423: 14(int64_t) Load 301(u64) 638 424:132(i64vec3) CompositeConstruct 423 423 423 639 425: 368(bvec3) UGreaterThan 422 424 640 Store 401(bv) 425 641 426: 52(i64vec2) Load 286(i64v) 642 427: 18(int64_t) Load 289(i64) 643 428: 52(i64vec2) CompositeConstruct 427 427 644 429: 56(bvec2) SGreaterThan 426 428 645 430: 368(bvec3) Load 401(bv) 646 431: 368(bvec3) VectorShuffle 430 429 3 4 2 647 Store 401(bv) 431 648 432:132(i64vec3) Load 299(u64v) 649 433: 14(int64_t) Load 301(u64) 650 434:132(i64vec3) CompositeConstruct 433 433 433 651 435: 368(bvec3) UGreaterThanEqual 432 434 652 Store 401(bv) 435 653 436: 52(i64vec2) Load 286(i64v) 654 437: 18(int64_t) Load 289(i64) 655 438: 52(i64vec2) CompositeConstruct 437 437 656 439: 56(bvec2) SGreaterThanEqual 436 438 657 440: 368(bvec3) Load 401(bv) 658 441: 368(bvec3) VectorShuffle 440 439 3 4 2 659 Store 401(bv) 441 660 442:132(i64vec3) Load 299(u64v) 661 443: 14(int64_t) Load 301(u64) 662 444:132(i64vec3) CompositeConstruct 443 443 443 663 445: 368(bvec3) IEqual 442 444 664 Store 401(bv) 445 665 446: 52(i64vec2) Load 286(i64v) 666 447: 18(int64_t) Load 289(i64) 667 448: 52(i64vec2) CompositeConstruct 447 447 668 449: 56(bvec2) IEqual 446 448 669 450: 368(bvec3) Load 401(bv) 670 451: 368(bvec3) VectorShuffle 450 449 3 4 2 671 Store 401(bv) 451 672 452:132(i64vec3) Load 299(u64v) 673 453: 14(int64_t) Load 301(u64) 674 454:132(i64vec3) CompositeConstruct 453 453 453 675 455: 368(bvec3) INotEqual 452 454 676 Store 401(bv) 455 677 456: 52(i64vec2) Load 286(i64v) 678 457: 18(int64_t) Load 289(i64) 679 458: 52(i64vec2) CompositeConstruct 457 457 680 459: 56(bvec2) INotEqual 456 458 681 460: 368(bvec3) Load 401(bv) 682 461: 368(bvec3) VectorShuffle 460 459 3 4 2 683 Store 401(bv) 461 684 Return 685 FunctionEnd 686