xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/hlsl.shapeConv.frag.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1hlsl.shapeConv.frag
2Shader version: 500
3gl_FragCoord origin is upper left
40:? Sequence
50:2  Function Definition: PixelShaderFunction(vf4;f1; ( temp 4-component vector of float)
60:2    Function Parameters:
70:2      'input' ( in 4-component vector of float)
80:2      'f' ( in float)
90:?     Sequence
100:4      move second child to first child ( temp 4-component vector of float)
110:4        'v' ( temp 4-component vector of float)
120:4        Constant:
130:4          1.000000
140:4          1.000000
150:4          1.000000
160:4          1.000000
170:5      move second child to first child ( temp 4-component vector of float)
180:5        'v' ( temp 4-component vector of float)
190:5        Constant:
200:5          2.000000
210:5          2.000000
220:5          2.000000
230:5          2.000000
240:6      move second child to first child ( temp 4-component vector of float)
250:6        'v' ( temp 4-component vector of float)
260:6        Construct vec4 ( temp 4-component vector of float)
270:6          'f' ( in float)
280:8      move second child to first child ( temp 3-component vector of float)
290:8        'u' ( temp 3-component vector of float)
300:8        Constant:
310:8          1.000000
320:8          1.000000
330:8          1.000000
340:9      move second child to first child ( temp 3-component vector of float)
350:9        'u' ( temp 3-component vector of float)
360:9        Constant:
370:9          2.000000
380:9          2.000000
390:9          2.000000
400:10      move second child to first child ( temp 3-component vector of float)
410:10        'u' ( temp 3-component vector of float)
420:10        Construct vec3 ( temp 3-component vector of float)
430:10          'f' ( in float)
440:11      Sequence
450:11        move second child to first child ( temp 2-component vector of float)
460:11          'w' ( temp 2-component vector of float)
470:11          Constant:
480:11            2.000000
490:11            2.000000
500:12      Sequence
510:12        move second child to first child ( temp float)
520:12          'V' ( temp float)
530:12          Constant:
540:12            1.000000
550:13      Sequence
560:13        move second child to first child ( temp 3-component vector of float)
570:13          'MyVal' ( temp 3-component vector of float)
580:13          Construct vec3 ( temp 3-component vector of float)
590:13            'V' ( temp float)
600:16      Compare Greater Than ( temp 3-component vector of bool)
610:16        'foo' ( temp 3-component vector of float)
620:16        Constant:
630:16          4.000000
640:16          4.000000
650:16          4.000000
660:17      Compare Greater Than or Equal ( temp 3-component vector of bool)
670:17        'foo' ( temp 3-component vector of float)
680:17        Constant:
690:17          5.000000
700:17          5.000000
710:17          5.000000
720:18      Compare Less Than ( temp 3-component vector of bool)
730:18        Constant:
740:18          6.000000
750:18          6.000000
760:18          6.000000
770:18        'foo' ( temp 3-component vector of float)
780:19      Compare Less Than or Equal ( temp 3-component vector of bool)
790:19        Constant:
800:19          7.000000
810:19          7.000000
820:19          7.000000
830:19        'foo' ( temp 3-component vector of float)
840:21      all ( temp bool)
850:21        Equal ( temp 4-component vector of bool)
860:21          Construct vec4 ( temp 4-component vector of float)
870:21            direct index ( temp float)
880:21              'v' ( temp 4-component vector of float)
890:21              Constant:
900:21                0 (const int)
910:21          'v' ( temp 4-component vector of float)
920:22      any ( temp bool)
930:22        NotEqual ( temp 4-component vector of bool)
940:22          Construct vec4 ( temp 4-component vector of float)
950:22            'f' ( in float)
960:22          'v' ( temp 4-component vector of float)
970:26      Equal ( temp 4-component vector of bool)
980:26        Construct vec4 ( temp 4-component vector of float)
990:26          'f1' ( temp 1-component vector of float)
1000:26        'v' ( temp 4-component vector of float)
1010:27      Compare Less Than ( temp 4-component vector of bool)
1020:27        'v' ( temp 4-component vector of float)
1030:27        Construct vec4 ( temp 4-component vector of float)
1040:27          'f1' ( temp 1-component vector of float)
1050:28      direct index ( temp float)
1060:28        'f1' ( temp 1-component vector of float)
1070:28        Constant:
1080:28          0 (const int)
1090:29      Construct vec3 ( temp 3-component vector of float)
1100:29        Construct float ( temp float)
1110:29          'f1' ( temp 1-component vector of float)
1120:36      right-shift ( temp 3-component vector of uint)
1130:36        Construct uvec3 ( temp 3-component vector of uint)
1140:36          'ui' ( temp uint)
1150:36        'ui3' ( temp 3-component vector of uint)
1160:37      right-shift ( temp 3-component vector of uint)
1170:37        'ui3' ( temp 3-component vector of uint)
1180:37        'ui' ( temp uint)
1190:39      multiply second child into first child ( temp 4-component vector of float)
1200:39        'v' ( temp 4-component vector of float)
1210:39        'f1' ( temp 1-component vector of float)
1220:40      multiply second child into first child ( temp 1-component vector of float)
1230:40        'f1' ( temp 1-component vector of float)
1240:40        Construct float ( temp 1-component vector of float)
1250:40          'v' ( temp 4-component vector of float)
1260:42      Sequence
1270:42        move second child to first child ( temp 3-component vector of float)
1280:42          'mixed' ( temp 3-component vector of float)
1290:42          component-wise multiply ( temp 3-component vector of float)
1300:42            'u' ( temp 3-component vector of float)
1310:42            Construct vec3 ( temp 3-component vector of float)
1320:42              'v' ( temp 4-component vector of float)
1330:43      move second child to first child ( temp float)
1340:43        'f' ( in float)
1350:43        Construct float ( in float)
1360:43          'u' ( temp 3-component vector of float)
1370:44      move second child to first child ( temp 1-component vector of float)
1380:44        'f1' ( temp 1-component vector of float)
1390:44        Construct float ( temp 1-component vector of float)
1400:44          'u' ( temp 3-component vector of float)
1410:45      Sequence
1420:45        move second child to first child ( temp float)
1430:45          'sf' ( temp float)
1440:45          Construct float ( temp float)
1450:45            'v' ( temp 4-component vector of float)
1460:46      Sequence
1470:46        move second child to first child ( temp 1-component vector of float)
1480:46          'sf1' ( temp 1-component vector of float)
1490:46          Construct float ( temp 1-component vector of float)
1500:46            'v' ( temp 4-component vector of float)
1510:48      Branch: Return with expression
1520:48        component-wise multiply ( temp 4-component vector of float)
1530:48          'input' ( in 4-component vector of float)
1540:48          Constant:
1550:48            3.000000
1560:48            3.000000
1570:48            3.000000
1580:48            3.000000
1590:?   Linker Objects
160
161
162Linked fragment stage:
163
164WARNING: Linking fragment stage: Entry point not found
165
166Shader version: 500
167gl_FragCoord origin is upper left
1680:? Sequence
1690:2  Function Definition: PixelShaderFunction(vf4;f1; ( temp 4-component vector of float)
1700:2    Function Parameters:
1710:2      'input' ( in 4-component vector of float)
1720:2      'f' ( in float)
1730:?     Sequence
1740:4      move second child to first child ( temp 4-component vector of float)
1750:4        'v' ( temp 4-component vector of float)
1760:4        Constant:
1770:4          1.000000
1780:4          1.000000
1790:4          1.000000
1800:4          1.000000
1810:5      move second child to first child ( temp 4-component vector of float)
1820:5        'v' ( temp 4-component vector of float)
1830:5        Constant:
1840:5          2.000000
1850:5          2.000000
1860:5          2.000000
1870:5          2.000000
1880:6      move second child to first child ( temp 4-component vector of float)
1890:6        'v' ( temp 4-component vector of float)
1900:6        Construct vec4 ( temp 4-component vector of float)
1910:6          'f' ( in float)
1920:8      move second child to first child ( temp 3-component vector of float)
1930:8        'u' ( temp 3-component vector of float)
1940:8        Constant:
1950:8          1.000000
1960:8          1.000000
1970:8          1.000000
1980:9      move second child to first child ( temp 3-component vector of float)
1990:9        'u' ( temp 3-component vector of float)
2000:9        Constant:
2010:9          2.000000
2020:9          2.000000
2030:9          2.000000
2040:10      move second child to first child ( temp 3-component vector of float)
2050:10        'u' ( temp 3-component vector of float)
2060:10        Construct vec3 ( temp 3-component vector of float)
2070:10          'f' ( in float)
2080:11      Sequence
2090:11        move second child to first child ( temp 2-component vector of float)
2100:11          'w' ( temp 2-component vector of float)
2110:11          Constant:
2120:11            2.000000
2130:11            2.000000
2140:12      Sequence
2150:12        move second child to first child ( temp float)
2160:12          'V' ( temp float)
2170:12          Constant:
2180:12            1.000000
2190:13      Sequence
2200:13        move second child to first child ( temp 3-component vector of float)
2210:13          'MyVal' ( temp 3-component vector of float)
2220:13          Construct vec3 ( temp 3-component vector of float)
2230:13            'V' ( temp float)
2240:16      Compare Greater Than ( temp 3-component vector of bool)
2250:16        'foo' ( temp 3-component vector of float)
2260:16        Constant:
2270:16          4.000000
2280:16          4.000000
2290:16          4.000000
2300:17      Compare Greater Than or Equal ( temp 3-component vector of bool)
2310:17        'foo' ( temp 3-component vector of float)
2320:17        Constant:
2330:17          5.000000
2340:17          5.000000
2350:17          5.000000
2360:18      Compare Less Than ( temp 3-component vector of bool)
2370:18        Constant:
2380:18          6.000000
2390:18          6.000000
2400:18          6.000000
2410:18        'foo' ( temp 3-component vector of float)
2420:19      Compare Less Than or Equal ( temp 3-component vector of bool)
2430:19        Constant:
2440:19          7.000000
2450:19          7.000000
2460:19          7.000000
2470:19        'foo' ( temp 3-component vector of float)
2480:21      all ( temp bool)
2490:21        Equal ( temp 4-component vector of bool)
2500:21          Construct vec4 ( temp 4-component vector of float)
2510:21            direct index ( temp float)
2520:21              'v' ( temp 4-component vector of float)
2530:21              Constant:
2540:21                0 (const int)
2550:21          'v' ( temp 4-component vector of float)
2560:22      any ( temp bool)
2570:22        NotEqual ( temp 4-component vector of bool)
2580:22          Construct vec4 ( temp 4-component vector of float)
2590:22            'f' ( in float)
2600:22          'v' ( temp 4-component vector of float)
2610:26      Equal ( temp 4-component vector of bool)
2620:26        Construct vec4 ( temp 4-component vector of float)
2630:26          'f1' ( temp 1-component vector of float)
2640:26        'v' ( temp 4-component vector of float)
2650:27      Compare Less Than ( temp 4-component vector of bool)
2660:27        'v' ( temp 4-component vector of float)
2670:27        Construct vec4 ( temp 4-component vector of float)
2680:27          'f1' ( temp 1-component vector of float)
2690:28      direct index ( temp float)
2700:28        'f1' ( temp 1-component vector of float)
2710:28        Constant:
2720:28          0 (const int)
2730:29      Construct vec3 ( temp 3-component vector of float)
2740:29        Construct float ( temp float)
2750:29          'f1' ( temp 1-component vector of float)
2760:36      right-shift ( temp 3-component vector of uint)
2770:36        Construct uvec3 ( temp 3-component vector of uint)
2780:36          'ui' ( temp uint)
2790:36        'ui3' ( temp 3-component vector of uint)
2800:37      right-shift ( temp 3-component vector of uint)
2810:37        'ui3' ( temp 3-component vector of uint)
2820:37        'ui' ( temp uint)
2830:39      multiply second child into first child ( temp 4-component vector of float)
2840:39        'v' ( temp 4-component vector of float)
2850:39        'f1' ( temp 1-component vector of float)
2860:40      multiply second child into first child ( temp 1-component vector of float)
2870:40        'f1' ( temp 1-component vector of float)
2880:40        Construct float ( temp 1-component vector of float)
2890:40          'v' ( temp 4-component vector of float)
2900:42      Sequence
2910:42        move second child to first child ( temp 3-component vector of float)
2920:42          'mixed' ( temp 3-component vector of float)
2930:42          component-wise multiply ( temp 3-component vector of float)
2940:42            'u' ( temp 3-component vector of float)
2950:42            Construct vec3 ( temp 3-component vector of float)
2960:42              'v' ( temp 4-component vector of float)
2970:43      move second child to first child ( temp float)
2980:43        'f' ( in float)
2990:43        Construct float ( in float)
3000:43          'u' ( temp 3-component vector of float)
3010:44      move second child to first child ( temp 1-component vector of float)
3020:44        'f1' ( temp 1-component vector of float)
3030:44        Construct float ( temp 1-component vector of float)
3040:44          'u' ( temp 3-component vector of float)
3050:45      Sequence
3060:45        move second child to first child ( temp float)
3070:45          'sf' ( temp float)
3080:45          Construct float ( temp float)
3090:45            'v' ( temp 4-component vector of float)
3100:46      Sequence
3110:46        move second child to first child ( temp 1-component vector of float)
3120:46          'sf1' ( temp 1-component vector of float)
3130:46          Construct float ( temp 1-component vector of float)
3140:46            'v' ( temp 4-component vector of float)
3150:48      Branch: Return with expression
3160:48        component-wise multiply ( temp 4-component vector of float)
3170:48          'input' ( in 4-component vector of float)
3180:48          Constant:
3190:48            3.000000
3200:48            3.000000
3210:48            3.000000
3220:48            3.000000
3230:?   Linker Objects
324
325// Module Version 10000
326// Generated by (magic number): 8000b
327// Id's are bound by 126
328
329                              Capability Shader
330               1:             ExtInstImport  "GLSL.std.450"
331                              MemoryModel Logical GLSL450
332                              EntryPoint Fragment 4  "main"
333                              ExecutionMode 4 OriginUpperLeft
334                              Source HLSL 500
335                              Name 4  "main"
336                              Name 13  "PixelShaderFunction(vf4;f1;"
337                              Name 11  "input"
338                              Name 12  "f"
339                              Name 15  "v"
340                              Name 24  "u"
341                              Name 31  "w"
342                              Name 33  "V"
343                              Name 34  "MyVal"
344                              Name 37  "foo"
345                              Name 70  "f1"
346                              Name 82  "ui"
347                              Name 87  "ui3"
348                              Name 102  "mixed"
349                              Name 114  "sf"
350                              Name 117  "sf1"
351               2:             TypeVoid
352               3:             TypeFunction 2
353               6:             TypeFloat 32
354               7:             TypeVector 6(float) 4
355               8:             TypePointer Function 7(fvec4)
356               9:             TypePointer Function 6(float)
357              10:             TypeFunction 7(fvec4) 8(ptr) 9(ptr)
358              16:    6(float) Constant 1065353216
359              17:    7(fvec4) ConstantComposite 16 16 16 16
360              18:    6(float) Constant 1073741824
361              19:    7(fvec4) ConstantComposite 18 18 18 18
362              22:             TypeVector 6(float) 3
363              23:             TypePointer Function 22(fvec3)
364              25:   22(fvec3) ConstantComposite 16 16 16
365              26:   22(fvec3) ConstantComposite 18 18 18
366              29:             TypeVector 6(float) 2
367              30:             TypePointer Function 29(fvec2)
368              32:   29(fvec2) ConstantComposite 18 18
369              39:    6(float) Constant 1082130432
370              40:   22(fvec3) ConstantComposite 39 39 39
371              41:             TypeBool
372              42:             TypeVector 41(bool) 3
373              45:    6(float) Constant 1084227584
374              46:   22(fvec3) ConstantComposite 45 45 45
375              48:    6(float) Constant 1086324736
376              49:   22(fvec3) ConstantComposite 48 48 48
377              52:    6(float) Constant 1088421888
378              53:   22(fvec3) ConstantComposite 52 52 52
379              56:             TypeInt 32 0
380              57:     56(int) Constant 0
381              62:             TypeVector 41(bool) 4
382              81:             TypePointer Function 56(int)
383              84:             TypeVector 56(int) 3
384              86:             TypePointer Function 84(ivec3)
385             121:    6(float) Constant 1077936128
386             122:    7(fvec4) ConstantComposite 121 121 121 121
387         4(main):           2 Function None 3
388               5:             Label
389                              Return
390                              FunctionEnd
39113(PixelShaderFunction(vf4;f1;):    7(fvec4) Function None 10
392       11(input):      8(ptr) FunctionParameter
393           12(f):      9(ptr) FunctionParameter
394              14:             Label
395           15(v):      8(ptr) Variable Function
396           24(u):     23(ptr) Variable Function
397           31(w):     30(ptr) Variable Function
398           33(V):      9(ptr) Variable Function
399       34(MyVal):     23(ptr) Variable Function
400         37(foo):     23(ptr) Variable Function
401          70(f1):      9(ptr) Variable Function
402          82(ui):     81(ptr) Variable Function
403         87(ui3):     86(ptr) Variable Function
404      102(mixed):     23(ptr) Variable Function
405         114(sf):      9(ptr) Variable Function
406        117(sf1):      9(ptr) Variable Function
407                              Store 15(v) 17
408                              Store 15(v) 19
409              20:    6(float) Load 12(f)
410              21:    7(fvec4) CompositeConstruct 20 20 20 20
411                              Store 15(v) 21
412                              Store 24(u) 25
413                              Store 24(u) 26
414              27:    6(float) Load 12(f)
415              28:   22(fvec3) CompositeConstruct 27 27 27
416                              Store 24(u) 28
417                              Store 31(w) 32
418                              Store 33(V) 16
419              35:    6(float) Load 33(V)
420              36:   22(fvec3) CompositeConstruct 35 35 35
421                              Store 34(MyVal) 36
422              38:   22(fvec3) Load 37(foo)
423              43:   42(bvec3) FOrdGreaterThan 38 40
424              44:   22(fvec3) Load 37(foo)
425              47:   42(bvec3) FOrdGreaterThanEqual 44 46
426              50:   22(fvec3) Load 37(foo)
427              51:   42(bvec3) FOrdLessThan 49 50
428              54:   22(fvec3) Load 37(foo)
429              55:   42(bvec3) FOrdLessThanEqual 53 54
430              58:      9(ptr) AccessChain 15(v) 57
431              59:    6(float) Load 58
432              60:    7(fvec4) CompositeConstruct 59 59 59 59
433              61:    7(fvec4) Load 15(v)
434              63:   62(bvec4) FOrdEqual 60 61
435              64:    41(bool) All 63
436              65:    6(float) Load 12(f)
437              66:    7(fvec4) CompositeConstruct 65 65 65 65
438              67:    7(fvec4) Load 15(v)
439              68:   62(bvec4) FUnordNotEqual 66 67
440              69:    41(bool) Any 68
441              71:    6(float) Load 70(f1)
442              72:    7(fvec4) CompositeConstruct 71 71 71 71
443              73:    7(fvec4) Load 15(v)
444              74:   62(bvec4) FOrdEqual 72 73
445              75:    7(fvec4) Load 15(v)
446              76:    6(float) Load 70(f1)
447              77:    7(fvec4) CompositeConstruct 76 76 76 76
448              78:   62(bvec4) FOrdLessThan 75 77
449              79:    6(float) Load 70(f1)
450              80:   22(fvec3) CompositeConstruct 79 79 79
451              83:     56(int) Load 82(ui)
452              85:   84(ivec3) CompositeConstruct 83 83 83
453              88:   84(ivec3) Load 87(ui3)
454              89:   84(ivec3) ShiftRightLogical 85 88
455              90:   84(ivec3) Load 87(ui3)
456              91:     56(int) Load 82(ui)
457              92:   84(ivec3) CompositeConstruct 91 91 91
458              93:   84(ivec3) ShiftRightLogical 90 92
459              94:    6(float) Load 70(f1)
460              95:    7(fvec4) Load 15(v)
461              96:    7(fvec4) CompositeConstruct 94 94 94 94
462              97:    7(fvec4) FMul 95 96
463                              Store 15(v) 97
464              98:    7(fvec4) Load 15(v)
465              99:    6(float) CompositeExtract 98 0
466             100:    6(float) Load 70(f1)
467             101:    6(float) FMul 100 99
468                              Store 70(f1) 101
469             103:   22(fvec3) Load 24(u)
470             104:    7(fvec4) Load 15(v)
471             105:    6(float) CompositeExtract 104 0
472             106:    6(float) CompositeExtract 104 1
473             107:    6(float) CompositeExtract 104 2
474             108:   22(fvec3) CompositeConstruct 105 106 107
475             109:   22(fvec3) FMul 103 108
476                              Store 102(mixed) 109
477             110:   22(fvec3) Load 24(u)
478             111:    6(float) CompositeExtract 110 0
479                              Store 12(f) 111
480             112:   22(fvec3) Load 24(u)
481             113:    6(float) CompositeExtract 112 0
482                              Store 70(f1) 113
483             115:    7(fvec4) Load 15(v)
484             116:    6(float) CompositeExtract 115 0
485                              Store 114(sf) 116
486             118:    7(fvec4) Load 15(v)
487             119:    6(float) CompositeExtract 118 0
488                              Store 117(sf1) 119
489             120:    7(fvec4) Load 11(input)
490             123:    7(fvec4) FMul 120 122
491                              ReturnValue 123
492                              FunctionEnd
493