cb246695e0f6912f7be6d7cc3e249593226429fa
[platform/upstream/glslang.git] / Test / baseResults / hlsl.numericsuffixes.frag.out
1 hlsl.numericsuffixes.frag
2 Shader version: 450
3 gl_FragCoord origin is upper left
4 0:? Sequence
5 0:5  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
6 0:5    Function Parameters: 
7 0:?     Sequence
8 0:7      Sequence
9 0:7        move second child to first child ( temp float)
10 0:7          'r00' ( temp float)
11 0:7          Constant:
12 0:7            1.000000
13 0:8      Sequence
14 0:8        move second child to first child ( temp uint)
15 0:8          'r01' ( temp uint)
16 0:8          Constant:
17 0:8            1 (const uint)
18 0:9      Sequence
19 0:9        move second child to first child ( temp uint)
20 0:9          'r02' ( temp uint)
21 0:9          Constant:
22 0:9            2 (const uint)
23 0:10      Sequence
24 0:10        move second child to first child ( temp uint)
25 0:10          'r03' ( temp uint)
26 0:10          Constant:
27 0:10            2748 (const uint)
28 0:11      Sequence
29 0:11        move second child to first child ( temp uint)
30 0:11          'r04' ( temp uint)
31 0:11          Constant:
32 0:11            2748 (const uint)
33 0:12      Sequence
34 0:12        move second child to first child ( temp int)
35 0:12          'r05' ( temp int)
36 0:12          Constant:
37 0:12            5 (const int)
38 0:13      Sequence
39 0:13        move second child to first child ( temp int)
40 0:13          'r06' ( temp int)
41 0:13          Constant:
42 0:13            6 (const int)
43 0:14      Sequence
44 0:14        move second child to first child ( temp int)
45 0:14          'r07' ( temp int)
46 0:14          Constant:
47 0:14            57 (const int)
48 0:15      Sequence
49 0:15        move second child to first child ( temp uint)
50 0:15          'r08' ( temp uint)
51 0:15          Constant:
52 0:15            58 (const uint)
53 0:16      Sequence
54 0:16        move second child to first child ( temp float)
55 0:16          'r09' ( temp float)
56 0:16          Constant:
57 0:16            1.000000
58 0:17      Sequence
59 0:17        move second child to first child ( temp float)
60 0:17          'r10' ( temp float)
61 0:17          Constant:
62 0:17            1.000000
63 0:18      Sequence
64 0:18        move second child to first child ( temp float)
65 0:18          'r11' ( temp float)
66 0:18          Constant:
67 0:18            1.100000
68 0:19      Sequence
69 0:19        move second child to first child ( temp float)
70 0:19          'r12' ( temp float)
71 0:19          Constant:
72 0:19            1.100000
73 0:22      move second child to first child ( temp 4-component vector of float)
74 0:22        color: direct index for structure ( temp 4-component vector of float)
75 0:22          'ps_output' ( temp structure{ temp 4-component vector of float color})
76 0:22          Constant:
77 0:22            0 (const int)
78 0:22        Construct vec4 ( temp 4-component vector of float)
79 0:22          Convert int to float ( temp float)
80 0:22            'r07' ( temp int)
81 0:23      Branch: Return with expression
82 0:23        'ps_output' ( temp structure{ temp 4-component vector of float color})
83 0:5  Function Definition: main( ( temp void)
84 0:5    Function Parameters: 
85 0:?     Sequence
86 0:5      Sequence
87 0:5        move second child to first child ( temp 4-component vector of float)
88 0:?           'color' (layout( location=0) out 4-component vector of float)
89 0:5          color: direct index for structure ( temp 4-component vector of float)
90 0:5            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
91 0:5            Constant:
92 0:5              0 (const int)
93 0:?   Linker Objects
94 0:?     'color' (layout( location=0) out 4-component vector of float)
95
96
97 Linked fragment stage:
98
99
100 Shader version: 450
101 gl_FragCoord origin is upper left
102 0:? Sequence
103 0:5  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
104 0:5    Function Parameters: 
105 0:?     Sequence
106 0:7      Sequence
107 0:7        move second child to first child ( temp float)
108 0:7          'r00' ( temp float)
109 0:7          Constant:
110 0:7            1.000000
111 0:8      Sequence
112 0:8        move second child to first child ( temp uint)
113 0:8          'r01' ( temp uint)
114 0:8          Constant:
115 0:8            1 (const uint)
116 0:9      Sequence
117 0:9        move second child to first child ( temp uint)
118 0:9          'r02' ( temp uint)
119 0:9          Constant:
120 0:9            2 (const uint)
121 0:10      Sequence
122 0:10        move second child to first child ( temp uint)
123 0:10          'r03' ( temp uint)
124 0:10          Constant:
125 0:10            2748 (const uint)
126 0:11      Sequence
127 0:11        move second child to first child ( temp uint)
128 0:11          'r04' ( temp uint)
129 0:11          Constant:
130 0:11            2748 (const uint)
131 0:12      Sequence
132 0:12        move second child to first child ( temp int)
133 0:12          'r05' ( temp int)
134 0:12          Constant:
135 0:12            5 (const int)
136 0:13      Sequence
137 0:13        move second child to first child ( temp int)
138 0:13          'r06' ( temp int)
139 0:13          Constant:
140 0:13            6 (const int)
141 0:14      Sequence
142 0:14        move second child to first child ( temp int)
143 0:14          'r07' ( temp int)
144 0:14          Constant:
145 0:14            57 (const int)
146 0:15      Sequence
147 0:15        move second child to first child ( temp uint)
148 0:15          'r08' ( temp uint)
149 0:15          Constant:
150 0:15            58 (const uint)
151 0:16      Sequence
152 0:16        move second child to first child ( temp float)
153 0:16          'r09' ( temp float)
154 0:16          Constant:
155 0:16            1.000000
156 0:17      Sequence
157 0:17        move second child to first child ( temp float)
158 0:17          'r10' ( temp float)
159 0:17          Constant:
160 0:17            1.000000
161 0:18      Sequence
162 0:18        move second child to first child ( temp float)
163 0:18          'r11' ( temp float)
164 0:18          Constant:
165 0:18            1.100000
166 0:19      Sequence
167 0:19        move second child to first child ( temp float)
168 0:19          'r12' ( temp float)
169 0:19          Constant:
170 0:19            1.100000
171 0:22      move second child to first child ( temp 4-component vector of float)
172 0:22        color: direct index for structure ( temp 4-component vector of float)
173 0:22          'ps_output' ( temp structure{ temp 4-component vector of float color})
174 0:22          Constant:
175 0:22            0 (const int)
176 0:22        Construct vec4 ( temp 4-component vector of float)
177 0:22          Convert int to float ( temp float)
178 0:22            'r07' ( temp int)
179 0:23      Branch: Return with expression
180 0:23        'ps_output' ( temp structure{ temp 4-component vector of float color})
181 0:5  Function Definition: main( ( temp void)
182 0:5    Function Parameters: 
183 0:?     Sequence
184 0:5      Sequence
185 0:5        move second child to first child ( temp 4-component vector of float)
186 0:?           'color' (layout( location=0) out 4-component vector of float)
187 0:5          color: direct index for structure ( temp 4-component vector of float)
188 0:5            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
189 0:5            Constant:
190 0:5              0 (const int)
191 0:?   Linker Objects
192 0:?     'color' (layout( location=0) out 4-component vector of float)
193
194 // Module Version 10000
195 // Generated by (magic number): 80001
196 // Id's are bound by 54
197
198                               Capability Shader
199                1:             ExtInstImport  "GLSL.std.450"
200                               MemoryModel Logical GLSL450
201                               EntryPoint Fragment 4  "main" 51
202                               ExecutionMode 4 OriginUpperLeft
203                               Name 4  "main"
204                               Name 8  "PS_OUTPUT"
205                               MemberName 8(PS_OUTPUT) 0  "color"
206                               Name 10  "@main("
207                               Name 13  "r00"
208                               Name 17  "r01"
209                               Name 19  "r02"
210                               Name 21  "r03"
211                               Name 23  "r04"
212                               Name 26  "r05"
213                               Name 28  "r06"
214                               Name 30  "r07"
215                               Name 32  "r08"
216                               Name 34  "r09"
217                               Name 35  "r10"
218                               Name 36  "r11"
219                               Name 38  "r12"
220                               Name 40  "ps_output"
221                               Name 51  "color"
222                               Decorate 51(color) Location 0
223                2:             TypeVoid
224                3:             TypeFunction 2
225                6:             TypeFloat 32
226                7:             TypeVector 6(float) 4
227     8(PS_OUTPUT):             TypeStruct 7(fvec4)
228                9:             TypeFunction 8(PS_OUTPUT)
229               12:             TypePointer Function 6(float)
230               14:    6(float) Constant 1065353216
231               15:             TypeInt 32 0
232               16:             TypePointer Function 15(int)
233               18:     15(int) Constant 1
234               20:     15(int) Constant 2
235               22:     15(int) Constant 2748
236               24:             TypeInt 32 1
237               25:             TypePointer Function 24(int)
238               27:     24(int) Constant 5
239               29:     24(int) Constant 6
240               31:     24(int) Constant 57
241               33:     15(int) Constant 58
242               37:    6(float) Constant 1066192077
243               39:             TypePointer Function 8(PS_OUTPUT)
244               41:     24(int) Constant 0
245               45:             TypePointer Function 7(fvec4)
246               50:             TypePointer Output 7(fvec4)
247        51(color):     50(ptr) Variable Output
248          4(main):           2 Function None 3
249                5:             Label
250               52:8(PS_OUTPUT) FunctionCall 10(@main()
251               53:    7(fvec4) CompositeExtract 52 0
252                               Store 51(color) 53
253                               Return
254                               FunctionEnd
255       10(@main():8(PS_OUTPUT) Function None 9
256               11:             Label
257          13(r00):     12(ptr) Variable Function
258          17(r01):     16(ptr) Variable Function
259          19(r02):     16(ptr) Variable Function
260          21(r03):     16(ptr) Variable Function
261          23(r04):     16(ptr) Variable Function
262          26(r05):     25(ptr) Variable Function
263          28(r06):     25(ptr) Variable Function
264          30(r07):     25(ptr) Variable Function
265          32(r08):     16(ptr) Variable Function
266          34(r09):     12(ptr) Variable Function
267          35(r10):     12(ptr) Variable Function
268          36(r11):     12(ptr) Variable Function
269          38(r12):     12(ptr) Variable Function
270    40(ps_output):     39(ptr) Variable Function
271                               Store 13(r00) 14
272                               Store 17(r01) 18
273                               Store 19(r02) 20
274                               Store 21(r03) 22
275                               Store 23(r04) 22
276                               Store 26(r05) 27
277                               Store 28(r06) 29
278                               Store 30(r07) 31
279                               Store 32(r08) 33
280                               Store 34(r09) 14
281                               Store 35(r10) 14
282                               Store 36(r11) 37
283                               Store 38(r12) 37
284               42:     24(int) Load 30(r07)
285               43:    6(float) ConvertSToF 42
286               44:    7(fvec4) CompositeConstruct 43 43 43 43
287               46:     45(ptr) AccessChain 40(ps_output) 41
288                               Store 46 44
289               47:8(PS_OUTPUT) Load 40(ps_output)
290                               ReturnValue 47
291                               FunctionEnd