1hlsl.string.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:10  Function Definition: @main(f1; ( temp float)
60:10    Function Parameters:
70:10      'f' ( in float)
80:?     Sequence
90:11      Branch: Return with expression
100:11        'f' ( in float)
110:10  Function Definition: main( ( temp void)
120:10    Function Parameters:
130:?     Sequence
140:10      move second child to first child ( temp float)
150:?         'f' ( temp float)
160:?         'f' (layout( location=0) in float)
170:10      move second child to first child ( temp float)
180:?         '@entryPointOutput' (layout( location=0) out float)
190:10        Function Call: @main(f1; ( temp float)
200:?           'f' ( temp float)
210:?   Linker Objects
220:?     '@entryPointOutput' (layout( location=0) out float)
230:?     'f' (layout( location=0) in float)
24
25
26Linked fragment stage:
27
28
29Shader version: 500
30gl_FragCoord origin is upper left
310:? Sequence
320:10  Function Definition: @main(f1; ( temp float)
330:10    Function Parameters:
340:10      'f' ( in float)
350:?     Sequence
360:11      Branch: Return with expression
370:11        'f' ( in float)
380:10  Function Definition: main( ( temp void)
390:10    Function Parameters:
400:?     Sequence
410:10      move second child to first child ( temp float)
420:?         'f' ( temp float)
430:?         'f' (layout( location=0) in float)
440:10      move second child to first child ( temp float)
450:?         '@entryPointOutput' (layout( location=0) out float)
460:10        Function Call: @main(f1; ( temp float)
470:?           'f' ( temp float)
480:?   Linker Objects
490:?     '@entryPointOutput' (layout( location=0) out float)
500:?     'f' (layout( location=0) in float)
51
52// Module Version 10000
53// Generated by (magic number): 8000a
54// Id's are bound by 24
55
56                              Capability Shader
57               1:             ExtInstImport  "GLSL.std.450"
58                              MemoryModel Logical GLSL450
59                              EntryPoint Fragment 4  "main" 17 20
60                              ExecutionMode 4 OriginUpperLeft
61                              Source HLSL 500
62                              Name 4  "main"
63                              Name 10  "@main(f1;"
64                              Name 9  "f"
65                              Name 15  "f"
66                              Name 17  "f"
67                              Name 20  "@entryPointOutput"
68                              Name 21  "param"
69                              Decorate 17(f) Location 0
70                              Decorate 20(@entryPointOutput) Location 0
71               2:             TypeVoid
72               3:             TypeFunction 2
73               6:             TypeFloat 32
74               7:             TypePointer Function 6(float)
75               8:             TypeFunction 6(float) 7(ptr)
76              16:             TypePointer Input 6(float)
77           17(f):     16(ptr) Variable Input
78              19:             TypePointer Output 6(float)
7920(@entryPointOutput):     19(ptr) Variable Output
80         4(main):           2 Function None 3
81               5:             Label
82           15(f):      7(ptr) Variable Function
83       21(param):      7(ptr) Variable Function
84              18:    6(float) Load 17(f)
85                              Store 15(f) 18
86              22:    6(float) Load 15(f)
87                              Store 21(param) 22
88              23:    6(float) FunctionCall 10(@main(f1;) 21(param)
89                              Store 20(@entryPointOutput) 23
90                              Return
91                              FunctionEnd
92   10(@main(f1;):    6(float) Function None 8
93            9(f):      7(ptr) FunctionParameter
94              11:             Label
95              12:    6(float) Load 9(f)
96                              ReturnValue 12
97                              FunctionEnd
98