1hlsl.init.frag
2WARNING: 0:40: 'typedef' : struct-member initializers ignored
3WARNING: 0:40: 'typedef' : struct-member initializers ignored
4
5Shader version: 500
6gl_FragCoord origin is upper left
70:? Sequence
80:1  Sequence
90:1    move second child to first child ( temp 4-component vector of float)
100:1      'a1' ( global 4-component vector of float)
110:?       Constant:
120:?         1.000000
130:?         0.500000
140:?         0.000000
150:?         1.000000
160:1    move second child to first child ( temp 4-component vector of float)
170:1      'b1' ( global 4-component vector of float)
180:?       Constant:
190:?         2.000000
200:?         2.500000
210:?         2.100000
220:?         2.200000
230:2  Sequence
240:2    move second child to first child ( temp 4-component vector of float)
250:2      'a1i' ( global 4-component vector of float)
260:2      Constant:
270:2        1.000000
280:2        0.500000
290:2        0.000000
300:2        1.000000
310:2    move second child to first child ( temp 4-component vector of float)
320:2      'b1i' ( global 4-component vector of float)
330:2      Constant:
340:2        2.000000
350:2        2.500000
360:2        2.100000
370:2        2.200000
380:3  Sequence
390:3    move second child to first child ( temp float)
400:3      'a2' ( global float)
410:3      Constant:
420:3        0.200000
430:4  Sequence
440:4    move second child to first child ( temp float)
450:4      'b3' ( global float)
460:4      Constant:
470:4        0.300000
480:5  Sequence
490:5    move second child to first child ( temp float)
500:5      'b4' ( global float)
510:5      Constant:
520:5        0.400000
530:6  Sequence
540:6    move second child to first child ( temp float)
550:6      'a5' ( global float)
560:6      Constant:
570:6        0.500000
580:6    move second child to first child ( temp float)
590:6      'c5' ( global float)
600:6      Constant:
610:6        1.500000
620:9  Sequence
630:9    move second child to first child ( temp structure{ temp int f})
640:9      'single1' ( global structure{ temp int f})
650:9      Constant:
660:9        10 (const int)
670:12  Sequence
680:12    move second child to first child ( temp structure{ temp 2-component vector of uint v})
690:12      'single2' ( global structure{ temp 2-component vector of uint v})
700:12      Constant:
710:12        1 (const uint)
720:12        2 (const uint)
730:15  Sequence
740:15    move second child to first child ( temp structure{ temp structure{ temp int f} s1})
750:15      'single3' ( global structure{ temp structure{ temp int f} s1})
760:15      Constant:
770:15        3 (const int)
780:18  Sequence
790:18    move second child to first child ( temp structure{ temp structure{ temp 2-component vector of uint v} s1})
800:18      'single4' ( global structure{ temp structure{ temp 2-component vector of uint v} s1})
810:18      Constant:
820:18        4 (const uint)
830:18        5 (const uint)
840:21  Function Definition: @ShaderFunction(vf4; ( temp 4-component vector of float)
850:21    Function Parameters:
860:21      'input' ( in 4-component vector of float)
870:?     Sequence
880:22      Sequence
890:22        move second child to first child ( temp 4-component vector of float)
900:22          'a2' ( temp 4-component vector of float)
910:?           Constant:
920:?             0.200000
930:?             0.300000
940:?             0.400000
950:?             0.500000
960:32      Sequence
970:32        move second child to first child ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
980:32          's2i' ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
990:32          Construct structure ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
1000:32            Constant:
1010:32              9 (const int)
1020:32            'a5' ( global float)
1030:32            Construct structure ( temp structure{ temp float f,  temp int i})
1040:32              Comma ( temp float)
1050:32                'a3' ( global float)
1060:32                'a4' ( global float)
1070:32              Constant:
1080:32                12 (const int)
1090:32        move second child to first child ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
1100:32          's2' ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
1110:?           Construct structure ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
1120:32            Constant:
1130:32              9 (const int)
1140:32            'a5' ( global float)
1150:?             Construct structure ( temp structure{ temp float f,  temp int i})
1160:32              Comma ( temp float)
1170:32                'a3' ( global float)
1180:32                'a4' ( global float)
1190:32              Constant:
1200:32                12 (const int)
1210:33      Sequence
1220:33        move second child to first child ( temp float)
1230:33          'a8' ( temp float)
1240:33          Comma ( temp float)
1250:33            'a2' ( temp 4-component vector of float)
1260:33            'b2' ( global float)
1270:33        move second child to first child ( temp float)
1280:33          'a9' ( temp float)
1290:33          'a5' ( global float)
1300:35      Branch: Return with expression
1310:35        component-wise multiply ( temp 4-component vector of float)
1320:35          'input' ( in 4-component vector of float)
1330:35          'a1' ( global 4-component vector of float)
1340:21  Function Definition: ShaderFunction( ( temp void)
1350:21    Function Parameters:
1360:?     Sequence
1370:21      move second child to first child ( temp 4-component vector of float)
1380:?         'input' ( temp 4-component vector of float)
1390:?         'input' (layout( location=0) in 4-component vector of float)
1400:21      move second child to first child ( temp 4-component vector of float)
1410:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1420:21        Function Call: @ShaderFunction(vf4; ( temp 4-component vector of float)
1430:?           'input' ( temp 4-component vector of float)
1440:?   Linker Objects
1450:?     'a1' ( global 4-component vector of float)
1460:?     'b1' ( global 4-component vector of float)
1470:?     'a1i' ( global 4-component vector of float)
1480:?     'b1i' ( global 4-component vector of float)
1490:?     'a2' ( global float)
1500:?     'b2' ( global float)
1510:?     'a3' ( global float)
1520:?     'b3' ( global float)
1530:?     'a4' ( global float)
1540:?     'b4' ( global float)
1550:?     'c4' ( global float)
1560:?     'a5' ( global float)
1570:?     'b5' ( global float)
1580:?     'c5' ( global float)
1590:?     'single1' ( global structure{ temp int f})
1600:?     'single2' ( global structure{ temp 2-component vector of uint v})
1610:?     'single3' ( global structure{ temp structure{ temp int f} s1})
1620:?     'single4' ( global structure{ temp structure{ temp 2-component vector of uint v} s1})
1630:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
1640:?     'input' (layout( location=0) in 4-component vector of float)
1650:?     'anon@0' (layout( row_major std140) uniform block{layout( row_major std140) uniform float a, layout( row_major std140) uniform float b, layout( row_major std140) uniform float c})
166
167
168Linked fragment stage:
169
170
171Shader version: 500
172gl_FragCoord origin is upper left
1730:? Sequence
1740:1  Sequence
1750:1    move second child to first child ( temp 4-component vector of float)
1760:1      'a1' ( global 4-component vector of float)
1770:?       Constant:
1780:?         1.000000
1790:?         0.500000
1800:?         0.000000
1810:?         1.000000
1820:1    move second child to first child ( temp 4-component vector of float)
1830:1      'b1' ( global 4-component vector of float)
1840:?       Constant:
1850:?         2.000000
1860:?         2.500000
1870:?         2.100000
1880:?         2.200000
1890:2  Sequence
1900:2    move second child to first child ( temp 4-component vector of float)
1910:2      'a1i' ( global 4-component vector of float)
1920:2      Constant:
1930:2        1.000000
1940:2        0.500000
1950:2        0.000000
1960:2        1.000000
1970:2    move second child to first child ( temp 4-component vector of float)
1980:2      'b1i' ( global 4-component vector of float)
1990:2      Constant:
2000:2        2.000000
2010:2        2.500000
2020:2        2.100000
2030:2        2.200000
2040:3  Sequence
2050:3    move second child to first child ( temp float)
2060:3      'a2' ( global float)
2070:3      Constant:
2080:3        0.200000
2090:4  Sequence
2100:4    move second child to first child ( temp float)
2110:4      'b3' ( global float)
2120:4      Constant:
2130:4        0.300000
2140:5  Sequence
2150:5    move second child to first child ( temp float)
2160:5      'b4' ( global float)
2170:5      Constant:
2180:5        0.400000
2190:6  Sequence
2200:6    move second child to first child ( temp float)
2210:6      'a5' ( global float)
2220:6      Constant:
2230:6        0.500000
2240:6    move second child to first child ( temp float)
2250:6      'c5' ( global float)
2260:6      Constant:
2270:6        1.500000
2280:9  Sequence
2290:9    move second child to first child ( temp structure{ temp int f})
2300:9      'single1' ( global structure{ temp int f})
2310:9      Constant:
2320:9        10 (const int)
2330:12  Sequence
2340:12    move second child to first child ( temp structure{ temp 2-component vector of uint v})
2350:12      'single2' ( global structure{ temp 2-component vector of uint v})
2360:12      Constant:
2370:12        1 (const uint)
2380:12        2 (const uint)
2390:15  Sequence
2400:15    move second child to first child ( temp structure{ temp structure{ temp int f} s1})
2410:15      'single3' ( global structure{ temp structure{ temp int f} s1})
2420:15      Constant:
2430:15        3 (const int)
2440:18  Sequence
2450:18    move second child to first child ( temp structure{ temp structure{ temp 2-component vector of uint v} s1})
2460:18      'single4' ( global structure{ temp structure{ temp 2-component vector of uint v} s1})
2470:18      Constant:
2480:18        4 (const uint)
2490:18        5 (const uint)
2500:21  Function Definition: @ShaderFunction(vf4; ( temp 4-component vector of float)
2510:21    Function Parameters:
2520:21      'input' ( in 4-component vector of float)
2530:?     Sequence
2540:22      Sequence
2550:22        move second child to first child ( temp 4-component vector of float)
2560:22          'a2' ( temp 4-component vector of float)
2570:?           Constant:
2580:?             0.200000
2590:?             0.300000
2600:?             0.400000
2610:?             0.500000
2620:32      Sequence
2630:32        move second child to first child ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
2640:32          's2i' ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
2650:32          Construct structure ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
2660:32            Constant:
2670:32              9 (const int)
2680:32            'a5' ( global float)
2690:32            Construct structure ( temp structure{ temp float f,  temp int i})
2700:32              Comma ( temp float)
2710:32                'a3' ( global float)
2720:32                'a4' ( global float)
2730:32              Constant:
2740:32                12 (const int)
2750:32        move second child to first child ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
2760:32          's2' ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
2770:?           Construct structure ( temp structure{ temp int j,  temp float g,  temp structure{ temp float f,  temp int i} s1})
2780:32            Constant:
2790:32              9 (const int)
2800:32            'a5' ( global float)
2810:?             Construct structure ( temp structure{ temp float f,  temp int i})
2820:32              Comma ( temp float)
2830:32                'a3' ( global float)
2840:32                'a4' ( global float)
2850:32              Constant:
2860:32                12 (const int)
2870:33      Sequence
2880:33        move second child to first child ( temp float)
2890:33          'a8' ( temp float)
2900:33          Comma ( temp float)
2910:33            'a2' ( temp 4-component vector of float)
2920:33            'b2' ( global float)
2930:33        move second child to first child ( temp float)
2940:33          'a9' ( temp float)
2950:33          'a5' ( global float)
2960:35      Branch: Return with expression
2970:35        component-wise multiply ( temp 4-component vector of float)
2980:35          'input' ( in 4-component vector of float)
2990:35          'a1' ( global 4-component vector of float)
3000:21  Function Definition: ShaderFunction( ( temp void)
3010:21    Function Parameters:
3020:?     Sequence
3030:21      move second child to first child ( temp 4-component vector of float)
3040:?         'input' ( temp 4-component vector of float)
3050:?         'input' (layout( location=0) in 4-component vector of float)
3060:21      move second child to first child ( temp 4-component vector of float)
3070:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
3080:21        Function Call: @ShaderFunction(vf4; ( temp 4-component vector of float)
3090:?           'input' ( temp 4-component vector of float)
3100:?   Linker Objects
3110:?     'a1' ( global 4-component vector of float)
3120:?     'b1' ( global 4-component vector of float)
3130:?     'a1i' ( global 4-component vector of float)
3140:?     'b1i' ( global 4-component vector of float)
3150:?     'a2' ( global float)
3160:?     'b2' ( global float)
3170:?     'a3' ( global float)
3180:?     'b3' ( global float)
3190:?     'a4' ( global float)
3200:?     'b4' ( global float)
3210:?     'c4' ( global float)
3220:?     'a5' ( global float)
3230:?     'b5' ( global float)
3240:?     'c5' ( global float)
3250:?     'single1' ( global structure{ temp int f})
3260:?     'single2' ( global structure{ temp 2-component vector of uint v})
3270:?     'single3' ( global structure{ temp structure{ temp int f} s1})
3280:?     'single4' ( global structure{ temp structure{ temp 2-component vector of uint v} s1})
3290:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
3300:?     'input' (layout( location=0) in 4-component vector of float)
3310:?     'anon@0' (layout( row_major std140) uniform block{layout( row_major std140) uniform float a, layout( row_major std140) uniform float b, layout( row_major std140) uniform float c})
332
333// Module Version 10000
334// Generated by (magic number): 8000a
335// Id's are bound by 110
336
337                              Capability Shader
338               1:             ExtInstImport  "GLSL.std.450"
339                              MemoryModel Logical GLSL450
340                              EntryPoint Fragment 4  "ShaderFunction" 98 101
341                              ExecutionMode 4 OriginUpperLeft
342                              Source HLSL 500
343                              Name 4  "ShaderFunction"
344                              Name 11  "@ShaderFunction(vf4;"
345                              Name 10  "input"
346                              Name 14  "a1"
347                              Name 19  "b1"
348                              Name 25  "a1i"
349                              Name 26  "b1i"
350                              Name 28  "a2"
351                              Name 30  "b3"
352                              Name 32  "b4"
353                              Name 34  "a5"
354                              Name 35  "c5"
355                              Name 38  "Single1"
356                              MemberName 38(Single1) 0  "f"
357                              Name 40  "single1"
358                              Name 45  "Single2"
359                              MemberName 45(Single2) 0  "v"
360                              Name 47  "single2"
361                              Name 52  "Single3"
362                              MemberName 52(Single3) 0  "s1"
363                              Name 54  "single3"
364                              Name 58  "Single4"
365                              MemberName 58(Single4) 0  "s1"
366                              Name 60  "single4"
367                              Name 66  "a2"
368                              Name 68  "S1"
369                              MemberName 68(S1) 0  "f"
370                              MemberName 68(S1) 1  "i"
371                              Name 69  "S2"
372                              MemberName 69(S2) 0  "j"
373                              MemberName 69(S2) 1  "g"
374                              MemberName 69(S2) 2  "s1"
375                              Name 71  "s2i"
376                              Name 74  "a3"
377                              Name 75  "a4"
378                              Name 80  "s2"
379                              Name 86  "a8"
380                              Name 87  "b2"
381                              Name 89  "a9"
382                              Name 96  "input"
383                              Name 98  "input"
384                              Name 101  "@entryPointOutput"
385                              Name 102  "param"
386                              Name 105  "c4"
387                              Name 106  "b5"
388                              Name 107  "Constants"
389                              MemberName 107(Constants) 0  "a"
390                              MemberName 107(Constants) 1  "b"
391                              MemberName 107(Constants) 2  "c"
392                              Name 109  ""
393                              Decorate 98(input) Location 0
394                              Decorate 101(@entryPointOutput) Location 0
395                              MemberDecorate 107(Constants) 0 Offset 0
396                              MemberDecorate 107(Constants) 1 Offset 4
397                              MemberDecorate 107(Constants) 2 Offset 8
398                              Decorate 107(Constants) Block
399                              Decorate 109 DescriptorSet 0
400                              Decorate 109 Binding 0
401               2:             TypeVoid
402               3:             TypeFunction 2
403               6:             TypeFloat 32
404               7:             TypeVector 6(float) 4
405               8:             TypePointer Function 7(fvec4)
406               9:             TypeFunction 7(fvec4) 8(ptr)
407              13:             TypePointer Private 7(fvec4)
408          14(a1):     13(ptr) Variable Private
409              15:    6(float) Constant 1065353216
410              16:    6(float) Constant 1056964608
411              17:    6(float) Constant 0
412              18:    7(fvec4) ConstantComposite 15 16 17 15
413          19(b1):     13(ptr) Variable Private
414              20:    6(float) Constant 1073741824
415              21:    6(float) Constant 1075838976
416              22:    6(float) Constant 1074161254
417              23:    6(float) Constant 1074580685
418              24:    7(fvec4) ConstantComposite 20 21 22 23
419         25(a1i):     13(ptr) Variable Private
420         26(b1i):     13(ptr) Variable Private
421              27:             TypePointer Private 6(float)
422          28(a2):     27(ptr) Variable Private
423              29:    6(float) Constant 1045220557
424          30(b3):     27(ptr) Variable Private
425              31:    6(float) Constant 1050253722
426          32(b4):     27(ptr) Variable Private
427              33:    6(float) Constant 1053609165
428          34(a5):     27(ptr) Variable Private
429          35(c5):     27(ptr) Variable Private
430              36:    6(float) Constant 1069547520
431              37:             TypeInt 32 1
432     38(Single1):             TypeStruct 37(int)
433              39:             TypePointer Private 38(Single1)
434     40(single1):     39(ptr) Variable Private
435              41:     37(int) Constant 10
436              42: 38(Single1) ConstantComposite 41
437              43:             TypeInt 32 0
438              44:             TypeVector 43(int) 2
439     45(Single2):             TypeStruct 44(ivec2)
440              46:             TypePointer Private 45(Single2)
441     47(single2):     46(ptr) Variable Private
442              48:     43(int) Constant 1
443              49:     43(int) Constant 2
444              50:   44(ivec2) ConstantComposite 48 49
445              51: 45(Single2) ConstantComposite 50
446     52(Single3):             TypeStruct 38(Single1)
447              53:             TypePointer Private 52(Single3)
448     54(single3):     53(ptr) Variable Private
449              55:     37(int) Constant 3
450              56: 38(Single1) ConstantComposite 55
451              57: 52(Single3) ConstantComposite 56
452     58(Single4):             TypeStruct 45(Single2)
453              59:             TypePointer Private 58(Single4)
454     60(single4):     59(ptr) Variable Private
455              61:     43(int) Constant 4
456              62:     43(int) Constant 5
457              63:   44(ivec2) ConstantComposite 61 62
458              64: 45(Single2) ConstantComposite 63
459              65: 58(Single4) ConstantComposite 64
460              67:    7(fvec4) ConstantComposite 29 31 33 16
461          68(S1):             TypeStruct 6(float) 37(int)
462          69(S2):             TypeStruct 37(int) 6(float) 68(S1)
463              70:             TypePointer Function 69(S2)
464              72:     37(int) Constant 9
465          74(a3):     27(ptr) Variable Private
466          75(a4):     27(ptr) Variable Private
467              77:     37(int) Constant 12
468              85:             TypePointer Function 6(float)
469          87(b2):     27(ptr) Variable Private
470              97:             TypePointer Input 7(fvec4)
471       98(input):     97(ptr) Variable Input
472             100:             TypePointer Output 7(fvec4)
473101(@entryPointOutput):    100(ptr) Variable Output
474         105(c4):     27(ptr) Variable Private
475         106(b5):     27(ptr) Variable Private
476  107(Constants):             TypeStruct 6(float) 6(float) 6(float)
477             108:             TypePointer Uniform 107(Constants)
478             109:    108(ptr) Variable Uniform
4794(ShaderFunction):           2 Function None 3
480               5:             Label
481       96(input):      8(ptr) Variable Function
482      102(param):      8(ptr) Variable Function
483                              Store 14(a1) 18
484                              Store 19(b1) 24
485                              Store 25(a1i) 18
486                              Store 26(b1i) 24
487                              Store 28(a2) 29
488                              Store 30(b3) 31
489                              Store 32(b4) 33
490                              Store 34(a5) 16
491                              Store 35(c5) 36
492                              Store 40(single1) 42
493                              Store 47(single2) 51
494                              Store 54(single3) 57
495                              Store 60(single4) 65
496              99:    7(fvec4) Load 98(input)
497                              Store 96(input) 99
498             103:    7(fvec4) Load 96(input)
499                              Store 102(param) 103
500             104:    7(fvec4) FunctionCall 11(@ShaderFunction(vf4;) 102(param)
501                              Store 101(@entryPointOutput) 104
502                              Return
503                              FunctionEnd
50411(@ShaderFunction(vf4;):    7(fvec4) Function None 9
505       10(input):      8(ptr) FunctionParameter
506              12:             Label
507          66(a2):      8(ptr) Variable Function
508         71(s2i):     70(ptr) Variable Function
509          80(s2):     70(ptr) Variable Function
510          86(a8):     85(ptr) Variable Function
511          89(a9):     85(ptr) Variable Function
512                              Store 66(a2) 67
513              73:    6(float) Load 34(a5)
514              76:    6(float) Load 75(a4)
515              78:      68(S1) CompositeConstruct 76 77
516              79:      69(S2) CompositeConstruct 72 73 78
517                              Store 71(s2i) 79
518              81:    6(float) Load 34(a5)
519              82:    6(float) Load 75(a4)
520              83:      68(S1) CompositeConstruct 82 77
521              84:      69(S2) CompositeConstruct 72 81 83
522                              Store 80(s2) 84
523              88:    6(float) Load 87(b2)
524                              Store 86(a8) 88
525              90:    6(float) Load 34(a5)
526                              Store 89(a9) 90
527              91:    7(fvec4) Load 10(input)
528              92:    7(fvec4) Load 14(a1)
529              93:    7(fvec4) FMul 91 92
530                              ReturnValue 93
531                              FunctionEnd
532