1hlsl.void.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:1  Function Definition: foo1( ( temp void)
60:1    Function Parameters:
70:2  Function Definition: foo2( ( temp void)
80:2    Function Parameters:
90:5  Function Definition: @PixelShaderFunction(vf4; ( temp void)
100:5    Function Parameters:
110:5      'input' ( in 4-component vector of float)
120:?     Sequence
130:6      Function Call: foo1( ( temp void)
140:7      Function Call: foo2( ( temp void)
150:8      Branch: Return
160:5  Function Definition: PixelShaderFunction( ( temp void)
170:5    Function Parameters:
180:?     Sequence
190:5      move second child to first child ( temp 4-component vector of float)
200:?         'input' ( temp 4-component vector of float)
210:?         'input' (layout( location=0) in 4-component vector of float)
220:5      Function Call: @PixelShaderFunction(vf4; ( temp void)
230:?         'input' ( temp 4-component vector of float)
240:?   Linker Objects
250:?     'input' (layout( location=0) in 4-component vector of float)
26
27
28Linked fragment stage:
29
30
31Shader version: 500
32gl_FragCoord origin is upper left
330:? Sequence
340:1  Function Definition: foo1( ( temp void)
350:1    Function Parameters:
360:2  Function Definition: foo2( ( temp void)
370:2    Function Parameters:
380:5  Function Definition: @PixelShaderFunction(vf4; ( temp void)
390:5    Function Parameters:
400:5      'input' ( in 4-component vector of float)
410:?     Sequence
420:6      Function Call: foo1( ( temp void)
430:7      Function Call: foo2( ( temp void)
440:8      Branch: Return
450:5  Function Definition: PixelShaderFunction( ( temp void)
460:5    Function Parameters:
470:?     Sequence
480:5      move second child to first child ( temp 4-component vector of float)
490:?         'input' ( temp 4-component vector of float)
500:?         'input' (layout( location=0) in 4-component vector of float)
510:5      Function Call: @PixelShaderFunction(vf4; ( temp void)
520:?         'input' ( temp 4-component vector of float)
530:?   Linker Objects
540:?     'input' (layout( location=0) in 4-component vector of float)
55
56// Module Version 10000
57// Generated by (magic number): 80007
58// Id's are bound by 27
59
60                              Capability Shader
61               1:             ExtInstImport  "GLSL.std.450"
62                              MemoryModel Logical GLSL450
63                              EntryPoint Fragment 4  "PixelShaderFunction" 22
64                              ExecutionMode 4 OriginUpperLeft
65                              Source HLSL 500
66                              Name 4  "PixelShaderFunction"
67                              Name 6  "foo1("
68                              Name 8  "foo2("
69                              Name 15  "@PixelShaderFunction(vf4;"
70                              Name 14  "input"
71                              Name 20  "input"
72                              Name 22  "input"
73                              Name 24  "param"
74                              Decorate 22(input) Location 0
75               2:             TypeVoid
76               3:             TypeFunction 2
77              10:             TypeFloat 32
78              11:             TypeVector 10(float) 4
79              12:             TypePointer Function 11(fvec4)
80              13:             TypeFunction 2 12(ptr)
81              21:             TypePointer Input 11(fvec4)
82       22(input):     21(ptr) Variable Input
834(PixelShaderFunction):           2 Function None 3
84               5:             Label
85       20(input):     12(ptr) Variable Function
86       24(param):     12(ptr) Variable Function
87              23:   11(fvec4) Load 22(input)
88                              Store 20(input) 23
89              25:   11(fvec4) Load 20(input)
90                              Store 24(param) 25
91              26:           2 FunctionCall 15(@PixelShaderFunction(vf4;) 24(param)
92                              Return
93                              FunctionEnd
94        6(foo1():           2 Function None 3
95               7:             Label
96                              Return
97                              FunctionEnd
98        8(foo2():           2 Function None 3
99               9:             Label
100                              Return
101                              FunctionEnd
10215(@PixelShaderFunction(vf4;):           2 Function None 13
103       14(input):     12(ptr) FunctionParameter
104              16:             Label
105              17:           2 FunctionCall 6(foo1()
106              18:           2 FunctionCall 8(foo2()
107                              Return
108                              FunctionEnd
109