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