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