yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
799ea066
main
1spv.descriptorHeap.PushConstant.comp 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 48 5 6 Capability Shader 7 Capability UntypedPointersKHR 8 Capability DescriptorHeapEXT 9 Extension "SPV_EXT_descriptor_heap" 10 Extension "SPV_KHR_untyped_pointers" 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel Logical GLSL450 13 EntryPoint GLCompute 4 "main" 20 31 14 ExecutionMode 4 LocalSize 1 1 1 15 Source GLSL 450 16 SourceExtension "GL_EXT_descriptor_heap" 17 Name 4 "main" 18 Name 8 "i" 19 Name 16 "PUSH_LENGTH" 20 Name 20 "resource_heap" 21 Name 26 "O" 22 MemberName 26(O) 0 "outputBuffer" 23 Name 29 "P" 24 MemberName 29(P) 0 "pushData" 25 Name 31 "" 26 Decorate 16(PUSH_LENGTH) SpecId 0 27 Decorate 20(resource_heap) BuiltIn ResourceHeapEXT 28 DecorateId 24 ArrayStrideIdEXT 23 29 Decorate 25 ArrayStride 4 30 Decorate 26(O) Block 31 MemberDecorate 26(O) 0 Offset 0 32 Decorate 28 ArrayStride 4 33 Decorate 29(P) Block 34 MemberDecorate 29(P) 0 Offset 0 35 Decorate 47 BuiltIn WorkgroupSize 36 2: TypeVoid 37 3: TypeFunction 2 38 6: TypeInt 32 1 39 7: TypePointer Function 6(int) 40 9: 6(int) Constant 0 41 16(PUSH_LENGTH): 6(int) SpecConstant 1 42 17: TypeBool 43 19: TypeUntypedPointerKHR UniformConstant 4420(resource_heap): 19(ptr) UntypedVariableKHR UniformConstant 45 21: TypeBufferEXT StorageBuffer 46 22: TypeInt 32 0 47 23: 22(int) ConstantSizeOfEXT 21 48 24: TypeRuntimeArray 21 49 25: TypeRuntimeArray 22(int) 50 26(O): TypeStruct 25 51 28: TypeArray 6(int) 16(PUSH_LENGTH) 52 29(P): TypeStruct 28 53 30: TypePointer PushConstant 29(P) 54 31: 30(ptr) Variable PushConstant 55 33: TypePointer PushConstant 6(int) 56 38: TypePointer StorageBuffer 26(O) 57 40: TypePointer StorageBuffer 22(int) 58 43: 6(int) Constant 1 59 45: TypeVector 22(int) 3 60 46: 22(int) Constant 1 61 47: 45(ivec3) ConstantComposite 46 46 46 62 4(main): 2 Function None 3 63 5: Label 64 8(i): 7(ptr) Variable Function 65 Store 8(i) 9 66 Branch 10 67 10: Label 68 LoopMerge 12 13 None 69 Branch 14 70 14: Label 71 15: 6(int) Load 8(i) 72 18: 17(bool) SLessThan 15 16(PUSH_LENGTH) 73 BranchConditional 18 11 12 74 11: Label 75 27: 6(int) Load 8(i) 76 32: 6(int) Load 8(i) 77 34: 33(ptr) AccessChain 31 9 32 78 35: 6(int) Load 34 79 36: 22(int) Bitcast 35 80 37: 19(ptr) UntypedAccessChainKHR 24 20(resource_heap) 9 81 39: 38(ptr) BufferPointerEXT 37 82 41: 40(ptr) AccessChain 39 9 27 83 Store 41 36 84 Branch 13 85 13: Label 86 42: 6(int) Load 8(i) 87 44: 6(int) IAdd 42 43 88 Store 8(i) 44 89 Branch 10 90 12: Label 91 Return 92 FunctionEnd