d3409d8b2fb54afe8de05538f536a53d42fe4938
[platform/upstream/glslang.git] / Test / baseResults / hlsl.scope.frag.out
1 hlsl.scope.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:4      'x' ( temp int)
10 0:?       Sequence
11 0:7        'x' ( temp float)
12 0:?         Sequence
13 0:10          'x' ( temp bool)
14 0:?           Sequence
15 0:13            'x' ( temp 3-component vector of float)
16 0:15          'x' ( temp bool)
17 0:17        'x' ( temp float)
18 0:19      'x' ( temp int)
19 0:21      Test condition and select ( temp void)
20 0:21        Condition
21 0:21        Compare Greater Than ( temp bool)
22 0:21          'x' ( temp int)
23 0:21          Constant:
24 0:21            0 (const int)
25 0:21        true case is null
26 0:24      Loop with condition tested first
27 0:24        Loop Condition
28 0:24        Compare Greater Than ( temp bool)
29 0:24          'x' ( temp int)
30 0:24          Constant:
31 0:24            0 (const int)
32 0:24        No loop body
33 0:27      Loop with condition not tested first
34 0:27        Loop Condition
35 0:29        Compare Greater Than ( temp bool)
36 0:29          'x' ( temp int)
37 0:29          Constant:
38 0:29            0 (const int)
39 0:27        No loop body
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      Function Call: @PixelShaderFunction(vf4; ( temp void)
47 0:?         'input' ( temp 4-component vector of float)
48 0:?   Linker Objects
49 0:?     'input' (layout( location=0) in 4-component vector of float)
50
51
52 Linked fragment stage:
53
54
55 Shader version: 450
56 gl_FragCoord origin is upper left
57 0:? Sequence
58 0:2  Function Definition: @PixelShaderFunction(vf4; ( temp void)
59 0:2    Function Parameters: 
60 0:2      'input' ( in 4-component vector of float)
61 0:?     Sequence
62 0:4      'x' ( temp int)
63 0:?       Sequence
64 0:7        'x' ( temp float)
65 0:?         Sequence
66 0:10          'x' ( temp bool)
67 0:?           Sequence
68 0:13            'x' ( temp 3-component vector of float)
69 0:15          'x' ( temp bool)
70 0:17        'x' ( temp float)
71 0:19      'x' ( temp int)
72 0:21      Test condition and select ( temp void)
73 0:21        Condition
74 0:21        Compare Greater Than ( temp bool)
75 0:21          'x' ( temp int)
76 0:21          Constant:
77 0:21            0 (const int)
78 0:21        true case is null
79 0:24      Loop with condition tested first
80 0:24        Loop Condition
81 0:24        Compare Greater Than ( temp bool)
82 0:24          'x' ( temp int)
83 0:24          Constant:
84 0:24            0 (const int)
85 0:24        No loop body
86 0:27      Loop with condition not tested first
87 0:27        Loop Condition
88 0:29        Compare Greater Than ( temp bool)
89 0:29          'x' ( temp int)
90 0:29          Constant:
91 0:29            0 (const int)
92 0:27        No loop body
93 0:2  Function Definition: PixelShaderFunction( ( temp void)
94 0:2    Function Parameters: 
95 0:?     Sequence
96 0:2      move second child to first child ( temp 4-component vector of float)
97 0:?         'input' ( temp 4-component vector of float)
98 0:?         'input' (layout( location=0) in 4-component vector of float)
99 0:2      Function Call: @PixelShaderFunction(vf4; ( temp void)
100 0:?         'input' ( temp 4-component vector of float)
101 0:?   Linker Objects
102 0:?     'input' (layout( location=0) in 4-component vector of float)
103
104 // Module Version 10000
105 // Generated by (magic number): 80001
106 // Id's are bound by 49
107
108                               Capability Shader
109                1:             ExtInstImport  "GLSL.std.450"
110                               MemoryModel Logical GLSL450
111                               EntryPoint Fragment 4  "PixelShaderFunction" 44
112                               ExecutionMode 4 OriginUpperLeft
113                               Name 4  "PixelShaderFunction"
114                               Name 11  "@PixelShaderFunction(vf4;"
115                               Name 10  "input"
116                               Name 15  "x"
117                               Name 17  "x"
118                               Name 20  "x"
119                               Name 23  "x"
120                               Name 42  "input"
121                               Name 44  "input"
122                               Name 46  "param"
123                               Decorate 44(input) Location 0
124                2:             TypeVoid
125                3:             TypeFunction 2
126                6:             TypeFloat 32
127                7:             TypeVector 6(float) 4
128                8:             TypePointer Function 7(fvec4)
129                9:             TypeFunction 2 8(ptr)
130               13:             TypeInt 32 1
131               14:             TypePointer Function 13(int)
132               16:             TypePointer Function 6(float)
133               18:             TypeBool
134               19:             TypePointer Function 18(bool)
135               21:             TypeVector 6(float) 3
136               22:             TypePointer Function 21(fvec3)
137               25:     13(int) Constant 0
138               43:             TypePointer Input 7(fvec4)
139        44(input):     43(ptr) Variable Input
140 4(PixelShaderFunction):           2 Function None 3
141                5:             Label
142        42(input):      8(ptr) Variable Function
143        46(param):      8(ptr) Variable Function
144               45:    7(fvec4) Load 44(input)
145                               Store 42(input) 45
146               47:    7(fvec4) Load 42(input)
147                               Store 46(param) 47
148               48:           2 FunctionCall 11(@PixelShaderFunction(vf4;) 46(param)
149                               Return
150                               FunctionEnd
151 11(@PixelShaderFunction(vf4;):           2 Function None 9
152        10(input):      8(ptr) FunctionParameter
153               12:             Label
154            15(x):     14(ptr) Variable Function
155            17(x):     16(ptr) Variable Function
156            20(x):     19(ptr) Variable Function
157            23(x):     22(ptr) Variable Function
158               24:     13(int) Load 15(x)
159               26:    18(bool) SGreaterThan 24 25
160                               SelectionMerge 28 None
161                               BranchConditional 26 27 28
162               27:               Label
163                                 Branch 28
164               28:             Label
165                               Branch 29
166               29:             Label
167                               LoopMerge 31 32 None
168                               Branch 33
169               33:             Label
170               34:     13(int) Load 15(x)
171               35:    18(bool) SGreaterThan 34 25
172                               BranchConditional 35 30 31
173               30:               Label
174                                 Branch 32
175               32:               Label
176                                 Branch 29
177               31:             Label
178                               Branch 36
179               36:             Label
180                               LoopMerge 38 39 None
181                               Branch 37
182               37:             Label
183                               Branch 39
184               39:             Label
185               40:     13(int) Load 15(x)
186               41:    18(bool) SGreaterThan 40 25
187                               BranchConditional 41 36 38
188               38:             Label
189                               Return
190                               FunctionEnd