1spv.1.4.OpCopyLogical.comp 2// Module Version 10400 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 GLCompute 4 "main" 19 27 35 51 60 10 ExecutionMode 4 LocalSize 1 1 1 11 Source GLSL 450 12 Name 4 "main" 13 Name 12 "MyStruct" 14 MemberName 12(MyStruct) 0 "foo" 15 MemberName 12(MyStruct) 1 "sb" 16 Name 14 "t" 17 Name 16 "MyStruct" 18 MemberName 16(MyStruct) 0 "foo" 19 MemberName 16(MyStruct) 1 "sb" 20 Name 17 "SSBO0" 21 MemberName 17(SSBO0) 0 "a" 22 Name 19 "inBuf" 23 Name 25 "SSBO1" 24 MemberName 25(SSBO1) 0 "b" 25 Name 27 "outBuf" 26 Name 32 "MyStruct" 27 MemberName 32(MyStruct) 0 "foo" 28 MemberName 32(MyStruct) 1 "sb" 29 Name 33 "UBO" 30 MemberName 33(UBO) 0 "c" 31 Name 35 "uBuf" 32 Name 44 "Nested" 33 MemberName 44(Nested) 0 "f" 34 MemberName 44(Nested) 1 "S" 35 Name 46 "n" 36 Name 48 "Nested" 37 MemberName 48(Nested) 0 "f" 38 MemberName 48(Nested) 1 "S" 39 Name 49 "UBON" 40 MemberName 49(UBON) 0 "N1" 41 Name 51 "uBufN" 42 Name 57 "Nested" 43 MemberName 57(Nested) 0 "f" 44 MemberName 57(Nested) 1 "S" 45 Name 58 "SSBO1N" 46 MemberName 58(SSBO1N) 0 "N2" 47 Name 60 "outBufN" 48 Decorate 15 ArrayStride 8 49 MemberDecorate 16(MyStruct) 0 Offset 0 50 MemberDecorate 16(MyStruct) 1 Offset 16 51 MemberDecorate 17(SSBO0) 0 Offset 0 52 Decorate 17(SSBO0) Block 53 Decorate 19(inBuf) DescriptorSet 0 54 Decorate 19(inBuf) Binding 0 55 MemberDecorate 25(SSBO1) 0 Offset 0 56 Decorate 25(SSBO1) Block 57 Decorate 27(outBuf) DescriptorSet 0 58 Decorate 27(outBuf) Binding 1 59 Decorate 31 ArrayStride 16 60 MemberDecorate 32(MyStruct) 0 Offset 0 61 MemberDecorate 32(MyStruct) 1 Offset 32 62 MemberDecorate 33(UBO) 0 Offset 0 63 Decorate 33(UBO) Block 64 Decorate 35(uBuf) DescriptorSet 0 65 Decorate 35(uBuf) Binding 2 66 Decorate 47 ArrayStride 48 67 MemberDecorate 48(Nested) 0 Offset 0 68 MemberDecorate 48(Nested) 1 Offset 16 69 MemberDecorate 49(UBON) 0 Offset 0 70 Decorate 49(UBON) Block 71 Decorate 51(uBufN) DescriptorSet 0 72 Decorate 51(uBufN) Binding 2 73 Decorate 56 ArrayStride 24 74 MemberDecorate 57(Nested) 0 Offset 0 75 MemberDecorate 57(Nested) 1 Offset 8 76 MemberDecorate 58(SSBO1N) 0 Offset 0 77 Decorate 58(SSBO1N) Block 78 Decorate 60(outBufN) DescriptorSet 0 79 Decorate 60(outBufN) Binding 1 80 2: TypeVoid 81 3: TypeFunction 2 82 6: TypeFloat 32 83 7: TypeVector 6(float) 2 84 8: TypeInt 32 0 85 9: 8(int) Constant 2 86 10: TypeArray 7(fvec2) 9 87 11: TypeInt 32 1 88 12(MyStruct): TypeStruct 10 11(int) 89 13: TypePointer Function 12(MyStruct) 90 15: TypeArray 7(fvec2) 9 91 16(MyStruct): TypeStruct 15 11(int) 92 17(SSBO0): TypeStruct 16(MyStruct) 93 18: TypePointer StorageBuffer 17(SSBO0) 94 19(inBuf): 18(ptr) Variable StorageBuffer 95 20: 11(int) Constant 0 96 21: TypePointer StorageBuffer 16(MyStruct) 97 25(SSBO1): TypeStruct 16(MyStruct) 98 26: TypePointer StorageBuffer 25(SSBO1) 99 27(outBuf): 26(ptr) Variable StorageBuffer 100 31: TypeArray 7(fvec2) 9 101 32(MyStruct): TypeStruct 31 11(int) 102 33(UBO): TypeStruct 32(MyStruct) 103 34: TypePointer Uniform 33(UBO) 104 35(uBuf): 34(ptr) Variable Uniform 105 36: TypePointer Uniform 32(MyStruct) 106 43: TypeArray 12(MyStruct) 9 107 44(Nested): TypeStruct 6(float) 43 108 45: TypePointer Function 44(Nested) 109 47: TypeArray 32(MyStruct) 9 110 48(Nested): TypeStruct 6(float) 47 111 49(UBON): TypeStruct 48(Nested) 112 50: TypePointer Uniform 49(UBON) 113 51(uBufN): 50(ptr) Variable Uniform 114 52: TypePointer Uniform 48(Nested) 115 56: TypeArray 16(MyStruct) 9 116 57(Nested): TypeStruct 6(float) 56 117 58(SSBO1N): TypeStruct 57(Nested) 118 59: TypePointer StorageBuffer 58(SSBO1N) 119 60(outBufN): 59(ptr) Variable StorageBuffer 120 62: TypePointer StorageBuffer 57(Nested) 121 4(main): 2 Function None 3 122 5: Label 123 14(t): 13(ptr) Variable Function 124 46(n): 45(ptr) Variable Function 125 22: 21(ptr) AccessChain 19(inBuf) 20 126 23:16(MyStruct) Load 22 127 24:12(MyStruct) CopyLogical 23 128 Store 14(t) 24 129 28:12(MyStruct) Load 14(t) 130 29: 21(ptr) AccessChain 27(outBuf) 20 131 30:16(MyStruct) CopyLogical 28 132 Store 29 30 133 37: 36(ptr) AccessChain 35(uBuf) 20 134 38:32(MyStruct) Load 37 135 39:12(MyStruct) CopyLogical 38 136 Store 14(t) 39 137 40:12(MyStruct) Load 14(t) 138 41: 21(ptr) AccessChain 27(outBuf) 20 139 42:16(MyStruct) CopyLogical 40 140 Store 41 42 141 53: 52(ptr) AccessChain 51(uBufN) 20 142 54: 48(Nested) Load 53 143 55: 44(Nested) CopyLogical 54 144 Store 46(n) 55 145 61: 44(Nested) Load 46(n) 146 63: 62(ptr) AccessChain 60(outBufN) 20 147 64: 57(Nested) CopyLogical 61 148 Store 63 64 149 Return 150 FunctionEnd 151