1spv.storageBuffer.vert 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 31 5 6 Capability Shader 7 Extension "SPV_KHR_storage_buffer_storage_class" 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint Vertex 4 "main" 13 11 Source GLSL 450 12 Name 4 "main" 13 Name 11 "gl_PerVertex" 14 MemberName 11(gl_PerVertex) 0 "gl_Position" 15 MemberName 11(gl_PerVertex) 1 "gl_PointSize" 16 MemberName 11(gl_PerVertex) 2 "gl_ClipDistance" 17 MemberName 11(gl_PerVertex) 3 "gl_CullDistance" 18 Name 13 "" 19 Name 16 "ub" 20 MemberName 16(ub) 0 "a" 21 Name 18 "ubi" 22 Name 22 "bb" 23 MemberName 22(bb) 0 "b" 24 Name 24 "bbi" 25 MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position 26 MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize 27 MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance 28 MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance 29 Decorate 11(gl_PerVertex) Block 30 MemberDecorate 16(ub) 0 Offset 0 31 Decorate 16(ub) Block 32 Decorate 18(ubi) DescriptorSet 0 33 Decorate 18(ubi) Binding 0 34 MemberDecorate 22(bb) 0 Offset 0 35 Decorate 22(bb) Block 36 Decorate 24(bbi) DescriptorSet 0 37 Decorate 24(bbi) Binding 1 38 2: TypeVoid 39 3: TypeFunction 2 40 6: TypeFloat 32 41 7: TypeVector 6(float) 4 42 8: TypeInt 32 0 43 9: 8(int) Constant 1 44 10: TypeArray 6(float) 9 4511(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 10 46 12: TypePointer Output 11(gl_PerVertex) 47 13: 12(ptr) Variable Output 48 14: TypeInt 32 1 49 15: 14(int) Constant 0 50 16(ub): TypeStruct 7(fvec4) 51 17: TypePointer Uniform 16(ub) 52 18(ubi): 17(ptr) Variable Uniform 53 19: TypePointer Uniform 7(fvec4) 54 22(bb): TypeStruct 7(fvec4) 55 23: TypePointer StorageBuffer 22(bb) 56 24(bbi): 23(ptr) Variable StorageBuffer 57 25: TypePointer StorageBuffer 7(fvec4) 58 29: TypePointer Output 7(fvec4) 59 4(main): 2 Function None 3 60 5: Label 61 20: 19(ptr) AccessChain 18(ubi) 15 62 21: 7(fvec4) Load 20 63 26: 25(ptr) AccessChain 24(bbi) 15 64 27: 7(fvec4) Load 26 65 28: 7(fvec4) FAdd 21 27 66 30: 29(ptr) AccessChain 13 15 67 Store 30 28 68 Return 69 FunctionEnd 70