xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/hlsl.numericsuffixes.frag.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1hlsl.numericsuffixes.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:8  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
60:8    Function Parameters:
70:?     Sequence
80:10      Sequence
90:10        move second child to first child ( temp float)
100:10          'r00' ( temp float)
110:10          Constant:
120:10            1.000000
130:11      Sequence
140:11        move second child to first child ( temp uint)
150:11          'r01' ( temp uint)
160:11          Constant:
170:11            1 (const uint)
180:12      Sequence
190:12        move second child to first child ( temp uint)
200:12          'r02' ( temp uint)
210:12          Constant:
220:12            2 (const uint)
230:13      Sequence
240:13        move second child to first child ( temp uint)
250:13          'r03' ( temp uint)
260:13          Constant:
270:13            2748 (const uint)
280:14      Sequence
290:14        move second child to first child ( temp uint)
300:14          'r04' ( temp uint)
310:14          Constant:
320:14            2748 (const uint)
330:15      Sequence
340:15        move second child to first child ( temp int)
350:15          'r05' ( temp int)
360:15          Constant:
370:15            5 (const int)
380:16      Sequence
390:16        move second child to first child ( temp int)
400:16          'r06' ( temp int)
410:16          Constant:
420:16            6 (const int)
430:17      Sequence
440:17        move second child to first child ( temp int)
450:17          'r07' ( temp int)
460:17          Constant:
470:17            57 (const int)
480:18      Sequence
490:18        move second child to first child ( temp uint)
500:18          'r08' ( temp uint)
510:18          Constant:
520:18            58 (const uint)
530:19      Sequence
540:19        move second child to first child ( temp float)
550:19          'r09' ( temp float)
560:19          Constant:
570:19            1.000000
580:20      Sequence
590:20        move second child to first child ( temp float)
600:20          'r10' ( temp float)
610:20          Constant:
620:20            1.000000
630:21      Sequence
640:21        move second child to first child ( temp float)
650:21          'r11' ( temp float)
660:21          Constant:
670:21            1.100000
680:22      Sequence
690:22        move second child to first child ( temp float)
700:22          'r12' ( temp float)
710:22          Constant:
720:22            1.100000
730:23      Sequence
740:23        move second child to first child ( temp uint)
750:23          'r13' ( temp uint)
760:23          Constant:
770:23            1 (const uint)
780:24      Sequence
790:24        move second child to first child ( temp uint)
800:24          'r14' ( temp uint)
810:24          Constant:
820:24            2 (const uint)
830:25      Sequence
840:25        move second child to first child ( temp int)
850:25          'r15' ( temp int)
860:25          Constant:
870:25            3 (const int)
880:26      Sequence
890:26        move second child to first child ( temp int)
900:26          'r16' ( temp int)
910:26          Constant:
920:26            4 (const int)
930:27      Sequence
940:27        move second child to first child ( temp uint)
950:27          'r17' ( temp uint)
960:27          Constant:
970:27            1 (const uint)
980:28      Sequence
990:28        move second child to first child ( temp int)
1000:28          'r18' ( temp int)
1010:28          Constant:
1020:28            3 (const int)
1030:31      move second child to first child ( temp 4-component vector of float)
1040:31        color: direct index for structure ( temp 4-component vector of float)
1050:31          'ps_output' ( temp structure{ temp 4-component vector of float color})
1060:31          Constant:
1070:31            0 (const int)
1080:31        Construct vec4 ( temp 4-component vector of float)
1090:31          Convert int to float ( temp float)
1100:31            'r07' ( temp int)
1110:32      Branch: Return with expression
1120:32        'ps_output' ( temp structure{ temp 4-component vector of float color})
1130:8  Function Definition: main( ( temp void)
1140:8    Function Parameters:
1150:?     Sequence
1160:8      Sequence
1170:8        move second child to first child ( temp 4-component vector of float)
1180:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
1190:8          color: direct index for structure ( temp 4-component vector of float)
1200:8            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
1210:8            Constant:
1220:8              0 (const int)
1230:?   Linker Objects
1240:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
125
126
127Linked fragment stage:
128
129
130Shader version: 500
131gl_FragCoord origin is upper left
1320:? Sequence
1330:8  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
1340:8    Function Parameters:
1350:?     Sequence
1360:10      Sequence
1370:10        move second child to first child ( temp float)
1380:10          'r00' ( temp float)
1390:10          Constant:
1400:10            1.000000
1410:11      Sequence
1420:11        move second child to first child ( temp uint)
1430:11          'r01' ( temp uint)
1440:11          Constant:
1450:11            1 (const uint)
1460:12      Sequence
1470:12        move second child to first child ( temp uint)
1480:12          'r02' ( temp uint)
1490:12          Constant:
1500:12            2 (const uint)
1510:13      Sequence
1520:13        move second child to first child ( temp uint)
1530:13          'r03' ( temp uint)
1540:13          Constant:
1550:13            2748 (const uint)
1560:14      Sequence
1570:14        move second child to first child ( temp uint)
1580:14          'r04' ( temp uint)
1590:14          Constant:
1600:14            2748 (const uint)
1610:15      Sequence
1620:15        move second child to first child ( temp int)
1630:15          'r05' ( temp int)
1640:15          Constant:
1650:15            5 (const int)
1660:16      Sequence
1670:16        move second child to first child ( temp int)
1680:16          'r06' ( temp int)
1690:16          Constant:
1700:16            6 (const int)
1710:17      Sequence
1720:17        move second child to first child ( temp int)
1730:17          'r07' ( temp int)
1740:17          Constant:
1750:17            57 (const int)
1760:18      Sequence
1770:18        move second child to first child ( temp uint)
1780:18          'r08' ( temp uint)
1790:18          Constant:
1800:18            58 (const uint)
1810:19      Sequence
1820:19        move second child to first child ( temp float)
1830:19          'r09' ( temp float)
1840:19          Constant:
1850:19            1.000000
1860:20      Sequence
1870:20        move second child to first child ( temp float)
1880:20          'r10' ( temp float)
1890:20          Constant:
1900:20            1.000000
1910:21      Sequence
1920:21        move second child to first child ( temp float)
1930:21          'r11' ( temp float)
1940:21          Constant:
1950:21            1.100000
1960:22      Sequence
1970:22        move second child to first child ( temp float)
1980:22          'r12' ( temp float)
1990:22          Constant:
2000:22            1.100000
2010:23      Sequence
2020:23        move second child to first child ( temp uint)
2030:23          'r13' ( temp uint)
2040:23          Constant:
2050:23            1 (const uint)
2060:24      Sequence
2070:24        move second child to first child ( temp uint)
2080:24          'r14' ( temp uint)
2090:24          Constant:
2100:24            2 (const uint)
2110:25      Sequence
2120:25        move second child to first child ( temp int)
2130:25          'r15' ( temp int)
2140:25          Constant:
2150:25            3 (const int)
2160:26      Sequence
2170:26        move second child to first child ( temp int)
2180:26          'r16' ( temp int)
2190:26          Constant:
2200:26            4 (const int)
2210:27      Sequence
2220:27        move second child to first child ( temp uint)
2230:27          'r17' ( temp uint)
2240:27          Constant:
2250:27            1 (const uint)
2260:28      Sequence
2270:28        move second child to first child ( temp int)
2280:28          'r18' ( temp int)
2290:28          Constant:
2300:28            3 (const int)
2310:31      move second child to first child ( temp 4-component vector of float)
2320:31        color: direct index for structure ( temp 4-component vector of float)
2330:31          'ps_output' ( temp structure{ temp 4-component vector of float color})
2340:31          Constant:
2350:31            0 (const int)
2360:31        Construct vec4 ( temp 4-component vector of float)
2370:31          Convert int to float ( temp float)
2380:31            'r07' ( temp int)
2390:32      Branch: Return with expression
2400:32        'ps_output' ( temp structure{ temp 4-component vector of float color})
2410:8  Function Definition: main( ( temp void)
2420:8    Function Parameters:
2430:?     Sequence
2440:8      Sequence
2450:8        move second child to first child ( temp 4-component vector of float)
2460:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
2470:8          color: direct index for structure ( temp 4-component vector of float)
2480:8            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
2490:8            Constant:
2500:8              0 (const int)
2510:?   Linker Objects
2520:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
253
254// Module Version 10000
255// Generated by (magic number): 8000b
256// Id's are bound by 62
257
258                              Capability Shader
259               1:             ExtInstImport  "GLSL.std.450"
260                              MemoryModel Logical GLSL450
261                              EntryPoint Fragment 4  "main" 59
262                              ExecutionMode 4 OriginUpperLeft
263                              Source HLSL 500
264                              Name 4  "main"
265                              Name 8  "PS_OUTPUT"
266                              MemberName 8(PS_OUTPUT) 0  "color"
267                              Name 10  "@main("
268                              Name 13  "r00"
269                              Name 17  "r01"
270                              Name 19  "r02"
271                              Name 21  "r03"
272                              Name 23  "r04"
273                              Name 26  "r05"
274                              Name 28  "r06"
275                              Name 30  "r07"
276                              Name 32  "r08"
277                              Name 34  "r09"
278                              Name 35  "r10"
279                              Name 36  "r11"
280                              Name 38  "r12"
281                              Name 39  "r13"
282                              Name 40  "r14"
283                              Name 41  "r15"
284                              Name 43  "r16"
285                              Name 45  "r17"
286                              Name 46  "r18"
287                              Name 48  "ps_output"
288                              Name 59  "@entryPointOutput.color"
289                              Decorate 59(@entryPointOutput.color) Location 0
290               2:             TypeVoid
291               3:             TypeFunction 2
292               6:             TypeFloat 32
293               7:             TypeVector 6(float) 4
294    8(PS_OUTPUT):             TypeStruct 7(fvec4)
295               9:             TypeFunction 8(PS_OUTPUT)
296              12:             TypePointer Function 6(float)
297              14:    6(float) Constant 1065353216
298              15:             TypeInt 32 0
299              16:             TypePointer Function 15(int)
300              18:     15(int) Constant 1
301              20:     15(int) Constant 2
302              22:     15(int) Constant 2748
303              24:             TypeInt 32 1
304              25:             TypePointer Function 24(int)
305              27:     24(int) Constant 5
306              29:     24(int) Constant 6
307              31:     24(int) Constant 57
308              33:     15(int) Constant 58
309              37:    6(float) Constant 1066192077
310              42:     24(int) Constant 3
311              44:     24(int) Constant 4
312              47:             TypePointer Function 8(PS_OUTPUT)
313              49:     24(int) Constant 0
314              53:             TypePointer Function 7(fvec4)
315              58:             TypePointer Output 7(fvec4)
31659(@entryPointOutput.color):     58(ptr) Variable Output
317         4(main):           2 Function None 3
318               5:             Label
319              60:8(PS_OUTPUT) FunctionCall 10(@main()
320              61:    7(fvec4) CompositeExtract 60 0
321                              Store 59(@entryPointOutput.color) 61
322                              Return
323                              FunctionEnd
324      10(@main():8(PS_OUTPUT) Function None 9
325              11:             Label
326         13(r00):     12(ptr) Variable Function
327         17(r01):     16(ptr) Variable Function
328         19(r02):     16(ptr) Variable Function
329         21(r03):     16(ptr) Variable Function
330         23(r04):     16(ptr) Variable Function
331         26(r05):     25(ptr) Variable Function
332         28(r06):     25(ptr) Variable Function
333         30(r07):     25(ptr) Variable Function
334         32(r08):     16(ptr) Variable Function
335         34(r09):     12(ptr) Variable Function
336         35(r10):     12(ptr) Variable Function
337         36(r11):     12(ptr) Variable Function
338         38(r12):     12(ptr) Variable Function
339         39(r13):     16(ptr) Variable Function
340         40(r14):     16(ptr) Variable Function
341         41(r15):     25(ptr) Variable Function
342         43(r16):     25(ptr) Variable Function
343         45(r17):     16(ptr) Variable Function
344         46(r18):     25(ptr) Variable Function
345   48(ps_output):     47(ptr) Variable Function
346                              Store 13(r00) 14
347                              Store 17(r01) 18
348                              Store 19(r02) 20
349                              Store 21(r03) 22
350                              Store 23(r04) 22
351                              Store 26(r05) 27
352                              Store 28(r06) 29
353                              Store 30(r07) 31
354                              Store 32(r08) 33
355                              Store 34(r09) 14
356                              Store 35(r10) 14
357                              Store 36(r11) 37
358                              Store 38(r12) 37
359                              Store 39(r13) 18
360                              Store 40(r14) 20
361                              Store 41(r15) 42
362                              Store 43(r16) 44
363                              Store 45(r17) 18
364                              Store 46(r18) 42
365              50:     24(int) Load 30(r07)
366              51:    6(float) ConvertSToF 50
367              52:    7(fvec4) CompositeConstruct 51 51 51 51
368              54:     53(ptr) AccessChain 48(ps_output) 49
369                              Store 54 52
370              55:8(PS_OUTPUT) Load 48(ps_output)
371                              ReturnValue 55
372                              FunctionEnd
373