5c499318833af445aa9721d0c8ea3a75fe229f24
[platform/upstream/glslang.git] / Test / baseResults / hlsl.getsampleposition.dx10.frag.out
1 hlsl.getsampleposition.dx10.frag
2 Shader version: 500
3 gl_FragCoord origin is upper left
4 using depth_any
5 0:? Sequence
6 0:13  Function Definition: @main(i1; ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
7 0:13    Function Parameters: 
8 0:13      'sample' ( in int)
9 0:?     Sequence
10 0:16      Sequence
11 0:16        move second child to first child ( temp 2-component vector of float)
12 0:16          'r00' ( temp 2-component vector of float)
13 0:16          Sequence
14 0:16            move second child to first child ( temp uint)
15 0:16              '@sampleCount' ( temp uint)
16 0:16              imageQuerySamples ( temp uint)
17 0:16                'g_tTex2dmsf4' ( uniform texture2DMS)
18 0:16            Test condition and select ( temp 2-component vector of float): no shortcircuit
19 0:16              Condition
20 0:16              Compare Equal ( temp bool)
21 0:16                '@sampleCount' ( temp uint)
22 0:16                Constant:
23 0:16                  2 (const int)
24 0:16              true case
25 0:16              indirect index ( temp 2-component vector of float)
26 0:?                 Constant:
27 0:?                   0.250000
28 0:?                   0.250000
29 0:?                   -0.250000
30 0:?                   -0.250000
31 0:16                'sample' ( in int)
32 0:16              false case
33 0:16              Test condition and select ( temp 2-component vector of float): no shortcircuit
34 0:16                Condition
35 0:16                Compare Equal ( temp bool)
36 0:16                  '@sampleCount' ( temp uint)
37 0:16                  Constant:
38 0:16                    4 (const int)
39 0:16                true case
40 0:16                indirect index ( temp 2-component vector of float)
41 0:?                   Constant:
42 0:?                     -0.125000
43 0:?                     -0.375000
44 0:?                     0.375000
45 0:?                     -0.125000
46 0:?                     -0.375000
47 0:?                     0.125000
48 0:?                     0.125000
49 0:?                     0.375000
50 0:16                  'sample' ( in int)
51 0:16                false case
52 0:16                Test condition and select ( temp 2-component vector of float): no shortcircuit
53 0:16                  Condition
54 0:16                  Compare Equal ( temp bool)
55 0:16                    '@sampleCount' ( temp uint)
56 0:16                    Constant:
57 0:16                      8 (const int)
58 0:16                  true case
59 0:16                  indirect index ( temp 2-component vector of float)
60 0:?                     Constant:
61 0:?                       0.062500
62 0:?                       -0.187500
63 0:?                       -0.062500
64 0:?                       0.187500
65 0:?                       0.312500
66 0:?                       0.062500
67 0:?                       -0.187500
68 0:?                       -0.312500
69 0:?                       -0.312500
70 0:?                       0.312500
71 0:?                       -0.437500
72 0:?                       -0.062500
73 0:?                       0.187500
74 0:?                       0.437500
75 0:?                       0.437500
76 0:?                       -0.437500
77 0:16                    'sample' ( in int)
78 0:16                  false case
79 0:16                  Test condition and select ( temp 2-component vector of float): no shortcircuit
80 0:16                    Condition
81 0:16                    Compare Equal ( temp bool)
82 0:16                      '@sampleCount' ( temp uint)
83 0:16                      Constant:
84 0:16                        16 (const int)
85 0:16                    true case
86 0:16                    indirect index ( temp 2-component vector of float)
87 0:?                       Constant:
88 0:?                         0.062500
89 0:?                         0.062500
90 0:?                         -0.062500
91 0:?                         -0.187500
92 0:?                         -0.187500
93 0:?                         0.125000
94 0:?                         0.250000
95 0:?                         -0.062500
96 0:?                         -0.312500
97 0:?                         -0.125000
98 0:?                         0.125000
99 0:?                         0.312500
100 0:?                         0.312500
101 0:?                         0.187500
102 0:?                         0.187500
103 0:?                         -0.312500
104 0:?                         -0.125000
105 0:?                         0.375000
106 0:?                         0.000000
107 0:?                         -0.437500
108 0:?                         -0.250000
109 0:?                         -0.375000
110 0:?                         -0.375000
111 0:?                         0.250000
112 0:?                         -0.500000
113 0:?                         0.000000
114 0:?                         0.437500
115 0:?                         -0.250000
116 0:?                         0.375000
117 0:?                         0.437500
118 0:?                         -0.437500
119 0:?                         -0.500000
120 0:16                      'sample' ( in int)
121 0:16                    false case
122 0:?                     Constant:
123 0:?                       0.000000
124 0:?                       0.000000
125 0:17      Sequence
126 0:17        move second child to first child ( temp 2-component vector of float)
127 0:17          'r01' ( temp 2-component vector of float)
128 0:17          Sequence
129 0:17            move second child to first child ( temp uint)
130 0:17              '@sampleCount' ( temp uint)
131 0:17              imageQuerySamples ( temp uint)
132 0:17                'g_tTex2dmsf4a' ( uniform texture2DMSArray)
133 0:17            Test condition and select ( temp 2-component vector of float): no shortcircuit
134 0:17              Condition
135 0:17              Compare Equal ( temp bool)
136 0:17                '@sampleCount' ( temp uint)
137 0:17                Constant:
138 0:17                  2 (const int)
139 0:17              true case
140 0:17              indirect index ( temp 2-component vector of float)
141 0:?                 Constant:
142 0:?                   0.250000
143 0:?                   0.250000
144 0:?                   -0.250000
145 0:?                   -0.250000
146 0:17                'sample' ( in int)
147 0:17              false case
148 0:17              Test condition and select ( temp 2-component vector of float): no shortcircuit
149 0:17                Condition
150 0:17                Compare Equal ( temp bool)
151 0:17                  '@sampleCount' ( temp uint)
152 0:17                  Constant:
153 0:17                    4 (const int)
154 0:17                true case
155 0:17                indirect index ( temp 2-component vector of float)
156 0:?                   Constant:
157 0:?                     -0.125000
158 0:?                     -0.375000
159 0:?                     0.375000
160 0:?                     -0.125000
161 0:?                     -0.375000
162 0:?                     0.125000
163 0:?                     0.125000
164 0:?                     0.375000
165 0:17                  'sample' ( in int)
166 0:17                false case
167 0:17                Test condition and select ( temp 2-component vector of float): no shortcircuit
168 0:17                  Condition
169 0:17                  Compare Equal ( temp bool)
170 0:17                    '@sampleCount' ( temp uint)
171 0:17                    Constant:
172 0:17                      8 (const int)
173 0:17                  true case
174 0:17                  indirect index ( temp 2-component vector of float)
175 0:?                     Constant:
176 0:?                       0.062500
177 0:?                       -0.187500
178 0:?                       -0.062500
179 0:?                       0.187500
180 0:?                       0.312500
181 0:?                       0.062500
182 0:?                       -0.187500
183 0:?                       -0.312500
184 0:?                       -0.312500
185 0:?                       0.312500
186 0:?                       -0.437500
187 0:?                       -0.062500
188 0:?                       0.187500
189 0:?                       0.437500
190 0:?                       0.437500
191 0:?                       -0.437500
192 0:17                    'sample' ( in int)
193 0:17                  false case
194 0:17                  Test condition and select ( temp 2-component vector of float): no shortcircuit
195 0:17                    Condition
196 0:17                    Compare Equal ( temp bool)
197 0:17                      '@sampleCount' ( temp uint)
198 0:17                      Constant:
199 0:17                        16 (const int)
200 0:17                    true case
201 0:17                    indirect index ( temp 2-component vector of float)
202 0:?                       Constant:
203 0:?                         0.062500
204 0:?                         0.062500
205 0:?                         -0.062500
206 0:?                         -0.187500
207 0:?                         -0.187500
208 0:?                         0.125000
209 0:?                         0.250000
210 0:?                         -0.062500
211 0:?                         -0.312500
212 0:?                         -0.125000
213 0:?                         0.125000
214 0:?                         0.312500
215 0:?                         0.312500
216 0:?                         0.187500
217 0:?                         0.187500
218 0:?                         -0.312500
219 0:?                         -0.125000
220 0:?                         0.375000
221 0:?                         0.000000
222 0:?                         -0.437500
223 0:?                         -0.250000
224 0:?                         -0.375000
225 0:?                         -0.375000
226 0:?                         0.250000
227 0:?                         -0.500000
228 0:?                         0.000000
229 0:?                         0.437500
230 0:?                         -0.250000
231 0:?                         0.375000
232 0:?                         0.437500
233 0:?                         -0.437500
234 0:?                         -0.500000
235 0:17                      'sample' ( in int)
236 0:17                    false case
237 0:?                     Constant:
238 0:?                       0.000000
239 0:?                       0.000000
240 0:19      move second child to first child ( temp 4-component vector of float)
241 0:19        Color: direct index for structure ( temp 4-component vector of float)
242 0:19          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
243 0:19          Constant:
244 0:19            0 (const int)
245 0:19        Constant:
246 0:19          1.000000
247 0:19          1.000000
248 0:19          1.000000
249 0:19          1.000000
250 0:20      move second child to first child ( temp float)
251 0:20        Depth: direct index for structure ( temp float)
252 0:20          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
253 0:20          Constant:
254 0:20            1 (const int)
255 0:20        Constant:
256 0:20          1.000000
257 0:22      Branch: Return with expression
258 0:22        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
259 0:13  Function Definition: main( ( temp void)
260 0:13    Function Parameters: 
261 0:?     Sequence
262 0:13      move second child to first child ( temp int)
263 0:?         'sample' ( temp int)
264 0:?         'sample' (layout( location=0) flat in int)
265 0:13      Sequence
266 0:13        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
267 0:13          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
268 0:13          Function Call: @main(i1; ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
269 0:?             'sample' ( temp int)
270 0:13        move second child to first child ( temp 4-component vector of float)
271 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
272 0:13          Color: direct index for structure ( temp 4-component vector of float)
273 0:13            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
274 0:13            Constant:
275 0:13              0 (const int)
276 0:13        move second child to first child ( temp float)
277 0:?           '@entryPointOutput.Depth' ( out float FragDepth)
278 0:13          Depth: direct index for structure ( temp float)
279 0:13            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
280 0:13            Constant:
281 0:13              1 (const int)
282 0:?   Linker Objects
283 0:?     'g_sSamp' (layout( binding=0) uniform sampler)
284 0:?     'g_tTex2dmsf4' ( uniform texture2DMS)
285 0:?     'g_tTex2dmsf4a' ( uniform texture2DMSArray)
286 0:?     '@entryPointOutput.Depth' ( out float FragDepth)
287 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
288 0:?     'sample' (layout( location=0) flat in int)
289
290
291 Linked fragment stage:
292
293
294 Shader version: 500
295 gl_FragCoord origin is upper left
296 using depth_any
297 0:? Sequence
298 0:13  Function Definition: @main(i1; ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
299 0:13    Function Parameters: 
300 0:13      'sample' ( in int)
301 0:?     Sequence
302 0:16      Sequence
303 0:16        move second child to first child ( temp 2-component vector of float)
304 0:16          'r00' ( temp 2-component vector of float)
305 0:16          Sequence
306 0:16            move second child to first child ( temp uint)
307 0:16              '@sampleCount' ( temp uint)
308 0:16              imageQuerySamples ( temp uint)
309 0:16                'g_tTex2dmsf4' ( uniform texture2DMS)
310 0:16            Test condition and select ( temp 2-component vector of float): no shortcircuit
311 0:16              Condition
312 0:16              Compare Equal ( temp bool)
313 0:16                '@sampleCount' ( temp uint)
314 0:16                Constant:
315 0:16                  2 (const int)
316 0:16              true case
317 0:16              indirect index ( temp 2-component vector of float)
318 0:?                 Constant:
319 0:?                   0.250000
320 0:?                   0.250000
321 0:?                   -0.250000
322 0:?                   -0.250000
323 0:16                'sample' ( in int)
324 0:16              false case
325 0:16              Test condition and select ( temp 2-component vector of float): no shortcircuit
326 0:16                Condition
327 0:16                Compare Equal ( temp bool)
328 0:16                  '@sampleCount' ( temp uint)
329 0:16                  Constant:
330 0:16                    4 (const int)
331 0:16                true case
332 0:16                indirect index ( temp 2-component vector of float)
333 0:?                   Constant:
334 0:?                     -0.125000
335 0:?                     -0.375000
336 0:?                     0.375000
337 0:?                     -0.125000
338 0:?                     -0.375000
339 0:?                     0.125000
340 0:?                     0.125000
341 0:?                     0.375000
342 0:16                  'sample' ( in int)
343 0:16                false case
344 0:16                Test condition and select ( temp 2-component vector of float): no shortcircuit
345 0:16                  Condition
346 0:16                  Compare Equal ( temp bool)
347 0:16                    '@sampleCount' ( temp uint)
348 0:16                    Constant:
349 0:16                      8 (const int)
350 0:16                  true case
351 0:16                  indirect index ( temp 2-component vector of float)
352 0:?                     Constant:
353 0:?                       0.062500
354 0:?                       -0.187500
355 0:?                       -0.062500
356 0:?                       0.187500
357 0:?                       0.312500
358 0:?                       0.062500
359 0:?                       -0.187500
360 0:?                       -0.312500
361 0:?                       -0.312500
362 0:?                       0.312500
363 0:?                       -0.437500
364 0:?                       -0.062500
365 0:?                       0.187500
366 0:?                       0.437500
367 0:?                       0.437500
368 0:?                       -0.437500
369 0:16                    'sample' ( in int)
370 0:16                  false case
371 0:16                  Test condition and select ( temp 2-component vector of float): no shortcircuit
372 0:16                    Condition
373 0:16                    Compare Equal ( temp bool)
374 0:16                      '@sampleCount' ( temp uint)
375 0:16                      Constant:
376 0:16                        16 (const int)
377 0:16                    true case
378 0:16                    indirect index ( temp 2-component vector of float)
379 0:?                       Constant:
380 0:?                         0.062500
381 0:?                         0.062500
382 0:?                         -0.062500
383 0:?                         -0.187500
384 0:?                         -0.187500
385 0:?                         0.125000
386 0:?                         0.250000
387 0:?                         -0.062500
388 0:?                         -0.312500
389 0:?                         -0.125000
390 0:?                         0.125000
391 0:?                         0.312500
392 0:?                         0.312500
393 0:?                         0.187500
394 0:?                         0.187500
395 0:?                         -0.312500
396 0:?                         -0.125000
397 0:?                         0.375000
398 0:?                         0.000000
399 0:?                         -0.437500
400 0:?                         -0.250000
401 0:?                         -0.375000
402 0:?                         -0.375000
403 0:?                         0.250000
404 0:?                         -0.500000
405 0:?                         0.000000
406 0:?                         0.437500
407 0:?                         -0.250000
408 0:?                         0.375000
409 0:?                         0.437500
410 0:?                         -0.437500
411 0:?                         -0.500000
412 0:16                      'sample' ( in int)
413 0:16                    false case
414 0:?                     Constant:
415 0:?                       0.000000
416 0:?                       0.000000
417 0:17      Sequence
418 0:17        move second child to first child ( temp 2-component vector of float)
419 0:17          'r01' ( temp 2-component vector of float)
420 0:17          Sequence
421 0:17            move second child to first child ( temp uint)
422 0:17              '@sampleCount' ( temp uint)
423 0:17              imageQuerySamples ( temp uint)
424 0:17                'g_tTex2dmsf4a' ( uniform texture2DMSArray)
425 0:17            Test condition and select ( temp 2-component vector of float): no shortcircuit
426 0:17              Condition
427 0:17              Compare Equal ( temp bool)
428 0:17                '@sampleCount' ( temp uint)
429 0:17                Constant:
430 0:17                  2 (const int)
431 0:17              true case
432 0:17              indirect index ( temp 2-component vector of float)
433 0:?                 Constant:
434 0:?                   0.250000
435 0:?                   0.250000
436 0:?                   -0.250000
437 0:?                   -0.250000
438 0:17                'sample' ( in int)
439 0:17              false case
440 0:17              Test condition and select ( temp 2-component vector of float): no shortcircuit
441 0:17                Condition
442 0:17                Compare Equal ( temp bool)
443 0:17                  '@sampleCount' ( temp uint)
444 0:17                  Constant:
445 0:17                    4 (const int)
446 0:17                true case
447 0:17                indirect index ( temp 2-component vector of float)
448 0:?                   Constant:
449 0:?                     -0.125000
450 0:?                     -0.375000
451 0:?                     0.375000
452 0:?                     -0.125000
453 0:?                     -0.375000
454 0:?                     0.125000
455 0:?                     0.125000
456 0:?                     0.375000
457 0:17                  'sample' ( in int)
458 0:17                false case
459 0:17                Test condition and select ( temp 2-component vector of float): no shortcircuit
460 0:17                  Condition
461 0:17                  Compare Equal ( temp bool)
462 0:17                    '@sampleCount' ( temp uint)
463 0:17                    Constant:
464 0:17                      8 (const int)
465 0:17                  true case
466 0:17                  indirect index ( temp 2-component vector of float)
467 0:?                     Constant:
468 0:?                       0.062500
469 0:?                       -0.187500
470 0:?                       -0.062500
471 0:?                       0.187500
472 0:?                       0.312500
473 0:?                       0.062500
474 0:?                       -0.187500
475 0:?                       -0.312500
476 0:?                       -0.312500
477 0:?                       0.312500
478 0:?                       -0.437500
479 0:?                       -0.062500
480 0:?                       0.187500
481 0:?                       0.437500
482 0:?                       0.437500
483 0:?                       -0.437500
484 0:17                    'sample' ( in int)
485 0:17                  false case
486 0:17                  Test condition and select ( temp 2-component vector of float): no shortcircuit
487 0:17                    Condition
488 0:17                    Compare Equal ( temp bool)
489 0:17                      '@sampleCount' ( temp uint)
490 0:17                      Constant:
491 0:17                        16 (const int)
492 0:17                    true case
493 0:17                    indirect index ( temp 2-component vector of float)
494 0:?                       Constant:
495 0:?                         0.062500
496 0:?                         0.062500
497 0:?                         -0.062500
498 0:?                         -0.187500
499 0:?                         -0.187500
500 0:?                         0.125000
501 0:?                         0.250000
502 0:?                         -0.062500
503 0:?                         -0.312500
504 0:?                         -0.125000
505 0:?                         0.125000
506 0:?                         0.312500
507 0:?                         0.312500
508 0:?                         0.187500
509 0:?                         0.187500
510 0:?                         -0.312500
511 0:?                         -0.125000
512 0:?                         0.375000
513 0:?                         0.000000
514 0:?                         -0.437500
515 0:?                         -0.250000
516 0:?                         -0.375000
517 0:?                         -0.375000
518 0:?                         0.250000
519 0:?                         -0.500000
520 0:?                         0.000000
521 0:?                         0.437500
522 0:?                         -0.250000
523 0:?                         0.375000
524 0:?                         0.437500
525 0:?                         -0.437500
526 0:?                         -0.500000
527 0:17                      'sample' ( in int)
528 0:17                    false case
529 0:?                     Constant:
530 0:?                       0.000000
531 0:?                       0.000000
532 0:19      move second child to first child ( temp 4-component vector of float)
533 0:19        Color: direct index for structure ( temp 4-component vector of float)
534 0:19          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
535 0:19          Constant:
536 0:19            0 (const int)
537 0:19        Constant:
538 0:19          1.000000
539 0:19          1.000000
540 0:19          1.000000
541 0:19          1.000000
542 0:20      move second child to first child ( temp float)
543 0:20        Depth: direct index for structure ( temp float)
544 0:20          'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
545 0:20          Constant:
546 0:20            1 (const int)
547 0:20        Constant:
548 0:20          1.000000
549 0:22      Branch: Return with expression
550 0:22        'psout' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
551 0:13  Function Definition: main( ( temp void)
552 0:13    Function Parameters: 
553 0:?     Sequence
554 0:13      move second child to first child ( temp int)
555 0:?         'sample' ( temp int)
556 0:?         'sample' (layout( location=0) flat in int)
557 0:13      Sequence
558 0:13        move second child to first child ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
559 0:13          'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
560 0:13          Function Call: @main(i1; ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
561 0:?             'sample' ( temp int)
562 0:13        move second child to first child ( temp 4-component vector of float)
563 0:?           '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
564 0:13          Color: direct index for structure ( temp 4-component vector of float)
565 0:13            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
566 0:13            Constant:
567 0:13              0 (const int)
568 0:13        move second child to first child ( temp float)
569 0:?           '@entryPointOutput.Depth' ( out float FragDepth)
570 0:13          Depth: direct index for structure ( temp float)
571 0:13            'flattenTemp' ( temp structure{ temp 4-component vector of float Color,  temp float Depth})
572 0:13            Constant:
573 0:13              1 (const int)
574 0:?   Linker Objects
575 0:?     'g_sSamp' (layout( binding=0) uniform sampler)
576 0:?     'g_tTex2dmsf4' ( uniform texture2DMS)
577 0:?     'g_tTex2dmsf4a' ( uniform texture2DMSArray)
578 0:?     '@entryPointOutput.Depth' ( out float FragDepth)
579 0:?     '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
580 0:?     'sample' (layout( location=0) flat in int)
581
582 // Module Version 10000
583 // Generated by (magic number): 8000a
584 // Id's are bound by 198
585
586                               Capability Shader
587                               Capability ImageQuery
588                1:             ExtInstImport  "GLSL.std.450"
589                               MemoryModel Logical GLSL450
590                               EntryPoint Fragment 4  "main" 181 188 192
591                               ExecutionMode 4 OriginUpperLeft
592                               ExecutionMode 4 DepthReplacing
593                               Source HLSL 500
594                               Name 4  "main"
595                               Name 10  "PS_OUTPUT"
596                               MemberName 10(PS_OUTPUT) 0  "Color"
597                               MemberName 10(PS_OUTPUT) 1  "Depth"
598                               Name 13  "@main(i1;"
599                               Name 12  "sample"
600                               Name 17  "r00"
601                               Name 20  "@sampleCount"
602                               Name 23  "g_tTex2dmsf4"
603                               Name 39  "indexable"
604                               Name 58  "indexable"
605                               Name 85  "indexable"
606                               Name 114  "indexable"
607                               Name 127  "r01"
608                               Name 128  "@sampleCount"
609                               Name 131  "g_tTex2dmsf4a"
610                               Name 137  "indexable"
611                               Name 143  "indexable"
612                               Name 149  "indexable"
613                               Name 155  "indexable"
614                               Name 167  "psout"
615                               Name 179  "sample"
616                               Name 181  "sample"
617                               Name 183  "flattenTemp"
618                               Name 184  "param"
619                               Name 188  "@entryPointOutput.Color"
620                               Name 192  "@entryPointOutput.Depth"
621                               Name 197  "g_sSamp"
622                               Decorate 23(g_tTex2dmsf4) DescriptorSet 0
623                               Decorate 23(g_tTex2dmsf4) Binding 1
624                               Decorate 131(g_tTex2dmsf4a) DescriptorSet 0
625                               Decorate 131(g_tTex2dmsf4a) Binding 2
626                               Decorate 181(sample) Flat
627                               Decorate 181(sample) Location 0
628                               Decorate 188(@entryPointOutput.Color) Location 0
629                               Decorate 192(@entryPointOutput.Depth) BuiltIn FragDepth
630                               Decorate 197(g_sSamp) DescriptorSet 0
631                               Decorate 197(g_sSamp) Binding 0
632                2:             TypeVoid
633                3:             TypeFunction 2
634                6:             TypeInt 32 1
635                7:             TypePointer Function 6(int)
636                8:             TypeFloat 32
637                9:             TypeVector 8(float) 4
638    10(PS_OUTPUT):             TypeStruct 9(fvec4) 8(float)
639               11:             TypeFunction 10(PS_OUTPUT) 7(ptr)
640               15:             TypeVector 8(float) 2
641               16:             TypePointer Function 15(fvec2)
642               18:             TypeInt 32 0
643               19:             TypePointer Function 18(int)
644               21:             TypeImage 8(float) 2D multi-sampled sampled format:Unknown
645               22:             TypePointer UniformConstant 21
646 23(g_tTex2dmsf4):     22(ptr) Variable UniformConstant
647               27:      6(int) Constant 2
648               28:             TypeBool
649               30:     18(int) Constant 2
650               31:             TypeArray 15(fvec2) 30
651               32:    8(float) Constant 1048576000
652               33:   15(fvec2) ConstantComposite 32 32
653               34:    8(float) Constant 3196059648
654               35:   15(fvec2) ConstantComposite 34 34
655               36:          31 ConstantComposite 33 35
656               38:             TypePointer Function 31
657               43:      6(int) Constant 4
658               45:     18(int) Constant 4
659               46:             TypeArray 15(fvec2) 45
660               47:    8(float) Constant 3187671040
661               48:    8(float) Constant 3200253952
662               49:   15(fvec2) ConstantComposite 47 48
663               50:    8(float) Constant 1052770304
664               51:   15(fvec2) ConstantComposite 50 47
665               52:    8(float) Constant 1040187392
666               53:   15(fvec2) ConstantComposite 48 52
667               54:   15(fvec2) ConstantComposite 52 50
668               55:          46 ConstantComposite 49 51 53 54
669               57:             TypePointer Function 46
670               62:      6(int) Constant 8
671               64:     18(int) Constant 8
672               65:             TypeArray 15(fvec2) 64
673               66:    8(float) Constant 1031798784
674               67:    8(float) Constant 3191865344
675               68:   15(fvec2) ConstantComposite 66 67
676               69:    8(float) Constant 3179282432
677               70:    8(float) Constant 1044381696
678               71:   15(fvec2) ConstantComposite 69 70
679               72:    8(float) Constant 1050673152
680               73:   15(fvec2) ConstantComposite 72 66
681               74:    8(float) Constant 3198156800
682               75:   15(fvec2) ConstantComposite 67 74
683               76:   15(fvec2) ConstantComposite 74 72
684               77:    8(float) Constant 3202351104
685               78:   15(fvec2) ConstantComposite 77 69
686               79:    8(float) Constant 1054867456
687               80:   15(fvec2) ConstantComposite 70 79
688               81:   15(fvec2) ConstantComposite 79 77
689               82:          65 ConstantComposite 68 71 73 75 76 78 80 81
690               84:             TypePointer Function 65
691               89:      6(int) Constant 16
692               91:     18(int) Constant 16
693               92:             TypeArray 15(fvec2) 91
694               93:   15(fvec2) ConstantComposite 66 66
695               94:   15(fvec2) ConstantComposite 69 67
696               95:   15(fvec2) ConstantComposite 67 52
697               96:   15(fvec2) ConstantComposite 32 69
698               97:   15(fvec2) ConstantComposite 74 47
699               98:   15(fvec2) ConstantComposite 52 72
700               99:   15(fvec2) ConstantComposite 72 70
701              100:   15(fvec2) ConstantComposite 70 74
702              101:   15(fvec2) ConstantComposite 47 50
703              102:    8(float) Constant 0
704              103:   15(fvec2) ConstantComposite 102 77
705              104:   15(fvec2) ConstantComposite 34 48
706              105:   15(fvec2) ConstantComposite 48 32
707              106:    8(float) Constant 3204448256
708              107:   15(fvec2) ConstantComposite 106 102
709              108:   15(fvec2) ConstantComposite 79 34
710              109:   15(fvec2) ConstantComposite 50 79
711              110:   15(fvec2) ConstantComposite 77 106
712              111:          92 ConstantComposite 93 94 95 96 97 98 99 100 101 103 104 105 107 108 109 110
713              113:             TypePointer Function 92
714              117:   15(fvec2) ConstantComposite 102 102
715              118:             TypeVector 28(bool) 2
716              129:             TypeImage 8(float) 2D array multi-sampled sampled format:Unknown
717              130:             TypePointer UniformConstant 129
718 131(g_tTex2dmsf4a):    130(ptr) Variable UniformConstant
719              166:             TypePointer Function 10(PS_OUTPUT)
720              168:      6(int) Constant 0
721              169:    8(float) Constant 1065353216
722              170:    9(fvec4) ConstantComposite 169 169 169 169
723              171:             TypePointer Function 9(fvec4)
724              173:      6(int) Constant 1
725              174:             TypePointer Function 8(float)
726              180:             TypePointer Input 6(int)
727      181(sample):    180(ptr) Variable Input
728              187:             TypePointer Output 9(fvec4)
729 188(@entryPointOutput.Color):    187(ptr) Variable Output
730              191:             TypePointer Output 8(float)
731 192(@entryPointOutput.Depth):    191(ptr) Variable Output
732              195:             TypeSampler
733              196:             TypePointer UniformConstant 195
734     197(g_sSamp):    196(ptr) Variable UniformConstant
735          4(main):           2 Function None 3
736                5:             Label
737      179(sample):      7(ptr) Variable Function
738 183(flattenTemp):    166(ptr) Variable Function
739       184(param):      7(ptr) Variable Function
740              182:      6(int) Load 181(sample)
741                               Store 179(sample) 182
742              185:      6(int) Load 179(sample)
743                               Store 184(param) 185
744              186:10(PS_OUTPUT) FunctionCall 13(@main(i1;) 184(param)
745                               Store 183(flattenTemp) 186
746              189:    171(ptr) AccessChain 183(flattenTemp) 168
747              190:    9(fvec4) Load 189
748                               Store 188(@entryPointOutput.Color) 190
749              193:    174(ptr) AccessChain 183(flattenTemp) 173
750              194:    8(float) Load 193
751                               Store 192(@entryPointOutput.Depth) 194
752                               Return
753                               FunctionEnd
754    13(@main(i1;):10(PS_OUTPUT) Function None 11
755       12(sample):      7(ptr) FunctionParameter
756               14:             Label
757          17(r00):     16(ptr) Variable Function
758 20(@sampleCount):     19(ptr) Variable Function
759    39(indexable):     38(ptr) Variable Function
760    58(indexable):     57(ptr) Variable Function
761    85(indexable):     84(ptr) Variable Function
762   114(indexable):    113(ptr) Variable Function
763         127(r01):     16(ptr) Variable Function
764 128(@sampleCount):     19(ptr) Variable Function
765   137(indexable):     38(ptr) Variable Function
766   143(indexable):     57(ptr) Variable Function
767   149(indexable):     84(ptr) Variable Function
768   155(indexable):    113(ptr) Variable Function
769       167(psout):    166(ptr) Variable Function
770               24:          21 Load 23(g_tTex2dmsf4)
771               25:     18(int) ImageQuerySamples 24
772                               Store 20(@sampleCount) 25
773               26:     18(int) Load 20(@sampleCount)
774               29:    28(bool) IEqual 26 27
775               37:      6(int) Load 12(sample)
776                               Store 39(indexable) 36
777               40:     16(ptr) AccessChain 39(indexable) 37
778               41:   15(fvec2) Load 40
779               42:     18(int) Load 20(@sampleCount)
780               44:    28(bool) IEqual 42 43
781               56:      6(int) Load 12(sample)
782                               Store 58(indexable) 55
783               59:     16(ptr) AccessChain 58(indexable) 56
784               60:   15(fvec2) Load 59
785               61:     18(int) Load 20(@sampleCount)
786               63:    28(bool) IEqual 61 62
787               83:      6(int) Load 12(sample)
788                               Store 85(indexable) 82
789               86:     16(ptr) AccessChain 85(indexable) 83
790               87:   15(fvec2) Load 86
791               88:     18(int) Load 20(@sampleCount)
792               90:    28(bool) IEqual 88 89
793              112:      6(int) Load 12(sample)
794                               Store 114(indexable) 111
795              115:     16(ptr) AccessChain 114(indexable) 112
796              116:   15(fvec2) Load 115
797              119:  118(bvec2) CompositeConstruct 90 90
798              120:   15(fvec2) Select 119 116 117
799              121:  118(bvec2) CompositeConstruct 63 63
800              122:   15(fvec2) Select 121 87 120
801              123:  118(bvec2) CompositeConstruct 44 44
802              124:   15(fvec2) Select 123 60 122
803              125:  118(bvec2) CompositeConstruct 29 29
804              126:   15(fvec2) Select 125 41 124
805                               Store 17(r00) 126
806              132:         129 Load 131(g_tTex2dmsf4a)
807              133:     18(int) ImageQuerySamples 132
808                               Store 128(@sampleCount) 133
809              134:     18(int) Load 128(@sampleCount)
810              135:    28(bool) IEqual 134 27
811              136:      6(int) Load 12(sample)
812                               Store 137(indexable) 36
813              138:     16(ptr) AccessChain 137(indexable) 136
814              139:   15(fvec2) Load 138
815              140:     18(int) Load 128(@sampleCount)
816              141:    28(bool) IEqual 140 43
817              142:      6(int) Load 12(sample)
818                               Store 143(indexable) 55
819              144:     16(ptr) AccessChain 143(indexable) 142
820              145:   15(fvec2) Load 144
821              146:     18(int) Load 128(@sampleCount)
822              147:    28(bool) IEqual 146 62
823              148:      6(int) Load 12(sample)
824                               Store 149(indexable) 82
825              150:     16(ptr) AccessChain 149(indexable) 148
826              151:   15(fvec2) Load 150
827              152:     18(int) Load 128(@sampleCount)
828              153:    28(bool) IEqual 152 89
829              154:      6(int) Load 12(sample)
830                               Store 155(indexable) 111
831              156:     16(ptr) AccessChain 155(indexable) 154
832              157:   15(fvec2) Load 156
833              158:  118(bvec2) CompositeConstruct 153 153
834              159:   15(fvec2) Select 158 157 117
835              160:  118(bvec2) CompositeConstruct 147 147
836              161:   15(fvec2) Select 160 151 159
837              162:  118(bvec2) CompositeConstruct 141 141
838              163:   15(fvec2) Select 162 145 161
839              164:  118(bvec2) CompositeConstruct 135 135
840              165:   15(fvec2) Select 164 139 163
841                               Store 127(r01) 165
842              172:    171(ptr) AccessChain 167(psout) 168
843                               Store 172 170
844              175:    174(ptr) AccessChain 167(psout) 173
845                               Store 175 169
846              176:10(PS_OUTPUT) Load 167(psout)
847                               ReturnValue 176
848                               FunctionEnd