aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/hlsl.init.frag.out
blob: 42f94caefa9047fd56e062cedc3cc82014ba3955 (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
hlsl.init.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:1  Sequence
0:1    move second child to first child (temp 4-component vector of float)
0:1      'a1' (global 4-component vector of float)
0:?       Constant:
0:?         1.000000
0:?         0.500000
0:?         0.000000
0:?         1.000000
0:1    move second child to first child (temp 4-component vector of float)
0:1      'b1' (global 4-component vector of float)
0:?       Constant:
0:?         2.000000
0:?         2.500000
0:?         2.100000
0:?         2.200000
0:2  Sequence
0:2    move second child to first child (temp 4-component vector of float)
0:2      'a1i' (global 4-component vector of float)
0:2      Constant:
0:2        1.000000
0:2        0.500000
0:2        0.000000
0:2        1.000000
0:2    move second child to first child (temp 4-component vector of float)
0:2      'b1i' (global 4-component vector of float)
0:2      Constant:
0:2        2.000000
0:2        2.500000
0:2        2.100000
0:2        2.200000
0:3  Sequence
0:3    move second child to first child (temp float)
0:3      'a2' (global float)
0:3      Constant:
0:3        0.200000
0:4  Sequence
0:4    move second child to first child (temp float)
0:4      'b3' (global float)
0:4      Constant:
0:4        0.300000
0:5  Sequence
0:5    move second child to first child (temp float)
0:5      'b4' (global float)
0:5      Constant:
0:5        0.400000
0:6  Sequence
0:6    move second child to first child (temp float)
0:6      'a5' (global float)
0:6      Constant:
0:6        0.500000
0:6    move second child to first child (temp float)
0:6      'c5' (global float)
0:6      Constant:
0:6        1.500000
0:9  Sequence
0:9    move second child to first child (temp structure{temp int f})
0:9      'single1' (global structure{temp int f})
0:9      Constant:
0:9        10 (const int)
0:12  Sequence
0:12    move second child to first child (temp structure{temp 2-component vector of uint v})
0:12      'single2' (global structure{temp 2-component vector of uint v})
0:12      Constant:
0:12        1 (const uint)
0:12        2 (const uint)
0:15  Sequence
0:15    move second child to first child (temp structure{temp structure{temp int f} s1})
0:15      'single3' (global structure{temp structure{temp int f} s1})
0:15      Constant:
0:15        3 (const int)
0:18  Sequence
0:18    move second child to first child (temp structure{temp structure{temp 2-component vector of uint v} s1})
0:18      'single4' (global structure{temp structure{temp 2-component vector of uint v} s1})
0:18      Constant:
0:18        4 (const uint)
0:18        5 (const uint)
0:21  Function Definition: ShaderFunction(vf4; (temp 4-component vector of float)
0:21    Function Parameters: 
0:21      'input' (layout(location=0 ) in 4-component vector of float)
0:?     Sequence
0:22      Sequence
0:22        move second child to first child (temp 4-component vector of float)
0:22          'a2' (temp 4-component vector of float)
0:?           Constant:
0:?             0.200000
0:?             0.300000
0:?             0.400000
0:?             0.500000
0:32      Sequence
0:32        move second child to first child (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32          's2i' (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32          Construct structure (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32            Constant:
0:32              9 (const int)
0:32            'a5' (global float)
0:32            Construct structure (temp structure{temp float f, temp int i})
0:32              Comma (temp float)
0:32                'a3' (global float)
0:32                'a4' (global float)
0:32              Constant:
0:32                12 (const int)
0:32        move second child to first child (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32          's2' (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:?           Construct structure (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32            Constant:
0:32              9 (const int)
0:32            'a5' (global float)
0:?             Construct structure (temp structure{temp float f, temp int i})
0:32              Comma (temp float)
0:32                'a3' (global float)
0:32                'a4' (global float)
0:32              Constant:
0:32                12 (const int)
0:33      Sequence
0:33        move second child to first child (temp float)
0:33          'a8' (temp float)
0:33          Comma (temp float)
0:33            'a2' (temp 4-component vector of float)
0:33            'b2' (global float)
0:33        move second child to first child (temp float)
0:33          'a9' (temp float)
0:33          'a5' (global float)
0:35      Sequence
0:35        move second child to first child (temp 4-component vector of float)
0:?           '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
0:35          component-wise multiply (temp 4-component vector of float)
0:35            'input' (layout(location=0 ) in 4-component vector of float)
0:35            'a1' (global 4-component vector of float)
0:35        Branch: Return
0:?   Linker Objects
0:?     '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
0:?     'input' (layout(location=0 ) in 4-component vector of float)
0:?     'a1' (global 4-component vector of float)
0:?     'b1' (global 4-component vector of float)
0:?     'a1i' (global 4-component vector of float)
0:?     'b1i' (global 4-component vector of float)
0:?     'a2' (global float)
0:?     'b2' (global float)
0:?     'a3' (global float)
0:?     'b3' (global float)
0:?     'a4' (global float)
0:?     'b4' (global float)
0:?     'c4' (global float)
0:?     'a5' (global float)
0:?     'b5' (global float)
0:?     'c5' (global float)
0:?     'single1' (global structure{temp int f})
0:?     'single2' (global structure{temp 2-component vector of uint v})
0:?     'single3' (global structure{temp structure{temp int f} s1})
0:?     'single4' (global structure{temp structure{temp 2-component vector of uint v} s1})


Linked fragment stage:


Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:1  Sequence
0:1    move second child to first child (temp 4-component vector of float)
0:1      'a1' (global 4-component vector of float)
0:?       Constant:
0:?         1.000000
0:?         0.500000
0:?         0.000000
0:?         1.000000
0:1    move second child to first child (temp 4-component vector of float)
0:1      'b1' (global 4-component vector of float)
0:?       Constant:
0:?         2.000000
0:?         2.500000
0:?         2.100000
0:?         2.200000
0:2  Sequence
0:2    move second child to first child (temp 4-component vector of float)
0:2      'a1i' (global 4-component vector of float)
0:2      Constant:
0:2        1.000000
0:2        0.500000
0:2        0.000000
0:2        1.000000
0:2    move second child to first child (temp 4-component vector of float)
0:2      'b1i' (global 4-component vector of float)
0:2      Constant:
0:2        2.000000
0:2        2.500000
0:2        2.100000
0:2        2.200000
0:3  Sequence
0:3    move second child to first child (temp float)
0:3      'a2' (global float)
0:3      Constant:
0:3        0.200000
0:4  Sequence
0:4    move second child to first child (temp float)
0:4      'b3' (global float)
0:4      Constant:
0:4        0.300000
0:5  Sequence
0:5    move second child to first child (temp float)
0:5      'b4' (global float)
0:5      Constant:
0:5        0.400000
0:6  Sequence
0:6    move second child to first child (temp float)
0:6      'a5' (global float)
0:6      Constant:
0:6        0.500000
0:6    move second child to first child (temp float)
0:6      'c5' (global float)
0:6      Constant:
0:6        1.500000
0:9  Sequence
0:9    move second child to first child (temp structure{temp int f})
0:9      'single1' (global structure{temp int f})
0:9      Constant:
0:9        10 (const int)
0:12  Sequence
0:12    move second child to first child (temp structure{temp 2-component vector of uint v})
0:12      'single2' (global structure{temp 2-component vector of uint v})
0:12      Constant:
0:12        1 (const uint)
0:12        2 (const uint)
0:15  Sequence
0:15    move second child to first child (temp structure{temp structure{temp int f} s1})
0:15      'single3' (global structure{temp structure{temp int f} s1})
0:15      Constant:
0:15        3 (const int)
0:18  Sequence
0:18    move second child to first child (temp structure{temp structure{temp 2-component vector of uint v} s1})
0:18      'single4' (global structure{temp structure{temp 2-component vector of uint v} s1})
0:18      Constant:
0:18        4 (const uint)
0:18        5 (const uint)
0:21  Function Definition: ShaderFunction(vf4; (temp 4-component vector of float)
0:21    Function Parameters: 
0:21      'input' (layout(location=0 ) in 4-component vector of float)
0:?     Sequence
0:22      Sequence
0:22        move second child to first child (temp 4-component vector of float)
0:22          'a2' (temp 4-component vector of float)
0:?           Constant:
0:?             0.200000
0:?             0.300000
0:?             0.400000
0:?             0.500000
0:32      Sequence
0:32        move second child to first child (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32          's2i' (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32          Construct structure (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32            Constant:
0:32              9 (const int)
0:32            'a5' (global float)
0:32            Construct structure (temp structure{temp float f, temp int i})
0:32              Comma (temp float)
0:32                'a3' (global float)
0:32                'a4' (global float)
0:32              Constant:
0:32                12 (const int)
0:32        move second child to first child (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32          's2' (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:?           Construct structure (temp structure{temp int j, temp float g, temp structure{temp float f, temp int i} s1})
0:32            Constant:
0:32              9 (const int)
0:32            'a5' (global float)
0:?             Construct structure (temp structure{temp float f, temp int i})
0:32              Comma (temp float)
0:32                'a3' (global float)
0:32                'a4' (global float)
0:32              Constant:
0:32                12 (const int)
0:33      Sequence
0:33        move second child to first child (temp float)
0:33          'a8' (temp float)
0:33          Comma (temp float)
0:33            'a2' (temp 4-component vector of float)
0:33            'b2' (global float)
0:33        move second child to first child (temp float)
0:33          'a9' (temp float)
0:33          'a5' (global float)
0:35      Sequence
0:35        move second child to first child (temp 4-component vector of float)
0:?           '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
0:35          component-wise multiply (temp 4-component vector of float)
0:35            'input' (layout(location=0 ) in 4-component vector of float)
0:35            'a1' (global 4-component vector of float)
0:35        Branch: Return
0:?   Linker Objects
0:?     '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
0:?     'input' (layout(location=0 ) in 4-component vector of float)
0:?     'a1' (global 4-component vector of float)
0:?     'b1' (global 4-component vector of float)
0:?     'a1i' (global 4-component vector of float)
0:?     'b1i' (global 4-component vector of float)
0:?     'a2' (global float)
0:?     'b2' (global float)
0:?     'a3' (global float)
0:?     'b3' (global float)
0:?     'a4' (global float)
0:?     'b4' (global float)
0:?     'c4' (global float)
0:?     'a5' (global float)
0:?     'b5' (global float)
0:?     'c5' (global float)
0:?     'single1' (global structure{temp int f})
0:?     'single2' (global structure{temp 2-component vector of uint v})
0:?     'single3' (global structure{temp structure{temp int f} s1})
0:?     'single4' (global structure{temp structure{temp 2-component vector of uint v} s1})

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

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "ShaderFunction" 88 90
                              ExecutionMode 4 OriginUpperLeft
                              Name 4  "ShaderFunction"
                              Name 9  "a1"
                              Name 14  "b1"
                              Name 20  "a1i"
                              Name 21  "b1i"
                              Name 23  "a2"
                              Name 25  "b3"
                              Name 27  "b4"
                              Name 29  "a5"
                              Name 30  "c5"
                              Name 33  "Single1"
                              MemberName 33(Single1) 0  "f"
                              Name 35  "single1"
                              Name 40  "Single2"
                              MemberName 40(Single2) 0  "v"
                              Name 42  "single2"
                              Name 47  "Single3"
                              MemberName 47(Single3) 0  "s1"
                              Name 49  "single3"
                              Name 53  "Single4"
                              MemberName 53(Single4) 0  "s1"
                              Name 55  "single4"
                              Name 62  "a2"
                              Name 64  "S1"
                              MemberName 64(S1) 0  "f"
                              MemberName 64(S1) 1  "i"
                              Name 65  "S2"
                              MemberName 65(S2) 0  "j"
                              MemberName 65(S2) 1  "g"
                              MemberName 65(S2) 2  "s1"
                              Name 67  "s2i"
                              Name 70  "a3"
                              Name 71  "a4"
                              Name 76  "s2"
                              Name 82  "a8"
                              Name 83  "b2"
                              Name 85  "a9"
                              Name 88  "@entryPointOutput"
                              Name 90  "input"
                              Name 95  "c4"
                              Name 96  "b5"
                              Decorate 88(@entryPointOutput) Location 0
                              Decorate 90(input) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypePointer Private 7(fvec4)
           9(a1):      8(ptr) Variable Private
              10:    6(float) Constant 1065353216
              11:    6(float) Constant 1056964608
              12:    6(float) Constant 0
              13:    7(fvec4) ConstantComposite 10 11 12 10
          14(b1):      8(ptr) Variable Private
              15:    6(float) Constant 1073741824
              16:    6(float) Constant 1075838976
              17:    6(float) Constant 1074161254
              18:    6(float) Constant 1074580685
              19:    7(fvec4) ConstantComposite 15 16 17 18
         20(a1i):      8(ptr) Variable Private
         21(b1i):      8(ptr) Variable Private
              22:             TypePointer Private 6(float)
          23(a2):     22(ptr) Variable Private
              24:    6(float) Constant 1045220557
          25(b3):     22(ptr) Variable Private
              26:    6(float) Constant 1050253722
          27(b4):     22(ptr) Variable Private
              28:    6(float) Constant 1053609165
          29(a5):     22(ptr) Variable Private
          30(c5):     22(ptr) Variable Private
              31:    6(float) Constant 1069547520
              32:             TypeInt 32 1
     33(Single1):             TypeStruct 32(int)
              34:             TypePointer Private 33(Single1)
     35(single1):     34(ptr) Variable Private
              36:     32(int) Constant 10
              37: 33(Single1) ConstantComposite 36
              38:             TypeInt 32 0
              39:             TypeVector 38(int) 2
     40(Single2):             TypeStruct 39(ivec2)
              41:             TypePointer Private 40(Single2)
     42(single2):     41(ptr) Variable Private
              43:     38(int) Constant 1
              44:     38(int) Constant 2
              45:   39(ivec2) ConstantComposite 43 44
              46: 40(Single2) ConstantComposite 45
     47(Single3):             TypeStruct 33(Single1)
              48:             TypePointer Private 47(Single3)
     49(single3):     48(ptr) Variable Private
              50:     32(int) Constant 3
              51: 33(Single1) ConstantComposite 50
              52: 47(Single3) ConstantComposite 51
     53(Single4):             TypeStruct 40(Single2)
              54:             TypePointer Private 53(Single4)
     55(single4):     54(ptr) Variable Private
              56:     38(int) Constant 4
              57:     38(int) Constant 5
              58:   39(ivec2) ConstantComposite 56 57
              59: 40(Single2) ConstantComposite 58
              60: 53(Single4) ConstantComposite 59
              61:             TypePointer Function 7(fvec4)
              63:    7(fvec4) ConstantComposite 24 26 28 11
          64(S1):             TypeStruct 6(float) 32(int)
          65(S2):             TypeStruct 32(int) 6(float) 64(S1)
              66:             TypePointer Function 65(S2)
              68:     32(int) Constant 9
          70(a3):     22(ptr) Variable Private
          71(a4):     22(ptr) Variable Private
              73:     32(int) Constant 12
              81:             TypePointer Function 6(float)
          83(b2):     22(ptr) Variable Private
              87:             TypePointer Output 7(fvec4)
88(@entryPointOutput):     87(ptr) Variable Output
              89:             TypePointer Input 7(fvec4)
       90(input):     89(ptr) Variable Input
          95(c4):     22(ptr) Variable Private
          96(b5):     22(ptr) Variable Private
4(ShaderFunction):           2 Function None 3
               5:             Label
          62(a2):     61(ptr) Variable Function
         67(s2i):     66(ptr) Variable Function
          76(s2):     66(ptr) Variable Function
          82(a8):     81(ptr) Variable Function
          85(a9):     81(ptr) Variable Function
                              Store 9(a1) 13
                              Store 14(b1) 19
                              Store 20(a1i) 13
                              Store 21(b1i) 19
                              Store 23(a2) 24
                              Store 25(b3) 26
                              Store 27(b4) 28
                              Store 29(a5) 11
                              Store 30(c5) 31
                              Store 35(single1) 37
                              Store 42(single2) 46
                              Store 49(single3) 52
                              Store 55(single4) 60
                              Store 62(a2) 63
              69:    6(float) Load 29(a5)
              72:    6(float) Load 71(a4)
              74:      64(S1) CompositeConstruct 72 73
              75:      65(S2) CompositeConstruct 68 69 74
                              Store 67(s2i) 75
              77:    6(float) Load 29(a5)
              78:    6(float) Load 71(a4)
              79:      64(S1) CompositeConstruct 78 73
              80:      65(S2) CompositeConstruct 68 77 79
                              Store 76(s2) 80
              84:    6(float) Load 83(b2)
                              Store 82(a8) 84
              86:    6(float) Load 29(a5)
                              Store 85(a9) 86
              91:    7(fvec4) Load 90(input)
              92:    7(fvec4) Load 9(a1)
              93:    7(fvec4) FMul 91 92
                              Store 88(@entryPointOutput) 93
                              Return
                              FunctionEnd