| spv.longVectorBuiltinsint16.comp |
| // Module Version 10300 |
| // Generated by (magic number): 8000b |
| // Id's are bound by 106 |
| |
| Capability Shader |
| Capability Int16 |
| Capability LongVectorEXT |
| Capability ExpectAssumeKHR |
| Extension "SPV_EXT_long_vector" |
| Extension "SPV_KHR_expect_assume" |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint GLCompute 4 "main" |
| ExecutionMode 4 LocalSize 64 1 1 |
| Source GLSL 450 |
| SourceExtension "GL_EXT_buffer_reference" |
| SourceExtension "GL_EXT_expect_assume" |
| SourceExtension "GL_EXT_long_vector" |
| SourceExtension "GL_EXT_shader_explicit_arithmetic_types" |
| SourceExtension "GL_KHR_memory_scope_semantics" |
| Name 4 "main" |
| Name 9 "vi" |
| Name 12 "i" |
| Name 41 "vb" |
| Name 64 "tempArg" |
| Name 65 "tempArg" |
| Name 66 "ResType" |
| Decorate 105 BuiltIn WorkgroupSize |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeInt 16 1 |
| 7: TypeVector 6(int16_t) 5 |
| 8: TypePointer Function 7(i16vec) |
| 11: TypePointer Function 6(int16_t) |
| 38: TypeBool |
| 39: TypeVector 38(bool) 5 |
| 40: TypePointer Function 39(bvec) |
| 66(ResType): TypeStruct 7(i16vec) 7(i16vec) |
| 74: TypeInt 32 1 |
| 101: TypeInt 32 0 |
| 102: TypeVector 101(int) 3 |
| 103: 101(int) Constant 64 |
| 104: 101(int) Constant 1 |
| 105: 102(ivec3) ConstantComposite 103 104 104 |
| 4(main): 2 Function None 3 |
| 5: Label |
| 9(vi): 8(ptr) Variable Function |
| 12(i): 11(ptr) Variable Function |
| 41(vb): 40(ptr) Variable Function |
| 64(tempArg): 8(ptr) Variable Function |
| 65(tempArg): 8(ptr) Variable Function |
| 10: 7(i16vec) Load 9(vi) |
| 13: 6(int16_t) Load 12(i) |
| 14: 7(i16vec) CompositeConstruct 13 13 13 13 13 |
| 15: 7(i16vec) ExtInst 1(GLSL.std.450) 39(SMin) 10 14 |
| Store 9(vi) 15 |
| 16: 7(i16vec) Load 9(vi) |
| 17: 7(i16vec) Load 9(vi) |
| 18: 7(i16vec) ExtInst 1(GLSL.std.450) 39(SMin) 16 17 |
| Store 9(vi) 18 |
| 19: 7(i16vec) Load 9(vi) |
| 20: 6(int16_t) Load 12(i) |
| 21: 7(i16vec) CompositeConstruct 20 20 20 20 20 |
| 22: 7(i16vec) ExtInst 1(GLSL.std.450) 42(SMax) 19 21 |
| Store 9(vi) 22 |
| 23: 7(i16vec) Load 9(vi) |
| 24: 7(i16vec) Load 9(vi) |
| 25: 7(i16vec) ExtInst 1(GLSL.std.450) 42(SMax) 23 24 |
| Store 9(vi) 25 |
| 26: 7(i16vec) Load 9(vi) |
| 27: 6(int16_t) Load 12(i) |
| 28: 6(int16_t) Load 12(i) |
| 29: 7(i16vec) CompositeConstruct 27 27 27 27 27 |
| 30: 7(i16vec) CompositeConstruct 28 28 28 28 28 |
| 31: 7(i16vec) ExtInst 1(GLSL.std.450) 45(SClamp) 26 29 30 |
| Store 9(vi) 31 |
| 32: 7(i16vec) Load 9(vi) |
| 33: 7(i16vec) Load 9(vi) |
| 34: 7(i16vec) Load 9(vi) |
| 35: 7(i16vec) ExtInst 1(GLSL.std.450) 45(SClamp) 32 33 34 |
| Store 9(vi) 35 |
| 36: 7(i16vec) Load 9(vi) |
| 37: 7(i16vec) Load 9(vi) |
| 42: 39(bvec) Load 41(vb) |
| 43: 7(i16vec) Select 42 37 36 |
| Store 9(vi) 43 |
| 44: 7(i16vec) Load 9(vi) |
| 45: 7(i16vec) Load 9(vi) |
| 46: 39(bvec) SLessThan 44 45 |
| Store 41(vb) 46 |
| 47: 7(i16vec) Load 9(vi) |
| 48: 7(i16vec) Load 9(vi) |
| 49: 39(bvec) SLessThanEqual 47 48 |
| Store 41(vb) 49 |
| 50: 7(i16vec) Load 9(vi) |
| 51: 7(i16vec) Load 9(vi) |
| 52: 39(bvec) SGreaterThan 50 51 |
| Store 41(vb) 52 |
| 53: 7(i16vec) Load 9(vi) |
| 54: 7(i16vec) Load 9(vi) |
| 55: 39(bvec) SGreaterThanEqual 53 54 |
| Store 41(vb) 55 |
| 56: 7(i16vec) Load 9(vi) |
| 57: 7(i16vec) Load 9(vi) |
| 58: 39(bvec) IEqual 56 57 |
| Store 41(vb) 58 |
| 59: 7(i16vec) Load 9(vi) |
| 60: 7(i16vec) Load 9(vi) |
| 61: 39(bvec) INotEqual 59 60 |
| Store 41(vb) 61 |
| 62: 7(i16vec) Load 9(vi) |
| 63: 7(i16vec) Load 9(vi) |
| 67: 66(ResType) SMulExtended 62 63 |
| 68: 7(i16vec) CompositeExtract 67 0 |
| Store 65(tempArg) 68 |
| 69: 7(i16vec) CompositeExtract 67 1 |
| Store 64(tempArg) 69 |
| 70: 7(i16vec) Load 64(tempArg) |
| Store 9(vi) 70 |
| 71: 7(i16vec) Load 65(tempArg) |
| Store 9(vi) 71 |
| 72: 7(i16vec) Load 9(vi) |
| 73: 6(int16_t) Load 12(i) |
| 75: 74(int) SConvert 73 |
| 76: 6(int16_t) Load 12(i) |
| 77: 74(int) SConvert 76 |
| 78: 7(i16vec) BitFieldSExtract 72 75 77 |
| Store 9(vi) 78 |
| 79: 7(i16vec) Load 9(vi) |
| 80: 7(i16vec) Load 9(vi) |
| 81: 6(int16_t) Load 12(i) |
| 82: 74(int) SConvert 81 |
| 83: 6(int16_t) Load 12(i) |
| 84: 74(int) SConvert 83 |
| 85: 7(i16vec) BitFieldInsert 79 80 82 84 |
| Store 9(vi) 85 |
| 86: 7(i16vec) Load 9(vi) |
| 87: 7(i16vec) BitReverse 86 |
| Store 9(vi) 87 |
| 88: 7(i16vec) Load 9(vi) |
| 89: 7(i16vec) BitCount 88 |
| Store 9(vi) 89 |
| 90: 7(i16vec) Load 9(vi) |
| 91: 7(i16vec) Load 9(vi) |
| 92: 39(bvec) Load 41(vb) |
| 93: 7(i16vec) Select 92 91 90 |
| Store 9(vi) 93 |
| 94: 39(bvec) Load 41(vb) |
| 95: 39(bvec) Load 41(vb) |
| 96: 39(bvec) Load 41(vb) |
| 97: 39(bvec) Select 96 95 94 |
| Store 41(vb) 97 |
| 98: 7(i16vec) Load 9(vi) |
| 99: 7(i16vec) Load 9(vi) |
| 100: 7(i16vec) ExpectKHR 98 99 |
| Store 9(vi) 100 |
| Return |
| FunctionEnd |