ca3fe58df9bbfcb8aba079fa3391e5c5f7252f4b
[platform/upstream/glslang.git] / Test / baseResults / hlsl.logicalConvert.frag.out
1 hlsl.logicalConvert.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:2  Function Definition: @main( ( temp 4-component vector of float)
6 0:2    Function Parameters: 
7 0:?     Sequence
8 0:3      Test condition and select ( temp void)
9 0:3        Condition
10 0:3        Constant:
11 0:3          false (const bool)
12 0:3        true case
13 0:4        Branch: Return with expression
14 0:4          Constant:
15 0:4            0.000000
16 0:4            0.000000
17 0:4            0.000000
18 0:4            0.000000
19 0:5      Test condition and select ( temp void)
20 0:5        Condition
21 0:5        Constant:
22 0:5          false (const bool)
23 0:5        true case
24 0:6        Branch: Return with expression
25 0:6          Constant:
26 0:6            0.000000
27 0:6            0.000000
28 0:6            0.000000
29 0:6            0.000000
30 0:7      Test condition and select ( temp void)
31 0:7        Condition
32 0:7        Constant:
33 0:7          true (const bool)
34 0:7        true case
35 0:8        Branch: Return with expression
36 0:8          Constant:
37 0:8            0.000000
38 0:8            0.000000
39 0:8            0.000000
40 0:8            0.000000
41 0:9      Test condition and select ( temp void)
42 0:9        Condition
43 0:9        Constant:
44 0:9          true (const bool)
45 0:9        true case
46 0:10        Branch: Return with expression
47 0:10          Constant:
48 0:10            0.000000
49 0:10            0.000000
50 0:10            0.000000
51 0:10            0.000000
52 0:11      Test condition and select ( temp void)
53 0:11        Condition
54 0:11        Constant:
55 0:11          false (const bool)
56 0:11        true case
57 0:12        Branch: Return with expression
58 0:12          Constant:
59 0:12            0.000000
60 0:12            0.000000
61 0:12            0.000000
62 0:12            0.000000
63 0:13      Test condition and select ( temp void)
64 0:13        Condition
65 0:13        Constant:
66 0:13          false (const bool)
67 0:13        true case
68 0:14        Branch: Return with expression
69 0:14          Constant:
70 0:14            0.000000
71 0:14            0.000000
72 0:14            0.000000
73 0:14            0.000000
74 0:2  Function Definition: main( ( temp void)
75 0:2    Function Parameters: 
76 0:?     Sequence
77 0:2      move second child to first child ( temp 4-component vector of float)
78 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
79 0:2        Function Call: @main( ( temp 4-component vector of float)
80 0:?   Linker Objects
81 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
82
83
84 Linked fragment stage:
85
86
87 Shader version: 450
88 gl_FragCoord origin is upper left
89 0:? Sequence
90 0:2  Function Definition: @main( ( temp 4-component vector of float)
91 0:2    Function Parameters: 
92 0:?     Sequence
93 0:3      Test condition and select ( temp void)
94 0:3        Condition
95 0:3        Constant:
96 0:3          false (const bool)
97 0:3        true case
98 0:4        Branch: Return with expression
99 0:4          Constant:
100 0:4            0.000000
101 0:4            0.000000
102 0:4            0.000000
103 0:4            0.000000
104 0:5      Test condition and select ( temp void)
105 0:5        Condition
106 0:5        Constant:
107 0:5          false (const bool)
108 0:5        true case
109 0:6        Branch: Return with expression
110 0:6          Constant:
111 0:6            0.000000
112 0:6            0.000000
113 0:6            0.000000
114 0:6            0.000000
115 0:7      Test condition and select ( temp void)
116 0:7        Condition
117 0:7        Constant:
118 0:7          true (const bool)
119 0:7        true case
120 0:8        Branch: Return with expression
121 0:8          Constant:
122 0:8            0.000000
123 0:8            0.000000
124 0:8            0.000000
125 0:8            0.000000
126 0:9      Test condition and select ( temp void)
127 0:9        Condition
128 0:9        Constant:
129 0:9          true (const bool)
130 0:9        true case
131 0:10        Branch: Return with expression
132 0:10          Constant:
133 0:10            0.000000
134 0:10            0.000000
135 0:10            0.000000
136 0:10            0.000000
137 0:11      Test condition and select ( temp void)
138 0:11        Condition
139 0:11        Constant:
140 0:11          false (const bool)
141 0:11        true case
142 0:12        Branch: Return with expression
143 0:12          Constant:
144 0:12            0.000000
145 0:12            0.000000
146 0:12            0.000000
147 0:12            0.000000
148 0:13      Test condition and select ( temp void)
149 0:13        Condition
150 0:13        Constant:
151 0:13          false (const bool)
152 0:13        true case
153 0:14        Branch: Return with expression
154 0:14          Constant:
155 0:14            0.000000
156 0:14            0.000000
157 0:14            0.000000
158 0:14            0.000000
159 0:2  Function Definition: main( ( temp void)
160 0:2    Function Parameters: 
161 0:?     Sequence
162 0:2      move second child to first child ( temp 4-component vector of float)
163 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
164 0:2        Function Call: @main( ( temp 4-component vector of float)
165 0:?   Linker Objects
166 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
167
168 // Module Version 10000
169 // Generated by (magic number): 80001
170 // Id's are bound by 38
171
172                               Capability Shader
173                1:             ExtInstImport  "GLSL.std.450"
174                               MemoryModel Logical GLSL450
175                               EntryPoint Fragment 4  "main" 36
176                               ExecutionMode 4 OriginUpperLeft
177                               Name 4  "main"
178                               Name 9  "@main("
179                               Name 36  "@entryPointOutput"
180                               Decorate 36(@entryPointOutput) Location 0
181                2:             TypeVoid
182                3:             TypeFunction 2
183                6:             TypeFloat 32
184                7:             TypeVector 6(float) 4
185                8:             TypeFunction 7(fvec4)
186               11:             TypeBool
187               12:    11(bool) ConstantFalse
188               15:    6(float) Constant 0
189               16:    7(fvec4) ConstantComposite 15 15 15 15
190               21:    11(bool) ConstantTrue
191               35:             TypePointer Output 7(fvec4)
192 36(@entryPointOutput):     35(ptr) Variable Output
193          4(main):           2 Function None 3
194                5:             Label
195               37:    7(fvec4) FunctionCall 9(@main()
196                               Store 36(@entryPointOutput) 37
197                               Return
198                               FunctionEnd
199        9(@main():    7(fvec4) Function None 8
200               10:             Label
201                               SelectionMerge 14 None
202                               BranchConditional 12 13 14
203               13:               Label
204                                 ReturnValue 16
205               14:             Label
206                               SelectionMerge 19 None
207                               BranchConditional 12 18 19
208               18:               Label
209                                 ReturnValue 16
210               19:             Label
211                               SelectionMerge 23 None
212                               BranchConditional 21 22 23
213               22:               Label
214                                 ReturnValue 16
215               23:             Label
216                               SelectionMerge 26 None
217                               BranchConditional 21 25 26
218               25:               Label
219                                 ReturnValue 16
220               26:             Label
221                               SelectionMerge 29 None
222                               BranchConditional 12 28 29
223               28:               Label
224                                 ReturnValue 16
225               29:             Label
226                               SelectionMerge 32 None
227                               BranchConditional 12 31 32
228               31:               Label
229                                 ReturnValue 16
230               32:             Label
231               34:    7(fvec4) Undef
232                               ReturnValue 34
233                               FunctionEnd