584f3784f91e1f37d8b5ef98a613ebaa5b652ce0
[platform/upstream/glslang.git] / Test / baseResults / hlsl.void.frag.out
1 hlsl.void.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:1  Function Definition: foo1( ( temp void)
6 0:1    Function Parameters: 
7 0:2  Function Definition: foo2( ( temp void)
8 0:2    Function Parameters: 
9 0:5  Function Definition: @PixelShaderFunction(vf4; ( temp void)
10 0:5    Function Parameters: 
11 0:5      'input' ( in 4-component vector of float)
12 0:?     Sequence
13 0:6      Function Call: foo1( ( temp void)
14 0:7      Function Call: foo2( ( temp void)
15 0:8      Branch: Return
16 0:5  Function Definition: PixelShaderFunction( ( temp void)
17 0:5    Function Parameters: 
18 0:?     Sequence
19 0:5      move second child to first child ( temp 4-component vector of float)
20 0:?         'input' ( temp 4-component vector of float)
21 0:?         'input' (layout( location=0) in 4-component vector of float)
22 0:5      Function Call: @PixelShaderFunction(vf4; ( temp void)
23 0:?         'input' ( temp 4-component vector of float)
24 0:?   Linker Objects
25 0:?     'input' (layout( location=0) in 4-component vector of float)
26
27
28 Linked fragment stage:
29
30
31 Shader version: 450
32 gl_FragCoord origin is upper left
33 0:? Sequence
34 0:1  Function Definition: foo1( ( temp void)
35 0:1    Function Parameters: 
36 0:2  Function Definition: foo2( ( temp void)
37 0:2    Function Parameters: 
38 0:5  Function Definition: @PixelShaderFunction(vf4; ( temp void)
39 0:5    Function Parameters: 
40 0:5      'input' ( in 4-component vector of float)
41 0:?     Sequence
42 0:6      Function Call: foo1( ( temp void)
43 0:7      Function Call: foo2( ( temp void)
44 0:8      Branch: Return
45 0:5  Function Definition: PixelShaderFunction( ( temp void)
46 0:5    Function Parameters: 
47 0:?     Sequence
48 0:5      move second child to first child ( temp 4-component vector of float)
49 0:?         'input' ( temp 4-component vector of float)
50 0:?         'input' (layout( location=0) in 4-component vector of float)
51 0:5      Function Call: @PixelShaderFunction(vf4; ( temp void)
52 0:?         'input' ( temp 4-component vector of float)
53 0:?   Linker Objects
54 0:?     'input' (layout( location=0) in 4-component vector of float)
55
56 // Module Version 10000
57 // Generated by (magic number): 80001
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                               Name 4  "PixelShaderFunction"
66                               Name 6  "foo1("
67                               Name 8  "foo2("
68                               Name 15  "@PixelShaderFunction(vf4;"
69                               Name 14  "input"
70                               Name 20  "input"
71                               Name 22  "input"
72                               Name 24  "param"
73                               Decorate 22(input) Location 0
74                2:             TypeVoid
75                3:             TypeFunction 2
76               10:             TypeFloat 32
77               11:             TypeVector 10(float) 4
78               12:             TypePointer Function 11(fvec4)
79               13:             TypeFunction 2 12(ptr)
80               21:             TypePointer Input 11(fvec4)
81        22(input):     21(ptr) Variable Input
82 4(PixelShaderFunction):           2 Function None 3
83                5:             Label
84        20(input):     12(ptr) Variable Function
85        24(param):     12(ptr) Variable Function
86               23:   11(fvec4) Load 22(input)
87                               Store 20(input) 23
88               25:   11(fvec4) Load 20(input)
89                               Store 24(param) 25
90               26:           2 FunctionCall 15(@PixelShaderFunction(vf4;) 24(param)
91                               Return
92                               FunctionEnd
93         6(foo1():           2 Function None 3
94                7:             Label
95                               Return
96                               FunctionEnd
97         8(foo2():           2 Function None 3
98                9:             Label
99                               Return
100                               FunctionEnd
101 15(@PixelShaderFunction(vf4;):           2 Function None 13
102        14(input):     12(ptr) FunctionParameter
103               16:             Label
104               17:           2 FunctionCall 6(foo1()
105               18:           2 FunctionCall 8(foo2()
106                               Return
107                               FunctionEnd