yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
799ea066
main
1spv.descriptorHeap.Stride.comp 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 59 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" 12 14 ExecutionMode 4 LocalSize 1 1 1 15 Source GLSL 450 16 SourceExtension "GL_EXT_descriptor_heap" 17 Name 4 "main" 18 Name 10 "mvp" 19 Name 12 "resource_heap" 20 Name 21 "UBO" 21 MemberName 21(UBO) 0 "projection" 22 MemberName 21(UBO) 1 "view" 23 MemberName 21(UBO) 2 "model" 24 Name 46 "texel" 25 Decorate 12(resource_heap) BuiltIn ResourceHeapEXT 26 DecorateId 16 ArrayStrideIdEXT 15 27 Decorate 20 ArrayStride 64 28 Decorate 21(UBO) Block 29 MemberDecorate 21(UBO) 0 ColMajor 30 MemberDecorate 21(UBO) 0 MatrixStride 16 31 MemberDecorate 21(UBO) 0 Offset 0 32 MemberDecorate 21(UBO) 1 ColMajor 33 MemberDecorate 21(UBO) 1 MatrixStride 16 34 MemberDecorate 21(UBO) 1 Offset 64 35 MemberDecorate 21(UBO) 2 ColMajor 36 MemberDecorate 21(UBO) 2 MatrixStride 16 37 MemberDecorate 21(UBO) 2 Offset 128 38 DecorateId 49 ArrayStrideIdEXT 48 39 2: TypeVoid 40 3: TypeFunction 2 41 6: TypeFloat 32 42 7: TypeVector 6(float) 4 43 8: TypeMatrix 7(fvec4) 4 44 9: TypePointer Function 8 45 11: TypeUntypedPointerKHR UniformConstant 4612(resource_heap): 11(ptr) UntypedVariableKHR UniformConstant 47 13: TypeBufferEXT StorageBuffer 48 14: TypeInt 32 0 49 15: 14(int) Constant 512 50 16: TypeRuntimeArray 13 51 17: TypeInt 32 1 52 18: 17(int) Constant 1 53 19: 14(int) Constant 2 54 20: TypeArray 8 19 55 21(UBO): TypeStruct 8 8 20 56 22: 17(int) Constant 0 57 24: TypePointer StorageBuffer 21(UBO) 58 26: TypePointer StorageBuffer 8 59 34: 17(int) Constant 2 60 40: 17(int) Constant 9 61 45: TypePointer Function 7(fvec4) 62 47: TypeImage 6(float) 2D nonsampled format:Rgba32f 63 48: 14(int) Constant 1024 64 49: TypeRuntimeArray 47 65 52: TypeVector 17(int) 2 66 53: 52(ivec2) ConstantComposite 22 22 67 55: 17(int) Constant 3 68 4(main): 2 Function None 3 69 5: Label 70 10(mvp): 9(ptr) Variable Function 71 46(texel): 45(ptr) Variable Function 72 23: 11(ptr) UntypedAccessChainKHR 16 12(resource_heap) 18 73 25: 24(ptr) BufferPointerEXT 23 74 27: 26(ptr) AccessChain 25 22 75 28: 8 Load 27 76 29: 11(ptr) UntypedAccessChainKHR 16 12(resource_heap) 18 77 30: 24(ptr) BufferPointerEXT 29 78 31: 26(ptr) AccessChain 30 18 79 32: 8 Load 31 80 33: 8 MatrixTimesMatrix 28 32 81 35: 11(ptr) UntypedAccessChainKHR 16 12(resource_heap) 18 82 36: 24(ptr) BufferPointerEXT 35 83 37: 26(ptr) AccessChain 36 34 22 84 38: 8 Load 37 85 39: 8 MatrixTimesMatrix 33 38 86 Store 10(mvp) 39 87 41: 8 Load 10(mvp) 88 42: 11(ptr) UntypedAccessChainKHR 16 12(resource_heap) 40 89 43: 24(ptr) BufferPointerEXT 42 90 44: 26(ptr) AccessChain 43 34 18 91 Store 44 41 92 50: 11(ptr) UntypedAccessChainKHR 49 12(resource_heap) 34 93 51: 47 Load 50 94 54: 7(fvec4) ImageRead 51 53 95 Store 46(texel) 54 96 56: 11(ptr) UntypedAccessChainKHR 49 12(resource_heap) 55 97 57: 47 Load 56 98 58: 7(fvec4) Load 46(texel) 99 ImageWrite 57 53 58 100 Return 101 FunctionEnd