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