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