spv.shader.abort.comp // Module Version 10400 // Generated by (magic number): 8000b // Id's are bound by 132 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 46 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 34 "abortMessageLoadType" Name 35 "abortMessage" Name 46 "gl_GlobalInvocationID" Name 58 "abortMessageLoadType" Name 59 "abortMessage" Name 69 "abortMessageLoadType" Name 70 "abortMessage" Name 76 "i" Name 93 "abortMessageLoadType" Name 94 "abortMessage" Name 106 "abortMessageLoadType" Name 107 "abortMessage" Name 115 "abortMessageLoadType" Name 116 "abortMessage" Name 127 "abortMessageLoadType" Name 128 "abortMessage" Decorate 18(Output) Block MemberDecorate 18(Output) 0 Offset 0 Decorate 20(outputBuffer) Binding 0 Decorate 20(outputBuffer) DescriptorSet 0 Decorate 29 UTFEncodedKHR Decorate 30 UTFEncodedKHR MemberDecorate 34(abortMessageLoadType) 0 Offset 0 MemberDecorate 34(abortMessageLoadType) 1 Offset 12 Decorate 46(gl_GlobalInvocationID) BuiltIn GlobalInvocationId Decorate 55 UTFEncodedKHR Decorate 56 UTFEncodedKHR MemberDecorate 58(abortMessageLoadType) 0 Offset 0 Decorate 66 UTFEncodedKHR Decorate 67 UTFEncodedKHR MemberDecorate 69(abortMessageLoadType) 0 Offset 0 Decorate 87 UTFEncodedKHR Decorate 88 UTFEncodedKHR MemberDecorate 93(abortMessageLoadType) 0 Offset 0 MemberDecorate 93(abortMessageLoadType) 1 Offset 48 MemberDecorate 93(abortMessageLoadType) 2 Offset 52 Decorate 101 UTFEncodedKHR Decorate 102 UTFEncodedKHR MemberDecorate 106(abortMessageLoadType) 0 Offset 0 MemberDecorate 106(abortMessageLoadType) 1 Offset 4 Decorate 112 UTFEncodedKHR Decorate 113 UTFEncodedKHR MemberDecorate 115(abortMessageLoadType) 0 Offset 0 Decorate 124 UTFEncodedKHR Decorate 125 UTFEncodedKHR MemberDecorate 127(abortMessageLoadType) 0 Offset 0 Decorate 131 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: 6(int) SpecConstant 12 29: TypeArray 26(int8_t) 28 30: TypeArray 26(int8_t) 28 31: 29 SpecConstantDataKHR "abortOne:%d" 34(abortMessageLoadType): TypeStruct 30 6(int) 35(abortMessage): TypeStruct 29 6(int) 42: 6(int) Constant 2 44: TypeVector 6(int) 3 45: TypePointer Input 44(ivec3) 46(gl_GlobalInvocationID): 45(ptr) Variable Input 47: 6(int) Constant 0 48: TypePointer Input 6(int) 51: TypeBool 55: TypeArray 26(int8_t) 27 56: TypeArray 26(int8_t) 27 57: 55 ConstantDataKHR "abortTwo" 58(abortMessageLoadType): TypeStruct 56 59(abortMessage): TypeStruct 55 62: 6(int) Constant 3 65: 6(int) Constant 4 66: TypeArray 26(int8_t) 65 67: TypeArray 26(int8_t) 65 68: 66 ConstantDataKHR "" 69(abortMessageLoadType): TypeStruct 67 70(abortMessage): TypeStruct 66 75: TypePointer Function 21(int) 83: 21(int) Constant 3 85: 6(int) Constant 48 86: 6(int) SpecConstant 48 87: TypeArray 26(int8_t) 86 88: TypeArray 26(int8_t) 86 89: 87 SpecConstantDataKHR "Iteration exceeded limit: in invocation %i %u" 93(abortMessageLoadType): TypeStruct 88 21(int) 6(int) 94(abortMessage): TypeStruct 87 21(int) 6(int) 98: 21(int) Constant 1 101: TypeArray 26(int8_t) 65 102: TypeArray 26(int8_t) 65 103: 101 ConstantDataKHR "" 106(abortMessageLoadType): TypeStruct 102 6(int) 107(abortMessage): TypeStruct 101 6(int) 112: TypeArray 26(int8_t) 65 113: TypeArray 26(int8_t) 65 114: 112 ConstantDataKHR "" 115(abortMessageLoadType): TypeStruct 113 116(abortMessage): TypeStruct 112 124: TypeArray 26(int8_t) 65 125: TypeArray 26(int8_t) 65 126: 124 ConstantDataKHR "" 127(abortMessageLoadType): TypeStruct 125 128(abortMessage): TypeStruct 124 131: 44(ivec3) ConstantComposite 23 23 23 4(main): 2 Function None 3 5: Label 111: 24(ptr) AccessChain 20(outputBuffer) 22 Store 111 47 117:116(abortMessage) CompositeConstruct 114 AbortKHR 115(abortMessageLoadType) 117 FunctionEnd 8(abortOne(): 6(int) Function None 7 9: Label 25: 24(ptr) AccessChain 20(outputBuffer) 22 Store 25 23 32: 24(ptr) AccessChain 20(outputBuffer) 22 33: 6(int) Load 32 36:35(abortMessage) CompositeConstruct 31 33 AbortKHR 34(abortMessageLoadType) 36 FunctionEnd 10(abortTwo(): 2 Function None 3 11: Label 43: 24(ptr) AccessChain 20(outputBuffer) 22 Store 43 42 49: 48(ptr) AccessChain 46(gl_GlobalInvocationID) 47 50: 6(int) Load 49 52: 51(bool) IEqual 50 23 SelectionMerge 54 None BranchConditional 52 53 54 53: Label 60:59(abortMessage) CompositeConstruct 57 AbortKHR 58(abortMessageLoadType) 60 54: Label Return FunctionEnd 12(abortThree(): 2 Function None 3 13: Label 71:70(abortMessage) CompositeConstruct 68 AbortKHR 69(abortMessageLoadType) 71 FunctionEnd 14(abortFour(): 2 Function None 3 15: Label 76(i): 75(ptr) Variable Function Store 76(i) 22 Branch 77 77: Label LoopMerge 79 80 None Branch 81 81: Label 82: 21(int) Load 76(i) 84: 51(bool) SLessThan 82 83 BranchConditional 84 78 79 78: Label 90: 21(int) Load 76(i) 91: 48(ptr) AccessChain 46(gl_GlobalInvocationID) 47 92: 6(int) Load 91 95:94(abortMessage) CompositeConstruct 89 90 92 AbortKHR 93(abortMessageLoadType) 95 80: Label Branch 77 79: Label Return FunctionEnd 16(abortFive(): 2 Function None 3 17: Label 104: 24(ptr) AccessChain 20(outputBuffer) 22 105: 6(int) Load 104 108:107(abortMessage) CompositeConstruct 103 105 AbortKHR 106(abortMessageLoadType) 108 FunctionEnd