yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Matthew MoultonApply GLSL memory decorations to top-level OpVariable5073d93e

main
13.6 KiB277 linesraw
1spv.expect_assume.expectEXT.comp
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 178
5
6                              Capability Shader
7                              Capability ExpectAssumeKHR
8                              Extension  "SPV_KHR_expect_assume"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint GLCompute 4  "main"
12                              ExecutionMode 4 LocalSize 8 1 1
13                              Source GLSL 450
14                              SourceExtension  "GL_EXT_expect_assume"
15                              Name 4  "main"
16                              Name 8  "x"
17                              Name 18  "roblock"
18                              MemberName 18(roblock) 0  "b"
19                              MemberName 18(roblock) 1  "bv2"
20                              MemberName 18(roblock) 2  "bv3"
21                              MemberName 18(roblock) 3  "bv4"
22                              MemberName 18(roblock) 4  "i"
23                              MemberName 18(roblock) 5  "iv2"
24                              MemberName 18(roblock) 6  "iv3"
25                              MemberName 18(roblock) 7  "iv4"
26                              MemberName 18(roblock) 8  "ui"
27                              MemberName 18(roblock) 9  "uv2"
28                              MemberName 18(roblock) 10  "uv3"
29                              MemberName 18(roblock) 11  "uv4"
30                              Name 20  "ro"
31                              Decorate 18(roblock) BufferBlock
32                              MemberDecorate 18(roblock) 0 NonWritable
33                              MemberDecorate 18(roblock) 0 Offset 0
34                              MemberDecorate 18(roblock) 1 NonWritable
35                              MemberDecorate 18(roblock) 1 Offset 8
36                              MemberDecorate 18(roblock) 2 NonWritable
37                              MemberDecorate 18(roblock) 2 Offset 16
38                              MemberDecorate 18(roblock) 3 NonWritable
39                              MemberDecorate 18(roblock) 3 Offset 32
40                              MemberDecorate 18(roblock) 4 NonWritable
41                              MemberDecorate 18(roblock) 4 Offset 48
42                              MemberDecorate 18(roblock) 5 NonWritable
43                              MemberDecorate 18(roblock) 5 Offset 56
44                              MemberDecorate 18(roblock) 6 NonWritable
45                              MemberDecorate 18(roblock) 6 Offset 64
46                              MemberDecorate 18(roblock) 7 NonWritable
47                              MemberDecorate 18(roblock) 7 Offset 80
48                              MemberDecorate 18(roblock) 8 NonWritable
49                              MemberDecorate 18(roblock) 8 Offset 96
50                              MemberDecorate 18(roblock) 9 NonWritable
51                              MemberDecorate 18(roblock) 9 Offset 104
52                              MemberDecorate 18(roblock) 10 NonWritable
53                              MemberDecorate 18(roblock) 10 Offset 112
54                              MemberDecorate 18(roblock) 11 NonWritable
55                              MemberDecorate 18(roblock) 11 Offset 128
56                              Decorate 20(ro) NonWritable
57                              Decorate 20(ro) Binding 0
58                              Decorate 20(ro) DescriptorSet 0
59                              Decorate 177 BuiltIn WorkgroupSize
60               2:             TypeVoid
61               3:             TypeFunction 2
62               6:             TypeInt 32 1
63               7:             TypePointer Function 6(int)
64               9:      6(int) Constant 0
65              10:             TypeBool
66              11:             TypeInt 32 0
67              12:             TypeVector 11(int) 2
68              13:             TypeVector 11(int) 3
69              14:             TypeVector 11(int) 4
70              15:             TypeVector 6(int) 2
71              16:             TypeVector 6(int) 3
72              17:             TypeVector 6(int) 4
73     18(roblock):             TypeStruct 11(int) 12(ivec2) 13(ivec3) 14(ivec4) 6(int) 15(ivec2) 16(ivec3) 17(ivec4) 11(int) 12(ivec2) 13(ivec3) 14(ivec4)
74              19:             TypePointer Uniform 18(roblock)
75          20(ro):     19(ptr) Variable Uniform
76              21:             TypePointer Uniform 11(int)
77              24:     11(int) Constant 0
78              26:    10(bool) ConstantTrue
79              32:      6(int) Constant 1
80              33:             TypePointer Uniform 12(ivec2)
81              36:             TypeVector 10(bool) 2
82              37:   12(ivec2) ConstantComposite 24 24
83              39:    10(bool) ConstantFalse
84              40:   36(bvec2) ConstantComposite 26 39
85              48:      6(int) Constant 2
86              49:             TypePointer Uniform 13(ivec3)
87              52:             TypeVector 10(bool) 3
88              53:   13(ivec3) ConstantComposite 24 24 24
89              55:   52(bvec3) ConstantComposite 26 39 26
90              63:      6(int) Constant 3
91              64:             TypePointer Uniform 14(ivec4)
92              67:             TypeVector 10(bool) 4
93              68:   14(ivec4) ConstantComposite 24 24 24 24
94              70:   67(bvec4) ConstantComposite 39 26 39 26
95              79:      6(int) Constant 4
96              80:             TypePointer Uniform 6(int)
97              83:      6(int) Constant 10
98              89:      6(int) Constant 5
99              90:             TypePointer Uniform 15(ivec2)
100              93:      6(int) Constant 11
101              94:      6(int) Constant 4294967274
102              95:   15(ivec2) ConstantComposite 93 94
103             103:      6(int) Constant 6
104             104:             TypePointer Uniform 16(ivec3)
105             107:      6(int) Constant 33
106             108:   16(ivec3) ConstantComposite 93 94 107
107             116:      6(int) Constant 7
108             117:             TypePointer Uniform 17(ivec4)
109             120:      6(int) Constant 44
110             121:   17(ivec4) ConstantComposite 93 94 107 120
111             130:      6(int) Constant 8
112             133:     11(int) Constant 10
113             139:      6(int) Constant 9
114             142:     11(int) Constant 11
115             143:     11(int) Constant 22
116             144:   12(ivec2) ConstantComposite 142 143
117             154:     11(int) Constant 33
118             155:   13(ivec3) ConstantComposite 142 143 154
119             165:     11(int) Constant 44
120             166:   14(ivec4) ConstantComposite 142 143 154 165
121             175:     11(int) Constant 8
122             176:     11(int) Constant 1
123             177:   13(ivec3) ConstantComposite 175 176 176
124         4(main):           2 Function None 3
125               5:             Label
126            8(x):      7(ptr) Variable Function
127                              Store 8(x) 9
128              22:     21(ptr) AccessChain 20(ro) 9
129              23:     11(int) Load 22
130              25:    10(bool) INotEqual 23 24
131              27:    10(bool) ExpectKHR 25 26
132              28:    10(bool) LogicalEqual 27 26
133              29:    10(bool) LogicalNot 28
134                              SelectionMerge 31 None
135                              BranchConditional 29 30 31
136              30:               Label
137              34:     33(ptr)   AccessChain 20(ro) 32
138              35:   12(ivec2)   Load 34
139              38:   36(bvec2)   INotEqual 35 37
140              41:   36(bvec2)   ExpectKHR 38 40
141              42:   36(bvec2)   LogicalEqual 41 40
142              43:    10(bool)   All 42
143                                Branch 31
144              31:             Label
145              44:    10(bool) Phi 28 5 43 30
146              45:    10(bool) LogicalNot 44
147                              SelectionMerge 47 None
148                              BranchConditional 45 46 47
149              46:               Label
150              50:     49(ptr)   AccessChain 20(ro) 48
151              51:   13(ivec3)   Load 50
152              54:   52(bvec3)   INotEqual 51 53
153              56:   52(bvec3)   ExpectKHR 54 55
154              57:   52(bvec3)   LogicalEqual 56 55
155              58:    10(bool)   All 57
156                                Branch 47
157              47:             Label
158              59:    10(bool) Phi 44 31 58 46
159              60:    10(bool) LogicalNot 59
160                              SelectionMerge 62 None
161                              BranchConditional 60 61 62
162              61:               Label
163              65:     64(ptr)   AccessChain 20(ro) 63
164              66:   14(ivec4)   Load 65
165              69:   67(bvec4)   INotEqual 66 68
166              71:   67(bvec4)   ExpectKHR 69 70
167              72:   67(bvec4)   LogicalEqual 71 70
168              73:    10(bool)   All 72
169                                Branch 62
170              62:             Label
171              74:    10(bool) Phi 59 47 73 61
172                              SelectionMerge 76 None
173                              BranchConditional 74 75 76
174              75:               Label
175              77:      6(int)   Load 8(x)
176              78:      6(int)   IAdd 77 32
177                                Store 8(x) 78
178                                Branch 76
179              76:             Label
180              81:     80(ptr) AccessChain 20(ro) 79
181              82:      6(int) Load 81
182              84:      6(int) ExpectKHR 82 83
183              85:    10(bool) IEqual 84 83
184              86:    10(bool) LogicalNot 85
185                              SelectionMerge 88 None
186                              BranchConditional 86 87 88
187              87:               Label
188              91:     90(ptr)   AccessChain 20(ro) 89
189              92:   15(ivec2)   Load 91
190              96:   15(ivec2)   ExpectKHR 92 95
191              97:   36(bvec2)   IEqual 96 95
192              98:    10(bool)   All 97
193                                Branch 88
194              88:             Label
195              99:    10(bool) Phi 85 76 98 87
196             100:    10(bool) LogicalNot 99
197                              SelectionMerge 102 None
198                              BranchConditional 100 101 102
199             101:               Label
200             105:    104(ptr)   AccessChain 20(ro) 103
201             106:   16(ivec3)   Load 105
202             109:   16(ivec3)   ExpectKHR 106 108
203             110:   52(bvec3)   IEqual 109 108
204             111:    10(bool)   All 110
205                                Branch 102
206             102:             Label
207             112:    10(bool) Phi 99 88 111 101
208             113:    10(bool) LogicalNot 112
209                              SelectionMerge 115 None
210                              BranchConditional 113 114 115
211             114:               Label
212             118:    117(ptr)   AccessChain 20(ro) 116
213             119:   17(ivec4)   Load 118
214             122:   17(ivec4)   ExpectKHR 119 121
215             123:   67(bvec4)   IEqual 122 121
216             124:    10(bool)   All 123
217                                Branch 115
218             115:             Label
219             125:    10(bool) Phi 112 102 124 114
220                              SelectionMerge 127 None
221                              BranchConditional 125 126 127
222             126:               Label
223             128:      6(int)   Load 8(x)
224             129:      6(int)   IAdd 128 32
225                                Store 8(x) 129
226                                Branch 127
227             127:             Label
228             131:     21(ptr) AccessChain 20(ro) 130
229             132:     11(int) Load 131
230             134:     11(int) ExpectKHR 132 133
231             135:    10(bool) IEqual 134 133
232             136:    10(bool) LogicalNot 135
233                              SelectionMerge 138 None
234                              BranchConditional 136 137 138
235             137:               Label
236             140:     33(ptr)   AccessChain 20(ro) 139
237             141:   12(ivec2)   Load 140
238             145:   12(ivec2)   ExpectKHR 141 144
239             146:   36(bvec2)   IEqual 145 144
240             147:    10(bool)   All 146
241                                Branch 138
242             138:             Label
243             148:    10(bool) Phi 135 127 147 137
244             149:    10(bool) LogicalNot 148
245                              SelectionMerge 151 None
246                              BranchConditional 149 150 151
247             150:               Label
248             152:     49(ptr)   AccessChain 20(ro) 83
249             153:   13(ivec3)   Load 152
250             156:   13(ivec3)   ExpectKHR 153 155
251             157:   52(bvec3)   IEqual 156 155
252             158:    10(bool)   All 157
253                                Branch 151
254             151:             Label
255             159:    10(bool) Phi 148 138 158 150
256             160:    10(bool) LogicalNot 159
257                              SelectionMerge 162 None
258                              BranchConditional 160 161 162
259             161:               Label
260             163:     64(ptr)   AccessChain 20(ro) 93
261             164:   14(ivec4)   Load 163
262             167:   14(ivec4)   ExpectKHR 164 166
263             168:   67(bvec4)   IEqual 167 166
264             169:    10(bool)   All 168
265                                Branch 162
266             162:             Label
267             170:    10(bool) Phi 159 151 169 161
268                              SelectionMerge 172 None
269                              BranchConditional 170 171 172
270             171:               Label
271             173:      6(int)   Load 8(x)
272             174:      6(int)   IAdd 173 32
273                                Store 8(x) 174
274                                Branch 172
275             172:             Label
276                              Return
277                              FunctionEnd