1spv.multiStructFuncall.frag 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 65 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 450 12 Name 4 "main" 13 Name 9 "S" 14 MemberName 9(S) 0 "m" 15 Name 12 "fooConst(struct-S-mf441;" 16 Name 11 "s" 17 Name 17 "foo(struct-S-mf441;" 18 Name 16 "s" 19 Name 20 "fooOut(struct-S-mf441;" 20 Name 19 "s" 21 Name 22 "S" 22 MemberName 22(S) 0 "m" 23 Name 23 "blockName" 24 MemberName 23(blockName) 0 "s1" 25 Name 25 "" 26 Name 31 "arg" 27 Name 38 "s2" 28 Name 41 "param" 29 Name 47 "param" 30 Name 50 "param" 31 Name 61 "param" 32 MemberDecorate 22(S) 0 ColMajor 33 MemberDecorate 22(S) 0 MatrixStride 16 34 MemberDecorate 22(S) 0 Offset 0 35 Decorate 23(blockName) BufferBlock 36 MemberDecorate 23(blockName) 0 Offset 0 37 Decorate 25 Binding 0 38 Decorate 25 DescriptorSet 0 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(S): TypeStruct 8 45 10: TypeFunction 2 9(S) 46 14: TypePointer Function 9(S) 47 15: TypeFunction 2 14(ptr) 48 22(S): TypeStruct 8 49 23(blockName): TypeStruct 22(S) 50 24: TypePointer Uniform 23(blockName) 51 25: 24(ptr) Variable Uniform 52 26: TypeInt 32 1 53 27: 26(int) Constant 0 54 28: TypePointer Uniform 22(S) 55 33: TypePointer Function 8 56 37: TypePointer Private 9(S) 57 38(s2): 37(ptr) Variable Private 58 59: TypePointer Uniform 8 59 4(main): 2 Function None 3 60 5: Label 61 31(arg): 14(ptr) Variable Function 62 41(param): 14(ptr) Variable Function 63 47(param): 14(ptr) Variable Function 64 50(param): 14(ptr) Variable Function 65 61(param): 14(ptr) Variable Function 66 29: 28(ptr) AccessChain 25 27 67 30: 22(S) Load 29 68 32: 8 CompositeExtract 30 0 69 34: 33(ptr) AccessChain 31(arg) 27 70 Store 34 32 71 35: 9(S) Load 31(arg) 72 36: 2 FunctionCall 12(fooConst(struct-S-mf441;) 35 73 39: 9(S) Load 38(s2) 74 40: 2 FunctionCall 12(fooConst(struct-S-mf441;) 39 75 42: 28(ptr) AccessChain 25 27 76 43: 22(S) Load 42 77 44: 8 CompositeExtract 43 0 78 45: 33(ptr) AccessChain 41(param) 27 79 Store 45 44 80 46: 2 FunctionCall 17(foo(struct-S-mf441;) 41(param) 81 48: 9(S) Load 38(s2) 82 Store 47(param) 48 83 49: 2 FunctionCall 17(foo(struct-S-mf441;) 47(param) 84 51: 28(ptr) AccessChain 25 27 85 52: 22(S) Load 51 86 53: 8 CompositeExtract 52 0 87 54: 33(ptr) AccessChain 50(param) 27 88 Store 54 53 89 55: 2 FunctionCall 20(fooOut(struct-S-mf441;) 50(param) 90 56: 9(S) Load 50(param) 91 57: 28(ptr) AccessChain 25 27 92 58: 8 CompositeExtract 56 0 93 60: 59(ptr) AccessChain 57 27 94 Store 60 58 95 62: 9(S) Load 38(s2) 96 Store 61(param) 62 97 63: 2 FunctionCall 20(fooOut(struct-S-mf441;) 61(param) 98 64: 9(S) Load 61(param) 99 Store 38(s2) 64 100 Return 101 FunctionEnd 10212(fooConst(struct-S-mf441;): 2 Function None 10 103 11(s): 9(S) FunctionParameter 104 13: Label 105 Return 106 FunctionEnd 10717(foo(struct-S-mf441;): 2 Function None 15 108 16(s): 14(ptr) FunctionParameter 109 18: Label 110 Return 111 FunctionEnd 11220(fooOut(struct-S-mf441;): 2 Function None 15 113 19(s): 14(ptr) FunctionParameter 114 21: Label 115 Return 116 FunctionEnd 117