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