yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
08f27157
16.3.0
1spv.shader.abort.comp 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 145 5 6 Capability Shader 7 Capability Int8 8 Capability AbortKHR 9 Capability ConstantDataKHR 10 Extension "SPV_KHR_abort" 11 Extension "SPV_KHR_constant_data" 12 1: ExtInstImport "GLSL.std.450" 13 MemoryModel Logical GLSL450 14 EntryPoint GLCompute 4 "main" 20 50 15 ExecutionMode 4 LocalSize 1 1 1 16 Source GLSL 450 17 SourceExtension "GL_EXT_abort" 18 Name 4 "main" 19 Name 8 "abortOne(" 20 Name 10 "abortTwo(" 21 Name 12 "abortThree(" 22 Name 14 "abortFour(" 23 Name 16 "abortFive(" 24 Name 18 "Output" 25 MemberName 18(Output) 0 "value" 26 Name 20 "outputBuffer" 27 Name 38 "abortMessageLoadType" 28 Name 39 "abortMessage" 29 Name 50 "gl_GlobalInvocationID" 30 Name 62 "abortMessageLoadType" 31 Name 63 "abortMessage" 32 Name 72 "abortMessageLoadType" 33 Name 73 "abortMessage" 34 Name 79 "i" 35 Name 106 "abortMessageLoadType" 36 Name 107 "abortMessage" 37 Name 119 "abortMessageLoadType" 38 Name 120 "abortMessage" 39 Name 128 "abortMessageLoadType" 40 Name 129 "abortMessage" 41 Name 140 "abortMessageLoadType" 42 Name 141 "abortMessage" 43 Decorate 18(Output) Block 44 MemberDecorate 18(Output) 0 Offset 0 45 Decorate 20(outputBuffer) Binding 0 46 Decorate 20(outputBuffer) DescriptorSet 0 47 Decorate 28 UTF8EncodedKHR 48 Decorate 29 UTF8EncodedKHR 49 Decorate 33 UTF8EncodedKHR 50 Decorate 34 UTF8EncodedKHR 51 MemberDecorate 38(abortMessageLoadType) 0 Offset 0 52 MemberDecorate 38(abortMessageLoadType) 1 Offset 12 53 MemberDecorate 38(abortMessageLoadType) 2 Offset 16 54 Decorate 50(gl_GlobalInvocationID) BuiltIn GlobalInvocationId 55 Decorate 59 UTF8EncodedKHR 56 Decorate 60 UTF8EncodedKHR 57 MemberDecorate 62(abortMessageLoadType) 0 Offset 0 58 Decorate 69 UTF8EncodedKHR 59 Decorate 70 UTF8EncodedKHR 60 MemberDecorate 72(abortMessageLoadType) 0 Offset 0 61 Decorate 89 UTF8EncodedKHR 62 Decorate 90 UTF8EncodedKHR 63 Decorate 93 UTF8EncodedKHR 64 Decorate 94 UTF8EncodedKHR 65 Decorate 96 UTF8EncodedKHR 66 Decorate 97 UTF8EncodedKHR 67 Decorate 100 UTF8EncodedKHR 68 Decorate 101 UTF8EncodedKHR 69 MemberDecorate 106(abortMessageLoadType) 0 Offset 0 70 MemberDecorate 106(abortMessageLoadType) 1 Offset 44 71 MemberDecorate 106(abortMessageLoadType) 2 Offset 48 72 MemberDecorate 106(abortMessageLoadType) 3 Offset 52 73 MemberDecorate 106(abortMessageLoadType) 4 Offset 56 74 MemberDecorate 106(abortMessageLoadType) 5 Offset 60 75 Decorate 114 UTF8EncodedKHR 76 Decorate 115 UTF8EncodedKHR 77 MemberDecorate 119(abortMessageLoadType) 0 Offset 0 78 MemberDecorate 119(abortMessageLoadType) 1 Offset 4 79 Decorate 125 UTF8EncodedKHR 80 Decorate 126 UTF8EncodedKHR 81 MemberDecorate 128(abortMessageLoadType) 0 Offset 0 82 Decorate 137 UTF8EncodedKHR 83 Decorate 138 UTF8EncodedKHR 84 MemberDecorate 140(abortMessageLoadType) 0 Offset 0 85 Decorate 144 BuiltIn WorkgroupSize 86 2: TypeVoid 87 3: TypeFunction 2 88 6: TypeInt 32 0 89 7: TypeFunction 6(int) 90 18(Output): TypeStruct 6(int) 91 19: TypePointer StorageBuffer 18(Output) 9220(outputBuffer): 19(ptr) Variable StorageBuffer 93 21: TypeInt 32 1 94 22: 21(int) Constant 0 95 23: 6(int) Constant 1 96 24: TypePointer StorageBuffer 6(int) 97 26: TypeInt 8 1 98 27: 6(int) Constant 12 99 28: TypeArray 26(int8_t) 27 100 29: TypeArray 26(int8_t) 27 101 30: 28 ConstantDataKHR "abortOne:" 102 31: 6(int) Constant 4 103 32: 6(int) SpecConstant 4 104 33: TypeArray 26(int8_t) 32 105 34: TypeArray 26(int8_t) 32 106 35: 33 SpecConstantDataKHR "%d" 10738(abortMessageLoadType): TypeStruct 29 34 6(int) 10839(abortMessage): TypeStruct 28 33 6(int) 109 46: 6(int) Constant 2 110 48: TypeVector 6(int) 3 111 49: TypePointer Input 48(ivec3) 11250(gl_GlobalInvocationID): 49(ptr) Variable Input 113 51: 6(int) Constant 0 114 52: TypePointer Input 6(int) 115 55: TypeBool 116 59: TypeArray 26(int8_t) 27 117 60: TypeArray 26(int8_t) 27 118 61: 59 ConstantDataKHR "abortTwo" 11962(abortMessageLoadType): TypeStruct 60 12063(abortMessage): TypeStruct 59 121 66: 6(int) Constant 3 122 69: TypeArray 26(int8_t) 31 123 70: TypeArray 26(int8_t) 31 124 71: 69 ConstantDataKHR "" 12572(abortMessageLoadType): TypeStruct 70 12673(abortMessage): TypeStruct 69 127 78: TypePointer Function 21(int) 128 86: 21(int) Constant 3 129 88: 6(int) Constant 44 130 89: TypeArray 26(int8_t) 88 131 90: TypeArray 26(int8_t) 88 132 91: 89 ConstantDataKHR "Iteration exceeded limit: in invocation " 133 92: 6(int) SpecConstant 4 134 93: TypeArray 26(int8_t) 92 135 94: TypeArray 26(int8_t) 92 136 95: 93 SpecConstantDataKHR "%i" 137 96: TypeArray 26(int8_t) 31 138 97: TypeArray 26(int8_t) 31 139 98: 96 ConstantDataKHR " " 140 99: 6(int) SpecConstant 4 141 100: TypeArray 26(int8_t) 99 142 101: TypeArray 26(int8_t) 99 143 102: 100 SpecConstantDataKHR "%u" 144106(abortMessageLoadType): TypeStruct 90 94 97 101 21(int) 6(int) 145107(abortMessage): TypeStruct 89 93 96 100 21(int) 6(int) 146 111: 21(int) Constant 1 147 114: TypeArray 26(int8_t) 31 148 115: TypeArray 26(int8_t) 31 149 116: 114 ConstantDataKHR "" 150119(abortMessageLoadType): TypeStruct 115 6(int) 151120(abortMessage): TypeStruct 114 6(int) 152 125: TypeArray 26(int8_t) 31 153 126: TypeArray 26(int8_t) 31 154 127: 125 ConstantDataKHR "" 155128(abortMessageLoadType): TypeStruct 126 156129(abortMessage): TypeStruct 125 157 137: TypeArray 26(int8_t) 31 158 138: TypeArray 26(int8_t) 31 159 139: 137 ConstantDataKHR "" 160140(abortMessageLoadType): TypeStruct 138 161141(abortMessage): TypeStruct 137 162 144: 48(ivec3) ConstantComposite 23 23 23 163 4(main): 2 Function None 3 164 5: Label 165 124: 24(ptr) AccessChain 20(outputBuffer) 22 166 Store 124 51 167 130:129(abortMessage) CompositeConstruct 127 168 AbortKHR 128(abortMessageLoadType) 130 169 FunctionEnd 170 8(abortOne(): 6(int) Function None 7 171 9: Label 172 25: 24(ptr) AccessChain 20(outputBuffer) 22 173 Store 25 23 174 36: 24(ptr) AccessChain 20(outputBuffer) 22 175 37: 6(int) Load 36 176 40:39(abortMessage) CompositeConstruct 30 35 37 177 AbortKHR 38(abortMessageLoadType) 40 178 FunctionEnd 179 10(abortTwo(): 2 Function None 3 180 11: Label 181 47: 24(ptr) AccessChain 20(outputBuffer) 22 182 Store 47 46 183 53: 52(ptr) AccessChain 50(gl_GlobalInvocationID) 51 184 54: 6(int) Load 53 185 56: 55(bool) IEqual 54 23 186 SelectionMerge 58 None 187 BranchConditional 56 57 58 188 57: Label 189 64:63(abortMessage) CompositeConstruct 61 190 AbortKHR 62(abortMessageLoadType) 64 191 58: Label 192 Return 193 FunctionEnd 194 12(abortThree(): 2 Function None 3 195 13: Label 196 74:73(abortMessage) CompositeConstruct 71 197 AbortKHR 72(abortMessageLoadType) 74 198 FunctionEnd 199 14(abortFour(): 2 Function None 3 200 15: Label 201 79(i): 78(ptr) Variable Function 202 Store 79(i) 22 203 Branch 80 204 80: Label 205 LoopMerge 82 83 None 206 Branch 84 207 84: Label 208 85: 21(int) Load 79(i) 209 87: 55(bool) SLessThan 85 86 210 BranchConditional 87 81 82 211 81: Label 212 103: 21(int) Load 79(i) 213 104: 52(ptr) AccessChain 50(gl_GlobalInvocationID) 51 214 105: 6(int) Load 104 215 108:107(abortMessage) CompositeConstruct 91 95 98 102 103 105 216 AbortKHR 106(abortMessageLoadType) 108 217 83: Label 218 Branch 80 219 82: Label 220 Return 221 FunctionEnd 222 16(abortFive(): 2 Function None 3 223 17: Label 224 117: 24(ptr) AccessChain 20(outputBuffer) 22 225 118: 6(int) Load 117 226 121:120(abortMessage) CompositeConstruct 116 118 227 AbortKHR 119(abortMessageLoadType) 121 228 FunctionEnd