aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/hlsl.shapeConv.frag.out
blob: 79ca3f9e3f769e0ed9a79840d908f61ed7c37b35 (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
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
hlsl.shapeConv.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:2  Function Definition: PixelShaderFunction(vf4;f1; ( temp 4-component vector of float)
0:2    Function Parameters: 
0:2      'input' ( in 4-component vector of float)
0:2      'f' ( in float)
0:?     Sequence
0:4      move second child to first child ( temp 4-component vector of float)
0:4        'v' ( temp 4-component vector of float)
0:4        Constant:
0:4          1.000000
0:4          1.000000
0:4          1.000000
0:4          1.000000
0:5      move second child to first child ( temp 4-component vector of float)
0:5        'v' ( temp 4-component vector of float)
0:5        Constant:
0:5          2.000000
0:5          2.000000
0:5          2.000000
0:5          2.000000
0:6      move second child to first child ( temp 4-component vector of float)
0:6        'v' ( temp 4-component vector of float)
0:6        Construct vec4 ( temp 4-component vector of float)
0:6          'f' ( in float)
0:8      move second child to first child ( temp 3-component vector of float)
0:8        'u' ( temp 3-component vector of float)
0:8        Constant:
0:8          1.000000
0:8          1.000000
0:8          1.000000
0:9      move second child to first child ( temp 3-component vector of float)
0:9        'u' ( temp 3-component vector of float)
0:9        Constant:
0:9          2.000000
0:9          2.000000
0:9          2.000000
0:10      move second child to first child ( temp 3-component vector of float)
0:10        'u' ( temp 3-component vector of float)
0:10        Construct vec3 ( temp 3-component vector of float)
0:10          'f' ( in float)
0:11      Sequence
0:11        move second child to first child ( temp 2-component vector of float)
0:11          'w' ( temp 2-component vector of float)
0:11          Constant:
0:11            2.000000
0:11            2.000000
0:12      Sequence
0:12        move second child to first child ( temp float)
0:12          'V' ( temp float)
0:12          Constant:
0:12            1.000000
0:13      Sequence
0:13        move second child to first child ( temp 3-component vector of float)
0:13          'MyVal' ( temp 3-component vector of float)
0:13          Construct vec3 ( temp 3-component vector of float)
0:13            'V' ( temp float)
0:16      Compare Greater Than ( temp 3-component vector of bool)
0:16        'foo' ( temp 3-component vector of float)
0:16        Constant:
0:16          4.000000
0:16          4.000000
0:16          4.000000
0:17      Compare Greater Than or Equal ( temp 3-component vector of bool)
0:17        'foo' ( temp 3-component vector of float)
0:17        Constant:
0:17          5.000000
0:17          5.000000
0:17          5.000000
0:18      Compare Less Than ( temp 3-component vector of bool)
0:18        Constant:
0:18          6.000000
0:18          6.000000
0:18          6.000000
0:18        'foo' ( temp 3-component vector of float)
0:19      Compare Less Than or Equal ( temp 3-component vector of bool)
0:19        Constant:
0:19          7.000000
0:19          7.000000
0:19          7.000000
0:19        'foo' ( temp 3-component vector of float)
0:21      all ( temp bool)
0:21        Equal ( temp 4-component vector of bool)
0:21          Construct vec4 ( temp 4-component vector of float)
0:21            direct index ( temp float)
0:21              'v' ( temp 4-component vector of float)
0:21              Constant:
0:21                0 (const int)
0:21          'v' ( temp 4-component vector of float)
0:22      any ( temp bool)
0:22        NotEqual ( temp 4-component vector of bool)
0:22          Construct vec4 ( temp 4-component vector of float)
0:22            'f' ( in float)
0:22          'v' ( temp 4-component vector of float)
0:26      Equal ( temp 4-component vector of bool)
0:26        Construct vec4 ( temp 4-component vector of float)
0:26          'f1' ( temp 1-component vector of float)
0:26        'v' ( temp 4-component vector of float)
0:27      Compare Less Than ( temp 4-component vector of bool)
0:27        'v' ( temp 4-component vector of float)
0:27        Construct vec4 ( temp 4-component vector of float)
0:27          'f1' ( temp 1-component vector of float)
0:28      Construct float ( temp float)
0:28        'f1' ( temp 1-component vector of float)
0:29      Construct vec3 ( temp 3-component vector of float)
0:29        Construct float ( temp float)
0:29          'f1' ( temp 1-component vector of float)
0:36      right-shift ( temp 3-component vector of uint)
0:36        Construct uvec3 ( temp 3-component vector of uint)
0:36          'ui' ( temp uint)
0:36        'ui3' ( temp 3-component vector of uint)
0:37      right-shift ( temp 3-component vector of uint)
0:37        'ui3' ( temp 3-component vector of uint)
0:37        'ui' ( temp uint)
0:39      multiply second child into first child ( temp 4-component vector of float)
0:39        'v' ( temp 4-component vector of float)
0:39        'f1' ( temp 1-component vector of float)
0:40      multiply second child into first child ( temp 1-component vector of float)
0:40        'f1' ( temp 1-component vector of float)
0:40        Construct float ( temp 1-component vector of float)
0:40          'v' ( temp 4-component vector of float)
0:42      Sequence
0:42        move second child to first child ( temp 3-component vector of float)
0:42          'mixed' ( temp 3-component vector of float)
0:42          component-wise multiply ( temp 3-component vector of float)
0:42            'u' ( temp 3-component vector of float)
0:42            Construct vec3 ( temp 3-component vector of float)
0:42              'v' ( temp 4-component vector of float)
0:43      move second child to first child ( temp float)
0:43        'f' ( in float)
0:43        Construct float ( in float)
0:43          'u' ( temp 3-component vector of float)
0:44      move second child to first child ( temp 1-component vector of float)
0:44        'f1' ( temp 1-component vector of float)
0:44        Construct float ( temp 1-component vector of float)
0:44          'u' ( temp 3-component vector of float)
0:45      Sequence
0:45        move second child to first child ( temp float)
0:45          'sf' ( temp float)
0:45          Construct float ( temp float)
0:45            'v' ( temp 4-component vector of float)
0:46      Sequence
0:46        move second child to first child ( temp 1-component vector of float)
0:46          'sf1' ( temp 1-component vector of float)
0:46          Construct float ( temp 1-component vector of float)
0:46            'v' ( temp 4-component vector of float)
0:48      Branch: Return with expression
0:48        component-wise multiply ( temp 4-component vector of float)
0:48          'input' ( in 4-component vector of float)
0:48          Constant:
0:48            3.000000
0:48            3.000000
0:48            3.000000
0:48            3.000000
0:?   Linker Objects


Linked fragment stage:

WARNING: Linking fragment stage: Entry point not found

Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:2  Function Definition: PixelShaderFunction(vf4;f1; ( temp 4-component vector of float)
0:2    Function Parameters: 
0:2      'input' ( in 4-component vector of float)
0:2      'f' ( in float)
0:?     Sequence
0:4      move second child to first child ( temp 4-component vector of float)
0:4        'v' ( temp 4-component vector of float)
0:4        Constant:
0:4          1.000000
0:4          1.000000
0:4          1.000000
0:4          1.000000
0:5      move second child to first child ( temp 4-component vector of float)
0:5        'v' ( temp 4-component vector of float)
0:5        Constant:
0:5          2.000000
0:5          2.000000
0:5          2.000000
0:5          2.000000
0:6      move second child to first child ( temp 4-component vector of float)
0:6        'v' ( temp 4-component vector of float)
0:6        Construct vec4 ( temp 4-component vector of float)
0:6          'f' ( in float)
0:8      move second child to first child ( temp 3-component vector of float)
0:8        'u' ( temp 3-component vector of float)
0:8        Constant:
0:8          1.000000
0:8          1.000000
0:8          1.000000
0:9      move second child to first child ( temp 3-component vector of float)
0:9        'u' ( temp 3-component vector of float)
0:9        Constant:
0:9          2.000000
0:9          2.000000
0:9          2.000000
0:10      move second child to first child ( temp 3-component vector of float)
0:10        'u' ( temp 3-component vector of float)
0:10        Construct vec3 ( temp 3-component vector of float)
0:10          'f' ( in float)
0:11      Sequence
0:11        move second child to first child ( temp 2-component vector of float)
0:11          'w' ( temp 2-component vector of float)
0:11          Constant:
0:11            2.000000
0:11            2.000000
0:12      Sequence
0:12        move second child to first child ( temp float)
0:12          'V' ( temp float)
0:12          Constant:
0:12            1.000000
0:13      Sequence
0:13        move second child to first child ( temp 3-component vector of float)
0:13          'MyVal' ( temp 3-component vector of float)
0:13          Construct vec3 ( temp 3-component vector of float)
0:13            'V' ( temp float)
0:16      Compare Greater Than ( temp 3-component vector of bool)
0:16        'foo' ( temp 3-component vector of float)
0:16        Constant:
0:16          4.000000
0:16          4.000000
0:16          4.000000
0:17      Compare Greater Than or Equal ( temp 3-component vector of bool)
0:17        'foo' ( temp 3-component vector of float)
0:17        Constant:
0:17          5.000000
0:17          5.000000
0:17          5.000000
0:18      Compare Less Than ( temp 3-component vector of bool)
0:18        Constant:
0:18          6.000000
0:18          6.000000
0:18          6.000000
0:18        'foo' ( temp 3-component vector of float)
0:19      Compare Less Than or Equal ( temp 3-component vector of bool)
0:19        Constant:
0:19          7.000000
0:19          7.000000
0:19          7.000000
0:19        'foo' ( temp 3-component vector of float)
0:21      all ( temp bool)
0:21        Equal ( temp 4-component vector of bool)
0:21          Construct vec4 ( temp 4-component vector of float)
0:21            direct index ( temp float)
0:21              'v' ( temp 4-component vector of float)
0:21              Constant:
0:21                0 (const int)
0:21          'v' ( temp 4-component vector of float)
0:22      any ( temp bool)
0:22        NotEqual ( temp 4-component vector of bool)
0:22          Construct vec4 ( temp 4-component vector of float)
0:22            'f' ( in float)
0:22          'v' ( temp 4-component vector of float)
0:26      Equal ( temp 4-component vector of bool)
0:26        Construct vec4 ( temp 4-component vector of float)
0:26          'f1' ( temp 1-component vector of float)
0:26        'v' ( temp 4-component vector of float)
0:27      Compare Less Than ( temp 4-component vector of bool)
0:27        'v' ( temp 4-component vector of float)
0:27        Construct vec4 ( temp 4-component vector of float)
0:27          'f1' ( temp 1-component vector of float)
0:28      Construct float ( temp float)
0:28        'f1' ( temp 1-component vector of float)
0:29      Construct vec3 ( temp 3-component vector of float)
0:29        Construct float ( temp float)
0:29          'f1' ( temp 1-component vector of float)
0:36      right-shift ( temp 3-component vector of uint)
0:36        Construct uvec3 ( temp 3-component vector of uint)
0:36          'ui' ( temp uint)
0:36        'ui3' ( temp 3-component vector of uint)
0:37      right-shift ( temp 3-component vector of uint)
0:37        'ui3' ( temp 3-component vector of uint)
0:37        'ui' ( temp uint)
0:39      multiply second child into first child ( temp 4-component vector of float)
0:39        'v' ( temp 4-component vector of float)
0:39        'f1' ( temp 1-component vector of float)
0:40      multiply second child into first child ( temp 1-component vector of float)
0:40        'f1' ( temp 1-component vector of float)
0:40        Construct float ( temp 1-component vector of float)
0:40          'v' ( temp 4-component vector of float)
0:42      Sequence
0:42        move second child to first child ( temp 3-component vector of float)
0:42          'mixed' ( temp 3-component vector of float)
0:42          component-wise multiply ( temp 3-component vector of float)
0:42            'u' ( temp 3-component vector of float)
0:42            Construct vec3 ( temp 3-component vector of float)
0:42              'v' ( temp 4-component vector of float)
0:43      move second child to first child ( temp float)
0:43        'f' ( in float)
0:43        Construct float ( in float)
0:43          'u' ( temp 3-component vector of float)
0:44      move second child to first child ( temp 1-component vector of float)
0:44        'f1' ( temp 1-component vector of float)
0:44        Construct float ( temp 1-component vector of float)
0:44          'u' ( temp 3-component vector of float)
0:45      Sequence
0:45        move second child to first child ( temp float)
0:45          'sf' ( temp float)
0:45          Construct float ( temp float)
0:45            'v' ( temp 4-component vector of float)
0:46      Sequence
0:46        move second child to first child ( temp 1-component vector of float)
0:46          'sf1' ( temp 1-component vector of float)
0:46          Construct float ( temp 1-component vector of float)
0:46            'v' ( temp 4-component vector of float)
0:48      Branch: Return with expression
0:48        component-wise multiply ( temp 4-component vector of float)
0:48          'input' ( in 4-component vector of float)
0:48          Constant:
0:48            3.000000
0:48            3.000000
0:48            3.000000
0:48            3.000000
0:?   Linker Objects

// Module Version 10000
// Generated by (magic number): 80009
// Id's are bound by 127

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main"
                              ExecutionMode 4 OriginUpperLeft
                              Source HLSL 500
                              Name 4  "main"
                              Name 13  "PixelShaderFunction(vf4;f1;"
                              Name 11  "input"
                              Name 12  "f"
                              Name 15  "v"
                              Name 24  "u"
                              Name 31  "w"
                              Name 33  "V"
                              Name 34  "MyVal"
                              Name 37  "foo"
                              Name 70  "f1"
                              Name 83  "ui"
                              Name 88  "ui3"
                              Name 103  "mixed"
                              Name 115  "sf"
                              Name 118  "sf1"
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypePointer Function 7(fvec4)
               9:             TypePointer Function 6(float)
              10:             TypeFunction 7(fvec4) 8(ptr) 9(ptr)
              16:    6(float) Constant 1065353216
              17:    7(fvec4) ConstantComposite 16 16 16 16
              18:    6(float) Constant 1073741824
              19:    7(fvec4) ConstantComposite 18 18 18 18
              22:             TypeVector 6(float) 3
              23:             TypePointer Function 22(fvec3)
              25:   22(fvec3) ConstantComposite 16 16 16
              26:   22(fvec3) ConstantComposite 18 18 18
              29:             TypeVector 6(float) 2
              30:             TypePointer Function 29(fvec2)
              32:   29(fvec2) ConstantComposite 18 18
              39:    6(float) Constant 1082130432
              40:   22(fvec3) ConstantComposite 39 39 39
              41:             TypeBool
              42:             TypeVector 41(bool) 3
              45:    6(float) Constant 1084227584
              46:   22(fvec3) ConstantComposite 45 45 45
              48:    6(float) Constant 1086324736
              49:   22(fvec3) ConstantComposite 48 48 48
              52:    6(float) Constant 1088421888
              53:   22(fvec3) ConstantComposite 52 52 52
              56:             TypeInt 32 0
              57:     56(int) Constant 0
              62:             TypeVector 41(bool) 4
              82:             TypePointer Function 56(int)
              85:             TypeVector 56(int) 3
              87:             TypePointer Function 85(ivec3)
             122:    6(float) Constant 1077936128
             123:    7(fvec4) ConstantComposite 122 122 122 122
         4(main):           2 Function None 3
               5:             Label
                              Return
                              FunctionEnd
13(PixelShaderFunction(vf4;f1;):    7(fvec4) Function None 10
       11(input):      8(ptr) FunctionParameter
           12(f):      9(ptr) FunctionParameter
              14:             Label
           15(v):      8(ptr) Variable Function
           24(u):     23(ptr) Variable Function
           31(w):     30(ptr) Variable Function
           33(V):      9(ptr) Variable Function
       34(MyVal):     23(ptr) Variable Function
         37(foo):     23(ptr) Variable Function
          70(f1):      9(ptr) Variable Function
          83(ui):     82(ptr) Variable Function
         88(ui3):     87(ptr) Variable Function
      103(mixed):     23(ptr) Variable Function
         115(sf):      9(ptr) Variable Function
        118(sf1):      9(ptr) Variable Function
                              Store 15(v) 17
                              Store 15(v) 19
              20:    6(float) Load 12(f)
              21:    7(fvec4) CompositeConstruct 20 20 20 20
                              Store 15(v) 21
                              Store 24(u) 25
                              Store 24(u) 26
              27:    6(float) Load 12(f)
              28:   22(fvec3) CompositeConstruct 27 27 27
                              Store 24(u) 28
                              Store 31(w) 32
                              Store 33(V) 16
              35:    6(float) Load 33(V)
              36:   22(fvec3) CompositeConstruct 35 35 35
                              Store 34(MyVal) 36
              38:   22(fvec3) Load 37(foo)
              43:   42(bvec3) FOrdGreaterThan 38 40
              44:   22(fvec3) Load 37(foo)
              47:   42(bvec3) FOrdGreaterThanEqual 44 46
              50:   22(fvec3) Load 37(foo)
              51:   42(bvec3) FOrdLessThan 49 50
              54:   22(fvec3) Load 37(foo)
              55:   42(bvec3) FOrdLessThanEqual 53 54
              58:      9(ptr) AccessChain 15(v) 57
              59:    6(float) Load 58
              60:    7(fvec4) CompositeConstruct 59 59 59 59
              61:    7(fvec4) Load 15(v)
              63:   62(bvec4) FOrdEqual 60 61
              64:    41(bool) All 63
              65:    6(float) Load 12(f)
              66:    7(fvec4) CompositeConstruct 65 65 65 65
              67:    7(fvec4) Load 15(v)
              68:   62(bvec4) FOrdNotEqual 66 67
              69:    41(bool) Any 68
              71:    6(float) Load 70(f1)
              72:    7(fvec4) CompositeConstruct 71 71 71 71
              73:    7(fvec4) Load 15(v)
              74:   62(bvec4) FOrdEqual 72 73
              75:    7(fvec4) Load 15(v)
              76:    6(float) Load 70(f1)
              77:    7(fvec4) CompositeConstruct 76 76 76 76
              78:   62(bvec4) FOrdLessThan 75 77
              79:    6(float) Load 70(f1)
              80:    6(float) Load 70(f1)
              81:   22(fvec3) CompositeConstruct 80 80 80
              84:     56(int) Load 83(ui)
              86:   85(ivec3) CompositeConstruct 84 84 84
              89:   85(ivec3) Load 88(ui3)
              90:   85(ivec3) ShiftRightLogical 86 89
              91:   85(ivec3) Load 88(ui3)
              92:     56(int) Load 83(ui)
              93:   85(ivec3) CompositeConstruct 92 92 92
              94:   85(ivec3) ShiftRightLogical 91 93
              95:    6(float) Load 70(f1)
              96:    7(fvec4) Load 15(v)
              97:    7(fvec4) CompositeConstruct 95 95 95 95
              98:    7(fvec4) FMul 96 97
                              Store 15(v) 98
              99:    7(fvec4) Load 15(v)
             100:    6(float) CompositeExtract 99 0
             101:    6(float) Load 70(f1)
             102:    6(float) FMul 101 100
                              Store 70(f1) 102
             104:   22(fvec3) Load 24(u)
             105:    7(fvec4) Load 15(v)
             106:    6(float) CompositeExtract 105 0
             107:    6(float) CompositeExtract 105 1
             108:    6(float) CompositeExtract 105 2
             109:   22(fvec3) CompositeConstruct 106 107 108
             110:   22(fvec3) FMul 104 109
                              Store 103(mixed) 110
             111:   22(fvec3) Load 24(u)
             112:    6(float) CompositeExtract 111 0
                              Store 12(f) 112
             113:   22(fvec3) Load 24(u)
             114:    6(float) CompositeExtract 113 0
                              Store 70(f1) 114
             116:    7(fvec4) Load 15(v)
             117:    6(float) CompositeExtract 116 0
                              Store 115(sf) 117
             119:    7(fvec4) Load 15(v)
             120:    6(float) CompositeExtract 119 0
                              Store 118(sf1) 120
             121:    7(fvec4) Load 11(input)
             124:    7(fvec4) FMul 121 123
                              ReturnValue 124
                              FunctionEnd