1spv.controlFlowAttributes.frag
2WARNING: 0:20: '' : attribute with arguments not recognized, skipping
3WARNING: 0:21: '' : attribute with arguments not recognized, skipping
4WARNING: 0:22: '' : attribute with arguments not recognized, skipping
5WARNING: 0:23: 'dependency_length' : expected a single integer argument
6WARNING: 0:24: '' : attribute with arguments not recognized, skipping
7WARNING: 0:25: '' : attribute with arguments not recognized, skipping
8WARNING: 0:26: '' : attribute with arguments not recognized, skipping
9
10// Module Version 10000
11// Generated by (magic number): 80007
12// Id's are bound by 118
13
14                              Capability Shader
15               1:             ExtInstImport  "GLSL.std.450"
16                              MemoryModel Logical GLSL450
17                              EntryPoint Fragment 4  "main"
18                              ExecutionMode 4 OriginUpperLeft
19                              Source GLSL 450
20                              SourceExtension  "GL_EXT_control_flow_attributes"
21                              Name 4  "main"
22                              Name 8  "i"
23                              Name 36  "i"
24                              Name 47  "cond"
25                              Name 60  "i"
26                              Name 79  "i"
27               2:             TypeVoid
28               3:             TypeFunction 2
29               6:             TypeInt 32 1
30               7:             TypePointer Function 6(int)
31               9:      6(int) Constant 0
32              16:      6(int) Constant 8
33              17:             TypeBool
34              20:      6(int) Constant 1
35              31:    17(bool) ConstantTrue
36              46:             TypePointer Private 17(bool)
37        47(cond):     46(ptr) Variable Private
38              54:    17(bool) ConstantFalse
39              55:      6(int) Constant 3
40         4(main):           2 Function None 3
41               5:             Label
42            8(i):      7(ptr) Variable Function
43           36(i):      7(ptr) Variable Function
44           60(i):      7(ptr) Variable Function
45           79(i):      7(ptr) Variable Function
46                              Store 8(i) 9
47                              Branch 10
48              10:             Label
49                              LoopMerge 12 13 Unroll
50                              Branch 14
51              14:             Label
52              15:      6(int) Load 8(i)
53              18:    17(bool) SLessThan 15 16
54                              BranchConditional 18 11 12
55              11:               Label
56                                Branch 13
57              13:               Label
58              19:      6(int)   Load 8(i)
59              21:      6(int)   IAdd 19 20
60                                Store 8(i) 21
61                                Branch 10
62              12:             Label
63                              Branch 22
64              22:             Label
65                              LoopMerge 24 25 DontUnroll
66                              Branch 23
67              23:             Label
68                              Branch 25
69              25:             Label
70                              Branch 22
71              24:             Label
72                              Branch 26
73              26:             Label
74                              LoopMerge 28 29 DontUnroll
75                              Branch 30
76              30:             Label
77                              BranchConditional 31 27 28
78              27:               Label
79                                Branch 29
80              29:               Label
81                                Branch 26
82              28:             Label
83                              Branch 32
84              32:             Label
85                              LoopMerge 34 35 DependencyInfinite
86                              Branch 33
87              33:             Label
88                              Branch 35
89              35:             Label
90                              BranchConditional 31 32 34
91              34:             Label
92                              Store 36(i) 9
93                              Branch 37
94              37:             Label
95                              LoopMerge 39 40 DependencyLength  4
96                              Branch 41
97              41:             Label
98              42:      6(int) Load 36(i)
99              43:    17(bool) SLessThan 42 16
100                              BranchConditional 43 38 39
101              38:               Label
102                                Branch 40
103              40:               Label
104              44:      6(int)   Load 36(i)
105              45:      6(int)   IAdd 44 20
106                                Store 36(i) 45
107                                Branch 37
108              39:             Label
109              48:    17(bool) Load 47(cond)
110                              SelectionMerge 50 Flatten
111                              BranchConditional 48 49 50
112              49:               Label
113                                Branch 50
114              50:             Label
115              51:    17(bool) Load 47(cond)
116                              SelectionMerge 53 DontFlatten
117                              BranchConditional 51 52 53
118              52:               Label
119                                Store 47(cond) 54
120                                Branch 53
121              53:             Label
122                              SelectionMerge 57 DontFlatten
123                              Switch 55 57
124                                     case 3: 56
125              56:               Label
126                                Branch 57
127              57:             Label
128                              Store 60(i) 9
129                              Branch 61
130              61:             Label
131                              LoopMerge 63 64 None
132                              Branch 65
133              65:             Label
134              66:      6(int) Load 60(i)
135              67:    17(bool) SLessThan 66 16
136                              BranchConditional 67 62 63
137              62:               Label
138                                Branch 64
139              64:               Label
140              68:      6(int)   Load 60(i)
141              69:      6(int)   IAdd 68 20
142                                Store 60(i) 69
143                                Branch 61
144              63:             Label
145                              Branch 70
146              70:             Label
147                              LoopMerge 72 73 None
148                              Branch 74
149              74:             Label
150                              BranchConditional 31 71 72
151              71:               Label
152                                Branch 73
153              73:               Label
154                                Branch 70
155              72:             Label
156                              Branch 75
157              75:             Label
158                              LoopMerge 77 78 None
159                              Branch 76
160              76:             Label
161                              Branch 78
162              78:             Label
163                              BranchConditional 31 75 77
164              77:             Label
165                              Store 79(i) 9
166                              Branch 80
167              80:             Label
168                              LoopMerge 82 83 None
169                              Branch 84
170              84:             Label
171              85:      6(int) Load 79(i)
172              86:    17(bool) SLessThan 85 16
173                              BranchConditional 86 81 82
174              81:               Label
175                                Branch 83
176              83:               Label
177              87:      6(int)   Load 79(i)
178              88:      6(int)   IAdd 87 20
179                                Store 79(i) 88
180                                Branch 80
181              82:             Label
182              89:    17(bool) Load 47(cond)
183                              SelectionMerge 91 None
184                              BranchConditional 89 90 91
185              90:               Label
186                                Branch 91
187              91:             Label
188              92:    17(bool) Load 47(cond)
189                              SelectionMerge 94 None
190                              BranchConditional 92 93 94
191              93:               Label
192                                Store 47(cond) 54
193                                Branch 94
194              94:             Label
195                              SelectionMerge 96 None
196                              Switch 55 96
197                                     case 3: 95
198              95:               Label
199                                Branch 96
200              96:             Label
201                              Branch 99
202              99:             Label
203                              LoopMerge 101 102 Unroll DontUnroll DependencyLength  2
204                              Branch 103
205             103:             Label
206             104:    17(bool) Load 47(cond)
207                              BranchConditional 104 100 101
208             100:               Label
209                                Branch 102
210             102:               Label
211                                Branch 99
212             101:             Label
213                              SelectionMerge 106 DontFlatten
214                              Switch 55 106
215                                     case 3: 105
216             105:               Label
217                                Branch 106
218             106:             Label
219             109:    17(bool) Load 47(cond)
220                              SelectionMerge 111 Flatten
221                              BranchConditional 109 110 111
222             110:               Label
223                                Branch 111
224             111:             Label
225                              Branch 112
226             112:             Label
227                              LoopMerge 114 115 DependencyInfinite
228                              Branch 116
229             116:             Label
230             117:    17(bool) Load 47(cond)
231                              BranchConditional 117 113 114
232             113:               Label
233                                Branch 115
234             115:               Label
235                                Branch 112
236             114:             Label
237                              Return
238                              FunctionEnd
239