1 spv.1.4.OpCopyLogicalBool.comp
3 // Module Version 10400
4 // Generated by (magic number): 80007
5 // Id's are bound by 135
8 1: ExtInstImport "GLSL.std.450"
9 MemoryModel Logical GLSL450
10 EntryPoint GLCompute 4 "main" 19 37 53 79 109
11 ExecutionMode 4 LocalSize 1 1 1
15 MemberName 12(MyStruct) 0 "foo"
16 MemberName 12(MyStruct) 1 "sb"
19 MemberName 16(MyStruct) 0 "foo"
20 MemberName 16(MyStruct) 1 "sb"
22 MemberName 17(SSBO0) 0 "a"
25 MemberName 35(SSBO1) 0 "b"
28 MemberName 50(MyStruct) 0 "foo"
29 MemberName 50(MyStruct) 1 "sb"
31 MemberName 51(UBO) 0 "c"
34 MemberName 72(Nested) 0 "b"
35 MemberName 72(Nested) 1 "S"
38 MemberName 76(Nested) 0 "b"
39 MemberName 76(Nested) 1 "S"
41 MemberName 77(UBON) 0 "N1"
44 MemberName 106(Nested) 0 "b"
45 MemberName 106(Nested) 1 "S"
47 MemberName 107(SSBO1N) 0 "N2"
49 Decorate 15 ArrayStride 8
50 MemberDecorate 16(MyStruct) 0 Offset 0
51 MemberDecorate 16(MyStruct) 1 Offset 16
52 MemberDecorate 17(SSBO0) 0 Offset 0
53 Decorate 17(SSBO0) Block
54 Decorate 19(inBuf) DescriptorSet 0
55 Decorate 19(inBuf) Binding 0
56 MemberDecorate 35(SSBO1) 0 Offset 0
57 Decorate 35(SSBO1) Block
58 Decorate 37(outBuf) DescriptorSet 0
59 Decorate 37(outBuf) Binding 1
60 Decorate 49 ArrayStride 16
61 MemberDecorate 50(MyStruct) 0 Offset 0
62 MemberDecorate 50(MyStruct) 1 Offset 32
63 MemberDecorate 51(UBO) 0 Offset 0
64 Decorate 51(UBO) Block
65 Decorate 53(uBuf) DescriptorSet 0
66 Decorate 53(uBuf) Binding 2
67 Decorate 75 ArrayStride 48
68 MemberDecorate 76(Nested) 0 Offset 0
69 MemberDecorate 76(Nested) 1 Offset 16
70 MemberDecorate 77(UBON) 0 Offset 0
71 Decorate 77(UBON) Block
72 Decorate 79(uBufN) DescriptorSet 0
73 Decorate 79(uBufN) Binding 2
74 Decorate 105 ArrayStride 24
75 MemberDecorate 106(Nested) 0 Offset 0
76 MemberDecorate 106(Nested) 1 Offset 8
77 MemberDecorate 107(SSBO1N) 0 Offset 0
78 Decorate 107(SSBO1N) Block
79 Decorate 109(outBufN) DescriptorSet 0
80 Decorate 109(outBufN) Binding 1
84 7: TypeVector 6(float) 2
87 10: TypeArray 7(fvec2) 9
89 12(MyStruct): TypeStruct 10 11(bool)
90 13: TypePointer Function 12(MyStruct)
91 15: TypeArray 7(fvec2) 9
92 16(MyStruct): TypeStruct 15 8(int)
93 17(SSBO0): TypeStruct 16(MyStruct)
94 18: TypePointer StorageBuffer 17(SSBO0)
95 19(inBuf): 18(ptr) Variable StorageBuffer
97 21: 20(int) Constant 0
98 22: TypePointer StorageBuffer 16(MyStruct)
99 26: TypePointer Function 10
100 30: 20(int) Constant 1
101 31: 8(int) Constant 0
102 33: TypePointer Function 11(bool)
103 35(SSBO1): TypeStruct 16(MyStruct)
104 36: TypePointer StorageBuffer 35(SSBO1)
105 37(outBuf): 36(ptr) Variable StorageBuffer
106 41: TypePointer StorageBuffer 15
107 45: 8(int) Constant 1
108 47: TypePointer StorageBuffer 8(int)
109 49: TypeArray 7(fvec2) 9
110 50(MyStruct): TypeStruct 49 8(int)
111 51(UBO): TypeStruct 50(MyStruct)
112 52: TypePointer Uniform 51(UBO)
113 53(uBuf): 52(ptr) Variable Uniform
114 54: TypePointer Uniform 50(MyStruct)
115 71: TypeArray 12(MyStruct) 9
116 72(Nested): TypeStruct 11(bool) 71
117 73: TypePointer Function 72(Nested)
118 75: TypeArray 50(MyStruct) 9
119 76(Nested): TypeStruct 8(int) 75
120 77(UBON): TypeStruct 76(Nested)
121 78: TypePointer Uniform 77(UBON)
122 79(uBufN): 78(ptr) Variable Uniform
123 80: TypePointer Uniform 76(Nested)
124 87: TypePointer Function 71
125 105: TypeArray 16(MyStruct) 9
126 106(Nested): TypeStruct 8(int) 105
127 107(SSBO1N): TypeStruct 106(Nested)
128 108: TypePointer StorageBuffer 107(SSBO1N)
129 109(outBufN): 108(ptr) Variable StorageBuffer
130 111: TypePointer StorageBuffer 106(Nested)
131 117: TypePointer StorageBuffer 105
132 4(main): 2 Function None 3
134 14(t): 13(ptr) Variable Function
135 74(n): 73(ptr) Variable Function
136 23: 22(ptr) AccessChain 19(inBuf) 21
137 24:16(MyStruct) Load 23
138 25: 15 CompositeExtract 24 0
139 27: 26(ptr) AccessChain 14(t) 21
140 28: 10 CopyLogical 25
142 29: 8(int) CompositeExtract 24 1
143 32: 11(bool) INotEqual 29 31
144 34: 33(ptr) AccessChain 14(t) 30
146 38:12(MyStruct) Load 14(t)
147 39: 22(ptr) AccessChain 37(outBuf) 21
148 40: 10 CompositeExtract 38 0
149 42: 41(ptr) AccessChain 39 21
150 43: 15 CopyLogical 40
152 44: 11(bool) CompositeExtract 38 1
153 46: 8(int) Select 44 45 31
154 48: 47(ptr) AccessChain 39 30
156 55: 54(ptr) AccessChain 53(uBuf) 21
157 56:50(MyStruct) Load 55
158 57: 49 CompositeExtract 56 0
159 58: 26(ptr) AccessChain 14(t) 21
160 59: 10 CopyLogical 57
162 60: 8(int) CompositeExtract 56 1
163 61: 11(bool) INotEqual 60 31
164 62: 33(ptr) AccessChain 14(t) 30
166 63:12(MyStruct) Load 14(t)
167 64: 22(ptr) AccessChain 37(outBuf) 21
168 65: 10 CompositeExtract 63 0
169 66: 41(ptr) AccessChain 64 21
170 67: 15 CopyLogical 65
172 68: 11(bool) CompositeExtract 63 1
173 69: 8(int) Select 68 45 31
174 70: 47(ptr) AccessChain 64 30
176 81: 80(ptr) AccessChain 79(uBufN) 21
177 82: 76(Nested) Load 81
178 83: 8(int) CompositeExtract 82 0
179 84: 11(bool) INotEqual 83 31
180 85: 33(ptr) AccessChain 74(n) 21
182 86: 75 CompositeExtract 82 1
183 88: 87(ptr) AccessChain 74(n) 30
184 89:50(MyStruct) CompositeExtract 86 0
185 90: 13(ptr) AccessChain 88 21
186 91: 49 CompositeExtract 89 0
187 92: 26(ptr) AccessChain 90 21
188 93: 10 CopyLogical 91
190 94: 8(int) CompositeExtract 89 1
191 95: 11(bool) INotEqual 94 31
192 96: 33(ptr) AccessChain 90 30
194 97:50(MyStruct) CompositeExtract 86 1
195 98: 13(ptr) AccessChain 88 30
196 99: 49 CompositeExtract 97 0
197 100: 26(ptr) AccessChain 98 21
198 101: 10 CopyLogical 99
200 102: 8(int) CompositeExtract 97 1
201 103: 11(bool) INotEqual 102 31
202 104: 33(ptr) AccessChain 98 30
204 110: 72(Nested) Load 74(n)
205 112: 111(ptr) AccessChain 109(outBufN) 21
206 113: 11(bool) CompositeExtract 110 0
207 114: 8(int) Select 113 45 31
208 115: 47(ptr) AccessChain 112 21
210 116: 71 CompositeExtract 110 1
211 118: 117(ptr) AccessChain 112 30
212 119:12(MyStruct) CompositeExtract 116 0
213 120: 22(ptr) AccessChain 118 21
214 121: 10 CompositeExtract 119 0
215 122: 41(ptr) AccessChain 120 21
216 123: 15 CopyLogical 121
218 124: 11(bool) CompositeExtract 119 1
219 125: 8(int) Select 124 45 31
220 126: 47(ptr) AccessChain 120 30
222 127:12(MyStruct) CompositeExtract 116 1
223 128: 22(ptr) AccessChain 118 30
224 129: 10 CompositeExtract 127 0
225 130: 41(ptr) AccessChain 128 21
226 131: 15 CopyLogical 129
228 132: 11(bool) CompositeExtract 127 1
229 133: 8(int) Select 132 45 31
230 134: 47(ptr) AccessChain 128 30