aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/vulkan.ast.vert.out
blob: 68e892b4ac037c3ea2cd809b73af0a6963cadea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
vulkan.ast.vert
Shader version: 450
0:? Sequence
0:7  Function Definition: main( ( global void)
0:7    Function Parameters: 
0:9    Sequence
0:9      Convert float to bool ( temp bool)
0:9        'scf1' ( specialization-constant const highp float)
0:9          1.000000
0:10      Construct bool ( specialization-constant const bool)
0:10        'scbt' ( specialization-constant const bool)
0:10          true (const bool)
0:11      Convert int to bool ( specialization-constant const bool)
0:11        'sci2' ( specialization-constant const highp int)
0:11          2 (const int)
0:13      Construct float ( temp float)
0:13        'scf1' ( specialization-constant const highp float)
0:13          1.000000
0:14      Convert bool to float ( temp float)
0:14        'scbt' ( specialization-constant const bool)
0:14          true (const bool)
0:15      Convert int to float ( temp highp float)
0:15        'sci2' ( specialization-constant const highp int)
0:15          2 (const int)
0:17      Convert float to int ( temp highp int)
0:17        'scf1' ( specialization-constant const highp float)
0:17          1.000000
0:18      Convert bool to int ( specialization-constant const int)
0:18        'scbt' ( specialization-constant const bool)
0:18          true (const bool)
0:19      Construct int ( specialization-constant const int)
0:19        'sci2' ( specialization-constant const highp int)
0:19          2 (const int)
0:21      component-wise multiply ( temp highp float)
0:21        'scf1' ( specialization-constant const highp float)
0:21          1.000000
0:21        'scf1' ( specialization-constant const highp float)
0:21          1.000000
0:22      logical-or ( specialization-constant const bool)
0:22        'scbt' ( specialization-constant const bool)
0:22          true (const bool)
0:22        'scbt' ( specialization-constant const bool)
0:22          true (const bool)
0:23      component-wise multiply ( specialization-constant const highp int)
0:23        'sci2' ( specialization-constant const highp int)
0:23          2 (const int)
0:23        'sci2' ( specialization-constant const highp int)
0:23          2 (const int)
0:24      add ( temp highp float)
0:24        'scf1' ( specialization-constant const highp float)
0:24          1.000000
0:24        Convert int to float ( temp highp float)
0:24          'sci2' ( specialization-constant const highp int)
0:24            2 (const int)
0:26      Negate value ( temp highp float)
0:26        'scf1' ( specialization-constant const highp float)
0:26          1.000000
0:27      Negate conditional ( specialization-constant const bool)
0:27        'scbt' ( specialization-constant const bool)
0:27          true (const bool)
0:28      Negate value ( specialization-constant const highp int)
0:28        'sci2' ( specialization-constant const highp int)
0:28          2 (const int)
0:30      Compare Greater Than ( temp bool)
0:30        'scf1' ( specialization-constant const highp float)
0:30          1.000000
0:30        'scf1' ( specialization-constant const highp float)
0:30          1.000000
0:31      Compare Greater Than ( specialization-constant const bool)
0:31        'sci2' ( specialization-constant const highp int)
0:31          2 (const int)
0:31        'sci2' ( specialization-constant const highp int)
0:31          2 (const int)
0:33      Compare Not Equal ( temp bool)
0:33        'scf1' ( specialization-constant const highp float)
0:33          1.000000
0:33        'scf1' ( specialization-constant const highp float)
0:33          1.000000
0:34      Compare Not Equal ( specialization-constant const bool)
0:34        'scbt' ( specialization-constant const bool)
0:34          true (const bool)
0:34        'scbt' ( specialization-constant const bool)
0:34          true (const bool)
0:35      Compare Not Equal ( specialization-constant const bool)
0:35        'sci2' ( specialization-constant const highp int)
0:35          2 (const int)
0:35        'sci2' ( specialization-constant const highp int)
0:35          2 (const int)
0:37      Construct ivec2 ( specialization-constant const highp 2-component vector of int)
0:37        'sci2' ( specialization-constant const highp int)
0:37          2 (const int)
0:37        'sci2' ( specialization-constant const highp int)
0:37          2 (const int)
0:38      Construct ivec2 ( temp 2-element array of highp 2-component vector of int)
0:38        Construct ivec2 ( specialization-constant const highp 2-component vector of int)
0:38          'sci2' ( specialization-constant const highp int)
0:38            2 (const int)
0:38          'sci2' ( specialization-constant const highp int)
0:38            2 (const int)
0:38        Construct ivec2 ( specialization-constant const highp 2-component vector of int)
0:38          'sci2' ( specialization-constant const highp int)
0:38            2 (const int)
0:38          'sci2' ( specialization-constant const highp int)
0:38            2 (const int)
0:40      Construct vec2 ( specialization-constant const highp 2-component vector of float)
0:40        'scf1' ( specialization-constant const highp float)
0:40          1.000000
0:40        'scf1' ( specialization-constant const highp float)
0:40          1.000000
0:41      Construct vec2 ( temp 2-element array of highp 2-component vector of float)
0:41        Construct vec2 ( specialization-constant const highp 2-component vector of float)
0:41          'scf1' ( specialization-constant const highp float)
0:41            1.000000
0:41          'scf1' ( specialization-constant const highp float)
0:41            1.000000
0:41        Construct vec2 ( specialization-constant const highp 2-component vector of float)
0:41          'scf1' ( specialization-constant const highp float)
0:41            1.000000
0:41          'scf1' ( specialization-constant const highp float)
0:41            1.000000
0:?   Linker Objects
0:?     'scf1' ( specialization-constant const highp float)
0:?       1.000000
0:?     'scbt' ( specialization-constant const bool)
0:?       true (const bool)
0:?     'sci2' ( specialization-constant const highp int)
0:?       2 (const int)


Linked vertex stage:


Shader version: 450
0:? Sequence
0:7  Function Definition: main( ( global void)
0:7    Function Parameters: 
0:9    Sequence
0:9      Convert float to bool ( temp bool)
0:9        'scf1' ( specialization-constant const highp float)
0:9          1.000000
0:10      Construct bool ( specialization-constant const bool)
0:10        'scbt' ( specialization-constant const bool)
0:10          true (const bool)
0:11      Convert int to bool ( specialization-constant const bool)
0:11        'sci2' ( specialization-constant const highp int)
0:11          2 (const int)
0:13      Construct float ( temp float)
0:13        'scf1' ( specialization-constant const highp float)
0:13          1.000000
0:14      Convert bool to float ( temp float)
0:14        'scbt' ( specialization-constant const bool)
0:14          true (const bool)
0:15      Convert int to float ( temp highp float)
0:15        'sci2' ( specialization-constant const highp int)
0:15          2 (const int)
0:17      Convert float to int ( temp highp int)
0:17        'scf1' ( specialization-constant const highp float)
0:17          1.000000
0:18      Convert bool to int ( specialization-constant const int)
0:18        'scbt' ( specialization-constant const bool)
0:18          true (const bool)
0:19      Construct int ( specialization-constant const int)
0:19        'sci2' ( specialization-constant const highp int)
0:19          2 (const int)
0:21      component-wise multiply ( temp highp float)
0:21        'scf1' ( specialization-constant const highp float)
0:21          1.000000
0:21        'scf1' ( specialization-constant const highp float)
0:21          1.000000
0:22      logical-or ( specialization-constant const bool)
0:22        'scbt' ( specialization-constant const bool)
0:22          true (const bool)
0:22        'scbt' ( specialization-constant const bool)
0:22          true (const bool)
0:23      component-wise multiply ( specialization-constant const highp int)
0:23        'sci2' ( specialization-constant const highp int)
0:23          2 (const int)
0:23        'sci2' ( specialization-constant const highp int)
0:23          2 (const int)
0:24      add ( temp highp float)
0:24        'scf1' ( specialization-constant const highp float)
0:24          1.000000
0:24        Convert int to float ( temp highp float)
0:24          'sci2' ( specialization-constant const highp int)
0:24            2 (const int)
0:26      Negate value ( temp highp float)
0:26        'scf1' ( specialization-constant const highp float)
0:26          1.000000
0:27      Negate conditional ( specialization-constant const bool)
0:27        'scbt' ( specialization-constant const bool)
0:27          true (const bool)
0:28      Negate value ( specialization-constant const highp int)
0:28        'sci2' ( specialization-constant const highp int)
0:28          2 (const int)
0:30      Compare Greater Than ( temp bool)
0:30        'scf1' ( specialization-constant const highp float)
0:30          1.000000
0:30        'scf1' ( specialization-constant const highp float)
0:30          1.000000
0:31      Compare Greater Than ( specialization-constant const bool)
0:31        'sci2' ( specialization-constant const highp int)
0:31          2 (const int)
0:31        'sci2' ( specialization-constant const highp int)
0:31          2 (const int)
0:33      Compare Not Equal ( temp bool)
0:33        'scf1' ( specialization-constant const highp float)
0:33          1.000000
0:33        'scf1' ( specialization-constant const highp float)
0:33          1.000000
0:34      Compare Not Equal ( specialization-constant const bool)
0:34        'scbt' ( specialization-constant const bool)
0:34          true (const bool)
0:34        'scbt' ( specialization-constant const bool)
0:34          true (const bool)
0:35      Compare Not Equal ( specialization-constant const bool)
0:35        'sci2' ( specialization-constant const highp int)
0:35          2 (const int)
0:35        'sci2' ( specialization-constant const highp int)
0:35          2 (const int)
0:37      Construct ivec2 ( specialization-constant const highp 2-component vector of int)
0:37        'sci2' ( specialization-constant const highp int)
0:37          2 (const int)
0:37        'sci2' ( specialization-constant const highp int)
0:37          2 (const int)
0:38      Construct ivec2 ( temp 2-element array of highp 2-component vector of int)
0:38        Construct ivec2 ( specialization-constant const highp 2-component vector of int)
0:38          'sci2' ( specialization-constant const highp int)
0:38            2 (const int)
0:38          'sci2' ( specialization-constant const highp int)
0:38            2 (const int)
0:38        Construct ivec2 ( specialization-constant const highp 2-component vector of int)
0:38          'sci2' ( specialization-constant const highp int)
0:38            2 (const int)
0:38          'sci2' ( specialization-constant const highp int)
0:38            2 (const int)
0:40      Construct vec2 ( specialization-constant const highp 2-component vector of float)
0:40        'scf1' ( specialization-constant const highp float)
0:40          1.000000
0:40        'scf1' ( specialization-constant const highp float)
0:40          1.000000
0:41      Construct vec2 ( temp 2-element array of highp 2-component vector of float)
0:41        Construct vec2 ( specialization-constant const highp 2-component vector of float)
0:41          'scf1' ( specialization-constant const highp float)
0:41            1.000000
0:41          'scf1' ( specialization-constant const highp float)
0:41            1.000000
0:41        Construct vec2 ( specialization-constant const highp 2-component vector of float)
0:41          'scf1' ( specialization-constant const highp float)
0:41            1.000000
0:41          'scf1' ( specialization-constant const highp float)
0:41            1.000000
0:?   Linker Objects
0:?     'scf1' ( specialization-constant const highp float)
0:?       1.000000
0:?     'scbt' ( specialization-constant const bool)
0:?       true (const bool)
0:?     'sci2' ( specialization-constant const highp int)
0:?       2 (const int)

// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 50

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Vertex 4  "main"
                              Source GLSL 450
                              Name 4  "main"
                              Name 7  "scf1"
                              Name 11  "scbt"
                              Name 13  "sci2"
                              Decorate 7(scf1) SpecId 200
                              Decorate 11(scbt) SpecId 201
                              Decorate 13(sci2) SpecId 202
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
         7(scf1):    6(float) SpecConstant 1065353216
               8:             TypeBool
               9:    6(float) Constant 0
        11(scbt):     8(bool) SpecConstantTrue
              12:             TypeInt 32 1
        13(sci2):     12(int) SpecConstant 2
              14:             TypeInt 32 0
              15:     14(int) Constant 0
              16:     8(bool) SpecConstantOp 171 13(sci2) 15
              17:    6(float) Constant 1065353216
              21:     12(int) Constant 0
              22:     12(int) Constant 1
              23:     12(int) SpecConstantOp 169 11(scbt) 22 21
              25:     8(bool) SpecConstantOp 166 11(scbt) 11(scbt)
              26:     12(int) SpecConstantOp 132 13(sci2) 13(sci2)
              30:     8(bool) SpecConstantOp 168 11(scbt)
              31:     12(int) SpecConstantOp 126 13(sci2)
              33:     8(bool) SpecConstantOp 173 13(sci2) 13(sci2)
              35:     8(bool) SpecConstantOp 165 11(scbt) 11(scbt)
              36:     8(bool) SpecConstantOp 171 13(sci2) 13(sci2)
              37:             TypeVector 12(int) 2
              38:   37(ivec2) SpecConstantComposite 13(sci2) 13(sci2)
              39:   37(ivec2) SpecConstantComposite 13(sci2) 13(sci2)
              40:   37(ivec2) SpecConstantComposite 13(sci2) 13(sci2)
              41:     14(int) Constant 2
              42:             TypeArray 37(ivec2) 41
              44:             TypeVector 6(float) 2
              45:   44(fvec2) SpecConstantComposite 7(scf1) 7(scf1)
              46:   44(fvec2) SpecConstantComposite 7(scf1) 7(scf1)
              47:   44(fvec2) SpecConstantComposite 7(scf1) 7(scf1)
              48:             TypeArray 44(fvec2) 41
         4(main):           2 Function None 3
               5:             Label
              10:     8(bool) FUnordNotEqual 7(scf1) 9
              18:    6(float) Select 11(scbt) 17 9
              19:    6(float) ConvertSToF 13(sci2)
              20:     12(int) ConvertFToS 7(scf1)
              24:    6(float) FMul 7(scf1) 7(scf1)
              27:    6(float) ConvertSToF 13(sci2)
              28:    6(float) FAdd 7(scf1) 27
              29:    6(float) FNegate 7(scf1)
              32:     8(bool) FOrdGreaterThan 7(scf1) 7(scf1)
              34:     8(bool) FUnordNotEqual 7(scf1) 7(scf1)
              43:          42 CompositeConstruct 39 40
              49:          48 CompositeConstruct 46 47
                              Return
                              FunctionEnd