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