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