1spv.bitCast.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 198
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 14 26 40 56 103 112 123 136 142 150 161 174 180
10                              ExecutionMode 4 OriginUpperLeft
11                              Source GLSL 450
12                              Name 4  "main"
13                              Name 9  "idata"
14                              Name 14  "f1"
15                              Name 26  "f2"
16                              Name 40  "f3"
17                              Name 56  "f4"
18                              Name 63  "udata"
19                              Name 99  "fdata"
20                              Name 103  "i1"
21                              Name 112  "i2"
22                              Name 123  "i3"
23                              Name 136  "i4"
24                              Name 142  "u1"
25                              Name 150  "u2"
26                              Name 161  "u3"
27                              Name 174  "u4"
28                              Name 180  "fragColor"
29                              Decorate 14(f1) Location 8
30                              Decorate 26(f2) Location 9
31                              Decorate 40(f3) Location 10
32                              Decorate 56(f4) Location 11
33                              Decorate 103(i1) Flat
34                              Decorate 103(i1) Location 0
35                              Decorate 112(i2) Flat
36                              Decorate 112(i2) Location 1
37                              Decorate 123(i3) Flat
38                              Decorate 123(i3) Location 2
39                              Decorate 136(i4) Flat
40                              Decorate 136(i4) Location 3
41                              Decorate 142(u1) Flat
42                              Decorate 142(u1) Location 4
43                              Decorate 150(u2) Flat
44                              Decorate 150(u2) Location 5
45                              Decorate 161(u3) Flat
46                              Decorate 161(u3) Location 6
47                              Decorate 174(u4) Flat
48                              Decorate 174(u4) Location 7
49                              Decorate 180(fragColor) Location 0
50               2:             TypeVoid
51               3:             TypeFunction 2
52               6:             TypeInt 32 1
53               7:             TypeVector 6(int) 4
54               8:             TypePointer Function 7(ivec4)
55              10:      6(int) Constant 0
56              11:    7(ivec4) ConstantComposite 10 10 10 10
57              12:             TypeFloat 32
58              13:             TypePointer Input 12(float)
59          14(f1):     13(ptr) Variable Input
60              17:             TypeInt 32 0
61              18:     17(int) Constant 0
62              19:             TypePointer Function 6(int)
63              24:             TypeVector 12(float) 2
64              25:             TypePointer Input 24(fvec2)
65          26(f2):     25(ptr) Variable Input
66              28:             TypeVector 6(int) 2
67              35:     17(int) Constant 1
68              38:             TypeVector 12(float) 3
69              39:             TypePointer Input 38(fvec3)
70          40(f3):     39(ptr) Variable Input
71              42:             TypeVector 6(int) 3
72              51:     17(int) Constant 2
73              54:             TypeVector 12(float) 4
74              55:             TypePointer Input 54(fvec4)
75          56(f4):     55(ptr) Variable Input
76              61:             TypeVector 17(int) 4
77              62:             TypePointer Function 61(ivec4)
78              64:   61(ivec4) ConstantComposite 18 18 18 18
79              67:             TypePointer Function 17(int)
80              73:             TypeVector 17(int) 2
81              83:             TypeVector 17(int) 3
82              98:             TypePointer Function 54(fvec4)
83             100:   12(float) Constant 0
84             101:   54(fvec4) ConstantComposite 100 100 100 100
85             102:             TypePointer Input 6(int)
86         103(i1):    102(ptr) Variable Input
87             106:             TypePointer Function 12(float)
88             111:             TypePointer Input 28(ivec2)
89         112(i2):    111(ptr) Variable Input
90             122:             TypePointer Input 42(ivec3)
91         123(i3):    122(ptr) Variable Input
92             135:             TypePointer Input 7(ivec4)
93         136(i4):    135(ptr) Variable Input
94             141:             TypePointer Input 17(int)
95         142(u1):    141(ptr) Variable Input
96             149:             TypePointer Input 73(ivec2)
97         150(u2):    149(ptr) Variable Input
98             160:             TypePointer Input 83(ivec3)
99         161(u3):    160(ptr) Variable Input
100             173:             TypePointer Input 61(ivec4)
101         174(u4):    173(ptr) Variable Input
102             179:             TypePointer Output 54(fvec4)
103  180(fragColor):    179(ptr) Variable Output
104             184:             TypeBool
105             185:             TypeVector 184(bool) 4
106             194:   12(float) Constant 1045220557
107             195:   54(fvec4) ConstantComposite 194 194 194 194
108         4(main):           2 Function None 3
109               5:             Label
110        9(idata):      8(ptr) Variable Function
111       63(udata):     62(ptr) Variable Function
112       99(fdata):     98(ptr) Variable Function
113             188:     98(ptr) Variable Function
114                              Store 9(idata) 11
115              15:   12(float) Load 14(f1)
116              16:      6(int) Bitcast 15
117              20:     19(ptr) AccessChain 9(idata) 18
118              21:      6(int) Load 20
119              22:      6(int) IAdd 21 16
120              23:     19(ptr) AccessChain 9(idata) 18
121                              Store 23 22
122              27:   24(fvec2) Load 26(f2)
123              29:   28(ivec2) Bitcast 27
124              30:    7(ivec4) Load 9(idata)
125              31:   28(ivec2) VectorShuffle 30 30 0 1
126              32:   28(ivec2) IAdd 31 29
127              33:     19(ptr) AccessChain 9(idata) 18
128              34:      6(int) CompositeExtract 32 0
129                              Store 33 34
130              36:     19(ptr) AccessChain 9(idata) 35
131              37:      6(int) CompositeExtract 32 1
132                              Store 36 37
133              41:   38(fvec3) Load 40(f3)
134              43:   42(ivec3) Bitcast 41
135              44:    7(ivec4) Load 9(idata)
136              45:   42(ivec3) VectorShuffle 44 44 0 1 2
137              46:   42(ivec3) IAdd 45 43
138              47:     19(ptr) AccessChain 9(idata) 18
139              48:      6(int) CompositeExtract 46 0
140                              Store 47 48
141              49:     19(ptr) AccessChain 9(idata) 35
142              50:      6(int) CompositeExtract 46 1
143                              Store 49 50
144              52:     19(ptr) AccessChain 9(idata) 51
145              53:      6(int) CompositeExtract 46 2
146                              Store 52 53
147              57:   54(fvec4) Load 56(f4)
148              58:    7(ivec4) Bitcast 57
149              59:    7(ivec4) Load 9(idata)
150              60:    7(ivec4) IAdd 59 58
151                              Store 9(idata) 60
152                              Store 63(udata) 64
153              65:   12(float) Load 14(f1)
154              66:     17(int) Bitcast 65
155              68:     67(ptr) AccessChain 63(udata) 18
156              69:     17(int) Load 68
157              70:     17(int) IAdd 69 66
158              71:     67(ptr) AccessChain 63(udata) 18
159                              Store 71 70
160              72:   24(fvec2) Load 26(f2)
161              74:   73(ivec2) Bitcast 72
162              75:   61(ivec4) Load 63(udata)
163              76:   73(ivec2) VectorShuffle 75 75 0 1
164              77:   73(ivec2) IAdd 76 74
165              78:     67(ptr) AccessChain 63(udata) 18
166              79:     17(int) CompositeExtract 77 0
167                              Store 78 79
168              80:     67(ptr) AccessChain 63(udata) 35
169              81:     17(int) CompositeExtract 77 1
170                              Store 80 81
171              82:   38(fvec3) Load 40(f3)
172              84:   83(ivec3) Bitcast 82
173              85:   61(ivec4) Load 63(udata)
174              86:   83(ivec3) VectorShuffle 85 85 0 1 2
175              87:   83(ivec3) IAdd 86 84
176              88:     67(ptr) AccessChain 63(udata) 18
177              89:     17(int) CompositeExtract 87 0
178                              Store 88 89
179              90:     67(ptr) AccessChain 63(udata) 35
180              91:     17(int) CompositeExtract 87 1
181                              Store 90 91
182              92:     67(ptr) AccessChain 63(udata) 51
183              93:     17(int) CompositeExtract 87 2
184                              Store 92 93
185              94:   54(fvec4) Load 56(f4)
186              95:   61(ivec4) Bitcast 94
187              96:   61(ivec4) Load 63(udata)
188              97:   61(ivec4) IAdd 96 95
189                              Store 63(udata) 97
190                              Store 99(fdata) 101
191             104:      6(int) Load 103(i1)
192             105:   12(float) Bitcast 104
193             107:    106(ptr) AccessChain 99(fdata) 18
194             108:   12(float) Load 107
195             109:   12(float) FAdd 108 105
196             110:    106(ptr) AccessChain 99(fdata) 18
197                              Store 110 109
198             113:   28(ivec2) Load 112(i2)
199             114:   24(fvec2) Bitcast 113
200             115:   54(fvec4) Load 99(fdata)
201             116:   24(fvec2) VectorShuffle 115 115 0 1
202             117:   24(fvec2) FAdd 116 114
203             118:    106(ptr) AccessChain 99(fdata) 18
204             119:   12(float) CompositeExtract 117 0
205                              Store 118 119
206             120:    106(ptr) AccessChain 99(fdata) 35
207             121:   12(float) CompositeExtract 117 1
208                              Store 120 121
209             124:   42(ivec3) Load 123(i3)
210             125:   38(fvec3) Bitcast 124
211             126:   54(fvec4) Load 99(fdata)
212             127:   38(fvec3) VectorShuffle 126 126 0 1 2
213             128:   38(fvec3) FAdd 127 125
214             129:    106(ptr) AccessChain 99(fdata) 18
215             130:   12(float) CompositeExtract 128 0
216                              Store 129 130
217             131:    106(ptr) AccessChain 99(fdata) 35
218             132:   12(float) CompositeExtract 128 1
219                              Store 131 132
220             133:    106(ptr) AccessChain 99(fdata) 51
221             134:   12(float) CompositeExtract 128 2
222                              Store 133 134
223             137:    7(ivec4) Load 136(i4)
224             138:   54(fvec4) Bitcast 137
225             139:   54(fvec4) Load 99(fdata)
226             140:   54(fvec4) FAdd 139 138
227                              Store 99(fdata) 140
228             143:     17(int) Load 142(u1)
229             144:   12(float) Bitcast 143
230             145:    106(ptr) AccessChain 99(fdata) 18
231             146:   12(float) Load 145
232             147:   12(float) FAdd 146 144
233             148:    106(ptr) AccessChain 99(fdata) 18
234                              Store 148 147
235             151:   73(ivec2) Load 150(u2)
236             152:   24(fvec2) Bitcast 151
237             153:   54(fvec4) Load 99(fdata)
238             154:   24(fvec2) VectorShuffle 153 153 0 1
239             155:   24(fvec2) FAdd 154 152
240             156:    106(ptr) AccessChain 99(fdata) 18
241             157:   12(float) CompositeExtract 155 0
242                              Store 156 157
243             158:    106(ptr) AccessChain 99(fdata) 35
244             159:   12(float) CompositeExtract 155 1
245                              Store 158 159
246             162:   83(ivec3) Load 161(u3)
247             163:   38(fvec3) Bitcast 162
248             164:   54(fvec4) Load 99(fdata)
249             165:   38(fvec3) VectorShuffle 164 164 0 1 2
250             166:   38(fvec3) FAdd 165 163
251             167:    106(ptr) AccessChain 99(fdata) 18
252             168:   12(float) CompositeExtract 166 0
253                              Store 167 168
254             169:    106(ptr) AccessChain 99(fdata) 35
255             170:   12(float) CompositeExtract 166 1
256                              Store 169 170
257             171:    106(ptr) AccessChain 99(fdata) 51
258             172:   12(float) CompositeExtract 166 2
259                              Store 171 172
260             175:   61(ivec4) Load 174(u4)
261             176:   54(fvec4) Bitcast 175
262             177:   54(fvec4) Load 99(fdata)
263             178:   54(fvec4) FAdd 177 176
264                              Store 99(fdata) 178
265             181:    7(ivec4) Load 9(idata)
266             182:   61(ivec4) Bitcast 181
267             183:   61(ivec4) Load 63(udata)
268             186:  185(bvec4) IEqual 182 183
269             187:   184(bool) All 186
270                              SelectionMerge 190 None
271                              BranchConditional 187 189 192
272             189:               Label
273             191:   54(fvec4)   Load 99(fdata)
274                                Store 188 191
275                                Branch 190
276             192:               Label
277             193:   54(fvec4)   Load 99(fdata)
278             196:   54(fvec4)   FAdd 193 195
279                                Store 188 196
280                                Branch 190
281             190:             Label
282             197:   54(fvec4) Load 188
283                              Store 180(fragColor) 197
284                              Return
285                              FunctionEnd
286