aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/hlsl.string.frag.out
blob: 2a5ce37d35a645d6321617277523bf4184eb69fb (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
hlsl.string.frag
Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:10  Function Definition: @main(f1; ( temp float)
0:10    Function Parameters: 
0:10      'f' ( in float)
0:?     Sequence
0:11      Branch: Return with expression
0:11        'f' ( in float)
0:10  Function Definition: main( ( temp void)
0:10    Function Parameters: 
0:?     Sequence
0:10      move second child to first child ( temp float)
0:?         'f' ( temp float)
0:?         'f' (layout( location=0) in float)
0:10      move second child to first child ( temp float)
0:?         '@entryPointOutput' (layout( location=0) out float)
0:10        Function Call: @main(f1; ( temp float)
0:?           'f' ( temp float)
0:?   Linker Objects
0:?     '@entryPointOutput' (layout( location=0) out float)
0:?     'f' (layout( location=0) in float)


Linked fragment stage:


Shader version: 500
gl_FragCoord origin is upper left
0:? Sequence
0:10  Function Definition: @main(f1; ( temp float)
0:10    Function Parameters: 
0:10      'f' ( in float)
0:?     Sequence
0:11      Branch: Return with expression
0:11        'f' ( in float)
0:10  Function Definition: main( ( temp void)
0:10    Function Parameters: 
0:?     Sequence
0:10      move second child to first child ( temp float)
0:?         'f' ( temp float)
0:?         'f' (layout( location=0) in float)
0:10      move second child to first child ( temp float)
0:?         '@entryPointOutput' (layout( location=0) out float)
0:10        Function Call: @main(f1; ( temp float)
0:?           'f' ( temp float)
0:?   Linker Objects
0:?     '@entryPointOutput' (layout( location=0) out float)
0:?     'f' (layout( location=0) in float)

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

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 17 20
                              ExecutionMode 4 OriginUpperLeft
                              Source HLSL 500
                              Name 4  "main"
                              Name 10  "@main(f1;"
                              Name 9  "f"
                              Name 15  "f"
                              Name 17  "f"
                              Name 20  "@entryPointOutput"
                              Name 21  "param"
                              Decorate 17(f) Location 0
                              Decorate 20(@entryPointOutput) Location 0
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypePointer Function 6(float)
               8:             TypeFunction 6(float) 7(ptr)
              16:             TypePointer Input 6(float)
           17(f):     16(ptr) Variable Input
              19:             TypePointer Output 6(float)
20(@entryPointOutput):     19(ptr) Variable Output
         4(main):           2 Function None 3
               5:             Label
           15(f):      7(ptr) Variable Function
       21(param):      7(ptr) Variable Function
              18:    6(float) Load 17(f)
                              Store 15(f) 18
              22:    6(float) Load 15(f)
                              Store 21(param) 22
              23:    6(float) FunctionCall 10(@main(f1;) 21(param)
                              Store 20(@entryPointOutput) 23
                              Return
                              FunctionEnd
   10(@main(f1;):    6(float) Function None 8
            9(f):      7(ptr) FunctionParameter
              11:             Label
              12:    6(float) Load 9(f)
                              ReturnValue 12
                              FunctionEnd