spv.shader.abort.comp // Module Version 10400 // Generated by (magic number): 8000b // Id's are bound by 126 Capability Shader Capability Int8 Capability AbortKHR Capability ConstantDataKHR Extension "SPV_KHR_abort" Extension "SPV_KHR_constant_data" 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint GLCompute 4 "main" 20 45 ExecutionMode 4 LocalSize 1 1 1 Source GLSL 450 SourceExtension "GL_EXT_abort" Name 4 "main" Name 8 "abortOne(" Name 10 "abortTwo(" Name 12 "abortThree(" Name 14 "abortFour(" Name 16 "abortFive(" Name 18 "Output" MemberName 18(Output) 0 "value" Name 20 "outputBuffer" Name 33 "abortMessageValueType" Name 34 "abortMessageLoadType" Name 45 "gl_GlobalInvocationID" Name 56 "abortMessageValueType" Name 57 "abortMessageLoadType" Name 67 "abortMessageValueType" Name 68 "abortMessageLoadType" Name 74 "i" Name 90 "abortMessageValueType" Name 91 "abortMessageLoadType" Name 102 "abortMessageValueType" Name 103 "abortMessageLoadType" Name 110 "abortMessageValueType" Name 111 "abortMessageLoadType" Name 121 "abortMessageValueType" Name 122 "abortMessageLoadType" Decorate 18(Output) Block MemberDecorate 18(Output) 0 Offset 0 Decorate 20(outputBuffer) Binding 0 Decorate 20(outputBuffer) DescriptorSet 0 Decorate 28 UTFEncodedKHR Decorate 29 ArrayStride 1 Decorate 29 UTFEncodedKHR MemberDecorate 34(abortMessageLoadType) 0 Offset 0 MemberDecorate 34(abortMessageLoadType) 1 Offset 12 Decorate 45(gl_GlobalInvocationID) BuiltIn GlobalInvocationId Decorate 54 ArrayStride 1 Decorate 54 UTFEncodedKHR MemberDecorate 57(abortMessageLoadType) 0 Offset 0 Decorate 64 UTFEncodedKHR Decorate 65 ArrayStride 1 Decorate 65 UTFEncodedKHR MemberDecorate 68(abortMessageLoadType) 0 Offset 0 Decorate 84 UTFEncodedKHR Decorate 85 ArrayStride 1 Decorate 85 UTFEncodedKHR MemberDecorate 91(abortMessageLoadType) 0 Offset 0 MemberDecorate 91(abortMessageLoadType) 1 Offset 48 MemberDecorate 91(abortMessageLoadType) 2 Offset 52 Decorate 98 ArrayStride 1 Decorate 98 UTFEncodedKHR MemberDecorate 103(abortMessageLoadType) 0 Offset 0 MemberDecorate 103(abortMessageLoadType) 1 Offset 4 Decorate 108 ArrayStride 1 Decorate 108 UTFEncodedKHR MemberDecorate 111(abortMessageLoadType) 0 Offset 0 Decorate 119 ArrayStride 1 Decorate 119 UTFEncodedKHR MemberDecorate 122(abortMessageLoadType) 0 Offset 0 Decorate 125 BuiltIn WorkgroupSize 2: TypeVoid 3: TypeFunction 2 6: TypeInt 32 0 7: TypeFunction 6(int) 18(Output): TypeStruct 6(int) 19: TypePointer StorageBuffer 18(Output) 20(outputBuffer): 19(ptr) Variable StorageBuffer 21: TypeInt 32 1 22: 21(int) Constant 0 23: 6(int) Constant 1 24: TypePointer StorageBuffer 6(int) 26: TypeInt 8 1 27: 6(int) Constant 12 28: TypeArray 26(int8_t) 27 29: TypeArray 26(int8_t) 27 30: 28 ConstantDataKHR "abortOne:%d" 33(abortMessageValueType): TypeStruct 28 6(int) 34(abortMessageLoadType): TypeStruct 29 6(int) 41: 6(int) Constant 2 43: TypeVector 6(int) 3 44: TypePointer Input 43(ivec3) 45(gl_GlobalInvocationID): 44(ptr) Variable Input 46: 6(int) Constant 0 47: TypePointer Input 6(int) 50: TypeBool 54: TypeArray 26(int8_t) 27 55: 28 ConstantDataKHR "abortTwo" 56(abortMessageValueType): TypeStruct 28 57(abortMessageLoadType): TypeStruct 54 60: 6(int) Constant 3 63: 6(int) Constant 4 64: TypeArray 26(int8_t) 63 65: TypeArray 26(int8_t) 63 66: 64 ConstantDataKHR "" 67(abortMessageValueType): TypeStruct 64 68(abortMessageLoadType): TypeStruct 65 73: TypePointer Function 21(int) 81: 21(int) Constant 3 83: 6(int) Constant 48 84: TypeArray 26(int8_t) 83 85: TypeArray 26(int8_t) 83 86: 84 ConstantDataKHR "Iteration exceeded limit: in invocation %i %u" 90(abortMessageValueType): TypeStruct 84 21(int) 6(int) 91(abortMessageLoadType): TypeStruct 85 21(int) 6(int) 95: 21(int) Constant 1 98: TypeArray 26(int8_t) 63 99: 64 ConstantDataKHR "" 102(abortMessageValueType): TypeStruct 64 6(int) 103(abortMessageLoadType): TypeStruct 98 6(int) 108: TypeArray 26(int8_t) 63 109: 64 ConstantDataKHR "" 110(abortMessageValueType): TypeStruct 64 111(abortMessageLoadType): TypeStruct 108 119: TypeArray 26(int8_t) 63 120: 64 ConstantDataKHR "" 121(abortMessageValueType): TypeStruct 64 122(abortMessageLoadType): TypeStruct 119 125: 43(ivec3) ConstantComposite 23 23 23 4(main): 2 Function None 3 5: Label 107: 24(ptr) AccessChain 20(outputBuffer) 22 Store 107 46 112:110(abortMessageValueType) CompositeConstruct 109 AbortKHR 111(abortMessageLoadType) 112 FunctionEnd 8(abortOne(): 6(int) Function None 7 9: Label 25: 24(ptr) AccessChain 20(outputBuffer) 22 Store 25 23 31: 24(ptr) AccessChain 20(outputBuffer) 22 32: 6(int) Load 31 35:33(abortMessageValueType) CompositeConstruct 30 32 AbortKHR 34(abortMessageLoadType) 35 FunctionEnd 10(abortTwo(): 2 Function None 3 11: Label 42: 24(ptr) AccessChain 20(outputBuffer) 22 Store 42 41 48: 47(ptr) AccessChain 45(gl_GlobalInvocationID) 46 49: 6(int) Load 48 51: 50(bool) IEqual 49 23 SelectionMerge 53 None BranchConditional 51 52 53 52: Label 58:56(abortMessageValueType) CompositeConstruct 55 AbortKHR 57(abortMessageLoadType) 58 53: Label Return FunctionEnd 12(abortThree(): 2 Function None 3 13: Label 69:67(abortMessageValueType) CompositeConstruct 66 AbortKHR 68(abortMessageLoadType) 69 FunctionEnd 14(abortFour(): 2 Function None 3 15: Label 74(i): 73(ptr) Variable Function Store 74(i) 22 Branch 75 75: Label LoopMerge 77 78 None Branch 79 79: Label 80: 21(int) Load 74(i) 82: 50(bool) SLessThan 80 81 BranchConditional 82 76 77 76: Label 87: 21(int) Load 74(i) 88: 47(ptr) AccessChain 45(gl_GlobalInvocationID) 46 89: 6(int) Load 88 92:90(abortMessageValueType) CompositeConstruct 86 87 89 AbortKHR 91(abortMessageLoadType) 92 78: Label Branch 75 77: Label Return FunctionEnd 16(abortFive(): 2 Function None 3 17: Label 100: 24(ptr) AccessChain 20(outputBuffer) 22 101: 6(int) Load 100 104:102(abortMessageValueType) CompositeConstruct 99 101 AbortKHR 103(abortMessageLoadType) 104 FunctionEnd