1f96440ef4b25b7ade30efe96f471f573c021f83
[platform/upstream/glslang.git] / Test / baseResults / hlsl.sin.frag.out
1 hlsl.sin.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:2  Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
6 0:2    Function Parameters: 
7 0:2      'input' ( in 4-component vector of float)
8 0:?     Sequence
9 0:3      Branch: Return with expression
10 0:3        sine ( temp 4-component vector of float)
11 0:3          'input' ( in 4-component vector of float)
12 0:2  Function Definition: PixelShaderFunction( ( temp void)
13 0:2    Function Parameters: 
14 0:?     Sequence
15 0:2      move second child to first child ( temp 4-component vector of float)
16 0:?         'input' ( temp 4-component vector of float)
17 0:?         'input' (layout( location=0) in 4-component vector of float)
18 0:2      move second child to first child ( temp 4-component vector of float)
19 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
20 0:2        Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
21 0:?           'input' ( temp 4-component vector of float)
22 0:?   Linker Objects
23 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
24 0:?     'input' (layout( location=0) in 4-component vector of float)
25
26
27 Linked fragment stage:
28
29
30 Shader version: 450
31 gl_FragCoord origin is upper left
32 0:? Sequence
33 0:2  Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
34 0:2    Function Parameters: 
35 0:2      'input' ( in 4-component vector of float)
36 0:?     Sequence
37 0:3      Branch: Return with expression
38 0:3        sine ( temp 4-component vector of float)
39 0:3          'input' ( in 4-component vector of float)
40 0:2  Function Definition: PixelShaderFunction( ( temp void)
41 0:2    Function Parameters: 
42 0:?     Sequence
43 0:2      move second child to first child ( temp 4-component vector of float)
44 0:?         'input' ( temp 4-component vector of float)
45 0:?         'input' (layout( location=0) in 4-component vector of float)
46 0:2      move second child to first child ( temp 4-component vector of float)
47 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
48 0:2        Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
49 0:?           'input' ( temp 4-component vector of float)
50 0:?   Linker Objects
51 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
52 0:?     'input' (layout( location=0) in 4-component vector of float)
53
54 // Module Version 10000
55 // Generated by (magic number): 80001
56 // Id's are bound by 26
57
58                               Capability Shader
59                1:             ExtInstImport  "GLSL.std.450"
60                               MemoryModel Logical GLSL450
61                               EntryPoint Fragment 4  "PixelShaderFunction" 19 22
62                               ExecutionMode 4 OriginUpperLeft
63                               Name 4  "PixelShaderFunction"
64                               Name 11  "@PixelShaderFunction(vf4;"
65                               Name 10  "input"
66                               Name 17  "input"
67                               Name 19  "input"
68                               Name 22  "@entryPointOutput"
69                               Name 23  "param"
70                               Decorate 19(input) Location 0
71                               Decorate 22(@entryPointOutput) Location 0
72                2:             TypeVoid
73                3:             TypeFunction 2
74                6:             TypeFloat 32
75                7:             TypeVector 6(float) 4
76                8:             TypePointer Function 7(fvec4)
77                9:             TypeFunction 7(fvec4) 8(ptr)
78               18:             TypePointer Input 7(fvec4)
79        19(input):     18(ptr) Variable Input
80               21:             TypePointer Output 7(fvec4)
81 22(@entryPointOutput):     21(ptr) Variable Output
82 4(PixelShaderFunction):           2 Function None 3
83                5:             Label
84        17(input):      8(ptr) Variable Function
85        23(param):      8(ptr) Variable Function
86               20:    7(fvec4) Load 19(input)
87                               Store 17(input) 20
88               24:    7(fvec4) Load 17(input)
89                               Store 23(param) 24
90               25:    7(fvec4) FunctionCall 11(@PixelShaderFunction(vf4;) 23(param)
91                               Store 22(@entryPointOutput) 25
92                               Return
93                               FunctionEnd
94 11(@PixelShaderFunction(vf4;):    7(fvec4) Function None 9
95        10(input):      8(ptr) FunctionParameter
96               12:             Label
97               13:    7(fvec4) Load 10(input)
98               14:    7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 13
99                               ReturnValue 14
100                               FunctionEnd