Setup dependent external sources
[platform/upstream/VK-GL-CTS.git] / external / glslang / src / Test / baseResults / spv.bitCast.frag.out
1 spv.bitCast.frag
2 Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
3
4 // Module Version 10000
5 // Generated by (magic number): 80001
6 // Id's are bound by 172
7
8                               Capability Shader
9                1:             ExtInstImport  "GLSL.std.450"
10                               MemoryModel Logical GLSL450
11                               EntryPoint Fragment 4  "main" 14 26 37 48 89 98 107 116 122 130 139 148 154
12                               ExecutionMode 4 OriginUpperLeft
13                               Source GLSL 450
14                               Name 4  "main"
15                               Name 9  "idata"
16                               Name 14  "f1"
17                               Name 26  "f2"
18                               Name 37  "f3"
19                               Name 48  "f4"
20                               Name 55  "udata"
21                               Name 85  "fdata"
22                               Name 89  "i1"
23                               Name 98  "i2"
24                               Name 107  "i3"
25                               Name 116  "i4"
26                               Name 122  "u1"
27                               Name 130  "u2"
28                               Name 139  "u3"
29                               Name 148  "u4"
30                               Name 154  "fragColor"
31                               Decorate 89(i1) Flat
32                               Decorate 98(i2) Flat
33                               Decorate 107(i3) Flat
34                               Decorate 116(i4) Flat
35                               Decorate 122(u1) Flat
36                               Decorate 130(u2) Flat
37                               Decorate 139(u3) Flat
38                               Decorate 148(u4) Flat
39                2:             TypeVoid
40                3:             TypeFunction 2
41                6:             TypeInt 32 1
42                7:             TypeVector 6(int) 4
43                8:             TypePointer Function 7(ivec4)
44               10:      6(int) Constant 0
45               11:    7(ivec4) ConstantComposite 10 10 10 10
46               12:             TypeFloat 32
47               13:             TypePointer Input 12(float)
48           14(f1):     13(ptr) Variable Input
49               17:             TypeInt 32 0
50               18:     17(int) Constant 0
51               19:             TypePointer Function 6(int)
52               24:             TypeVector 12(float) 2
53               25:             TypePointer Input 24(fvec2)
54           26(f2):     25(ptr) Variable Input
55               28:             TypeVector 6(int) 2
56               35:             TypeVector 12(float) 3
57               36:             TypePointer Input 35(fvec3)
58           37(f3):     36(ptr) Variable Input
59               39:             TypeVector 6(int) 3
60               46:             TypeVector 12(float) 4
61               47:             TypePointer Input 46(fvec4)
62           48(f4):     47(ptr) Variable Input
63               53:             TypeVector 17(int) 4
64               54:             TypePointer Function 53(ivec4)
65               56:   53(ivec4) ConstantComposite 18 18 18 18
66               59:             TypePointer Function 17(int)
67               65:             TypeVector 17(int) 2
68               73:             TypeVector 17(int) 3
69               84:             TypePointer Function 46(fvec4)
70               86:   12(float) Constant 0
71               87:   46(fvec4) ConstantComposite 86 86 86 86
72               88:             TypePointer Input 6(int)
73           89(i1):     88(ptr) Variable Input
74               92:             TypePointer Function 12(float)
75               97:             TypePointer Input 28(ivec2)
76           98(i2):     97(ptr) Variable Input
77              106:             TypePointer Input 39(ivec3)
78          107(i3):    106(ptr) Variable Input
79              115:             TypePointer Input 7(ivec4)
80          116(i4):    115(ptr) Variable Input
81              121:             TypePointer Input 17(int)
82          122(u1):    121(ptr) Variable Input
83              129:             TypePointer Input 65(ivec2)
84          130(u2):    129(ptr) Variable Input
85              138:             TypePointer Input 73(ivec3)
86          139(u3):    138(ptr) Variable Input
87              147:             TypePointer Input 53(ivec4)
88          148(u4):    147(ptr) Variable Input
89              153:             TypePointer Output 46(fvec4)
90   154(fragColor):    153(ptr) Variable Output
91              159:             TypeBool
92              160:             TypeVector 159(bool) 4
93              168:   12(float) Constant 1045220557
94              169:   46(fvec4) ConstantComposite 168 168 168 168
95          4(main):           2 Function None 3
96                5:             Label
97         9(idata):      8(ptr) Variable Function
98        55(udata):     54(ptr) Variable Function
99        85(fdata):     84(ptr) Variable Function
100              155:     84(ptr) Variable Function
101                               Store 9(idata) 11
102               15:   12(float) Load 14(f1)
103               16:      6(int) Bitcast 15
104               20:     19(ptr) AccessChain 9(idata) 18
105               21:      6(int) Load 20
106               22:      6(int) IAdd 21 16
107               23:     19(ptr) AccessChain 9(idata) 18
108                               Store 23 22
109               27:   24(fvec2) Load 26(f2)
110               29:   28(ivec2) Bitcast 27
111               30:    7(ivec4) Load 9(idata)
112               31:   28(ivec2) VectorShuffle 30 30 0 1
113               32:   28(ivec2) IAdd 31 29
114               33:    7(ivec4) Load 9(idata)
115               34:    7(ivec4) VectorShuffle 33 32 4 5 2 3
116                               Store 9(idata) 34
117               38:   35(fvec3) Load 37(f3)
118               40:   39(ivec3) Bitcast 38
119               41:    7(ivec4) Load 9(idata)
120               42:   39(ivec3) VectorShuffle 41 41 0 1 2
121               43:   39(ivec3) IAdd 42 40
122               44:    7(ivec4) Load 9(idata)
123               45:    7(ivec4) VectorShuffle 44 43 4 5 6 3
124                               Store 9(idata) 45
125               49:   46(fvec4) Load 48(f4)
126               50:    7(ivec4) Bitcast 49
127               51:    7(ivec4) Load 9(idata)
128               52:    7(ivec4) IAdd 51 50
129                               Store 9(idata) 52
130                               Store 55(udata) 56
131               57:   12(float) Load 14(f1)
132               58:     17(int) Bitcast 57
133               60:     59(ptr) AccessChain 55(udata) 18
134               61:     17(int) Load 60
135               62:     17(int) IAdd 61 58
136               63:     59(ptr) AccessChain 55(udata) 18
137                               Store 63 62
138               64:   24(fvec2) Load 26(f2)
139               66:   65(ivec2) Bitcast 64
140               67:   53(ivec4) Load 55(udata)
141               68:   65(ivec2) VectorShuffle 67 67 0 1
142               69:   65(ivec2) IAdd 68 66
143               70:   53(ivec4) Load 55(udata)
144               71:   53(ivec4) VectorShuffle 70 69 4 5 2 3
145                               Store 55(udata) 71
146               72:   35(fvec3) Load 37(f3)
147               74:   73(ivec3) Bitcast 72
148               75:   53(ivec4) Load 55(udata)
149               76:   73(ivec3) VectorShuffle 75 75 0 1 2
150               77:   73(ivec3) IAdd 76 74
151               78:   53(ivec4) Load 55(udata)
152               79:   53(ivec4) VectorShuffle 78 77 4 5 6 3
153                               Store 55(udata) 79
154               80:   46(fvec4) Load 48(f4)
155               81:   53(ivec4) Bitcast 80
156               82:   53(ivec4) Load 55(udata)
157               83:   53(ivec4) IAdd 82 81
158                               Store 55(udata) 83
159                               Store 85(fdata) 87
160               90:      6(int) Load 89(i1)
161               91:   12(float) Bitcast 90
162               93:     92(ptr) AccessChain 85(fdata) 18
163               94:   12(float) Load 93
164               95:   12(float) FAdd 94 91
165               96:     92(ptr) AccessChain 85(fdata) 18
166                               Store 96 95
167               99:   28(ivec2) Load 98(i2)
168              100:   24(fvec2) Bitcast 99
169              101:   46(fvec4) Load 85(fdata)
170              102:   24(fvec2) VectorShuffle 101 101 0 1
171              103:   24(fvec2) FAdd 102 100
172              104:   46(fvec4) Load 85(fdata)
173              105:   46(fvec4) VectorShuffle 104 103 4 5 2 3
174                               Store 85(fdata) 105
175              108:   39(ivec3) Load 107(i3)
176              109:   35(fvec3) Bitcast 108
177              110:   46(fvec4) Load 85(fdata)
178              111:   35(fvec3) VectorShuffle 110 110 0 1 2
179              112:   35(fvec3) FAdd 111 109
180              113:   46(fvec4) Load 85(fdata)
181              114:   46(fvec4) VectorShuffle 113 112 4 5 6 3
182                               Store 85(fdata) 114
183              117:    7(ivec4) Load 116(i4)
184              118:   46(fvec4) Bitcast 117
185              119:   46(fvec4) Load 85(fdata)
186              120:   46(fvec4) FAdd 119 118
187                               Store 85(fdata) 120
188              123:     17(int) Load 122(u1)
189              124:   12(float) Bitcast 123
190              125:     92(ptr) AccessChain 85(fdata) 18
191              126:   12(float) Load 125
192              127:   12(float) FAdd 126 124
193              128:     92(ptr) AccessChain 85(fdata) 18
194                               Store 128 127
195              131:   65(ivec2) Load 130(u2)
196              132:   24(fvec2) Bitcast 131
197              133:   46(fvec4) Load 85(fdata)
198              134:   24(fvec2) VectorShuffle 133 133 0 1
199              135:   24(fvec2) FAdd 134 132
200              136:   46(fvec4) Load 85(fdata)
201              137:   46(fvec4) VectorShuffle 136 135 4 5 2 3
202                               Store 85(fdata) 137
203              140:   73(ivec3) Load 139(u3)
204              141:   35(fvec3) Bitcast 140
205              142:   46(fvec4) Load 85(fdata)
206              143:   35(fvec3) VectorShuffle 142 142 0 1 2
207              144:   35(fvec3) FAdd 143 141
208              145:   46(fvec4) Load 85(fdata)
209              146:   46(fvec4) VectorShuffle 145 144 4 5 6 3
210                               Store 85(fdata) 146
211              149:   53(ivec4) Load 148(u4)
212              150:   46(fvec4) Bitcast 149
213              151:   46(fvec4) Load 85(fdata)
214              152:   46(fvec4) FAdd 151 150
215                               Store 85(fdata) 152
216              156:    7(ivec4) Load 9(idata)
217              157:   53(ivec4) Bitcast 156
218              158:   53(ivec4) Load 55(udata)
219              161:  160(bvec4) IEqual 157 158
220              162:   159(bool) All 161
221                               SelectionMerge 164 None
222                               BranchConditional 162 163 166
223              163:               Label
224              165:   46(fvec4)   Load 85(fdata)
225                                 Store 155 165
226                                 Branch 164
227              166:               Label
228              167:   46(fvec4)   Load 85(fdata)
229              170:   46(fvec4)   FAdd 167 169
230                                 Store 155 170
231                                 Branch 164
232              164:             Label
233              171:   46(fvec4) Load 155
234                               Store 154(fragColor) 171
235                               Return
236                               FunctionEnd