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