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