Home | History | Annotate | Download | only in baseResults
      1 hlsl.intrinsics.evalfns.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:3  Function Definition: @main(f1;vf2;vf3;vf4;vi2; ( temp void)
      6 0:3    Function Parameters: 
      7 0:3      'inF1' ( in float)
      8 0:3      'inF2' ( in 2-component vector of float)
      9 0:3      'inF3' ( in 3-component vector of float)
     10 0:3      'inF4' ( in 4-component vector of float)
     11 0:3      'inI2' ( in 2-component vector of int)
     12 0:?     Sequence
     13 0:4      interpolateAtOffset ( temp float)
     14 0:4        'inF1' ( in float)
     15 0:?         Constant:
     16 0:?           -0.500000
     17 0:?           -0.062500
     18 0:5      interpolateAtOffset ( temp 2-component vector of float)
     19 0:5        'inF2' ( in 2-component vector of float)
     20 0:?         Constant:
     21 0:?           0.000000
     22 0:?           0.062500
     23 0:6      interpolateAtOffset ( temp 3-component vector of float)
     24 0:6        'inF3' ( in 3-component vector of float)
     25 0:?         Constant:
     26 0:?           0.187500
     27 0:?           -0.375000
     28 0:7      interpolateAtOffset ( temp 4-component vector of float)
     29 0:7        'inF4' ( in 4-component vector of float)
     30 0:?         Constant:
     31 0:?           0.437500
     32 0:?           -0.500000
     33 0:9      interpolateAtOffset ( temp float)
     34 0:9        'inF1' ( in float)
     35 0:9        vector-scale ( temp 2-component vector of float)
     36 0:9          Convert int to float ( temp 2-component vector of float)
     37 0:9            right-shift ( temp 2-component vector of int)
     38 0:9              left-shift ( temp 2-component vector of int)
     39 0:9                'inI2' ( in 2-component vector of int)
     40 0:9                Constant:
     41 0:9                  28 (const int)
     42 0:9              Constant:
     43 0:9                28 (const int)
     44 0:9          Constant:
     45 0:9            0.062500
     46 0:3  Function Definition: main( ( temp void)
     47 0:3    Function Parameters: 
     48 0:?     Sequence
     49 0:3      move second child to first child ( temp float)
     50 0:?         'inF1' ( temp float)
     51 0:?         'inF1' (layout( location=0) in float)
     52 0:3      move second child to first child ( temp 2-component vector of float)
     53 0:?         'inF2' ( temp 2-component vector of float)
     54 0:?         'inF2' (layout( location=1) in 2-component vector of float)
     55 0:3      move second child to first child ( temp 3-component vector of float)
     56 0:?         'inF3' ( temp 3-component vector of float)
     57 0:?         'inF3' (layout( location=2) in 3-component vector of float)
     58 0:3      move second child to first child ( temp 4-component vector of float)
     59 0:?         'inF4' ( temp 4-component vector of float)
     60 0:?         'inF4' (layout( location=3) in 4-component vector of float)
     61 0:3      move second child to first child ( temp 2-component vector of int)
     62 0:?         'inI2' ( temp 2-component vector of int)
     63 0:?         'inI2' (layout( location=4) flat in 2-component vector of int)
     64 0:3      Function Call: @main(f1;vf2;vf3;vf4;vi2; ( temp void)
     65 0:?         'inF1' ( temp float)
     66 0:?         'inF2' ( temp 2-component vector of float)
     67 0:?         'inF3' ( temp 3-component vector of float)
     68 0:?         'inF4' ( temp 4-component vector of float)
     69 0:?         'inI2' ( temp 2-component vector of int)
     70 0:?   Linker Objects
     71 0:?     'inF1' (layout( location=0) in float)
     72 0:?     'inF2' (layout( location=1) in 2-component vector of float)
     73 0:?     'inF3' (layout( location=2) in 3-component vector of float)
     74 0:?     'inF4' (layout( location=3) in 4-component vector of float)
     75 0:?     'inI2' (layout( location=4) flat in 2-component vector of int)
     76 
     77 
     78 Linked fragment stage:
     79 
     80 
     81 Shader version: 500
     82 gl_FragCoord origin is upper left
     83 0:? Sequence
     84 0:3  Function Definition: @main(f1;vf2;vf3;vf4;vi2; ( temp void)
     85 0:3    Function Parameters: 
     86 0:3      'inF1' ( in float)
     87 0:3      'inF2' ( in 2-component vector of float)
     88 0:3      'inF3' ( in 3-component vector of float)
     89 0:3      'inF4' ( in 4-component vector of float)
     90 0:3      'inI2' ( in 2-component vector of int)
     91 0:?     Sequence
     92 0:4      interpolateAtOffset ( temp float)
     93 0:4        'inF1' ( in float)
     94 0:?         Constant:
     95 0:?           -0.500000
     96 0:?           -0.062500
     97 0:5      interpolateAtOffset ( temp 2-component vector of float)
     98 0:5        'inF2' ( in 2-component vector of float)
     99 0:?         Constant:
    100 0:?           0.000000
    101 0:?           0.062500
    102 0:6      interpolateAtOffset ( temp 3-component vector of float)
    103 0:6        'inF3' ( in 3-component vector of float)
    104 0:?         Constant:
    105 0:?           0.187500
    106 0:?           -0.375000
    107 0:7      interpolateAtOffset ( temp 4-component vector of float)
    108 0:7        'inF4' ( in 4-component vector of float)
    109 0:?         Constant:
    110 0:?           0.437500
    111 0:?           -0.500000
    112 0:9      interpolateAtOffset ( temp float)
    113 0:9        'inF1' ( in float)
    114 0:9        vector-scale ( temp 2-component vector of float)
    115 0:9          Convert int to float ( temp 2-component vector of float)
    116 0:9            right-shift ( temp 2-component vector of int)
    117 0:9              left-shift ( temp 2-component vector of int)
    118 0:9                'inI2' ( in 2-component vector of int)
    119 0:9                Constant:
    120 0:9                  28 (const int)
    121 0:9              Constant:
    122 0:9                28 (const int)
    123 0:9          Constant:
    124 0:9            0.062500
    125 0:3  Function Definition: main( ( temp void)
    126 0:3    Function Parameters: 
    127 0:?     Sequence
    128 0:3      move second child to first child ( temp float)
    129 0:?         'inF1' ( temp float)
    130 0:?         'inF1' (layout( location=0) in float)
    131 0:3      move second child to first child ( temp 2-component vector of float)
    132 0:?         'inF2' ( temp 2-component vector of float)
    133 0:?         'inF2' (layout( location=1) in 2-component vector of float)
    134 0:3      move second child to first child ( temp 3-component vector of float)
    135 0:?         'inF3' ( temp 3-component vector of float)
    136 0:?         'inF3' (layout( location=2) in 3-component vector of float)
    137 0:3      move second child to first child ( temp 4-component vector of float)
    138 0:?         'inF4' ( temp 4-component vector of float)
    139 0:?         'inF4' (layout( location=3) in 4-component vector of float)
    140 0:3      move second child to first child ( temp 2-component vector of int)
    141 0:?         'inI2' ( temp 2-component vector of int)
    142 0:?         'inI2' (layout( location=4) flat in 2-component vector of int)
    143 0:3      Function Call: @main(f1;vf2;vf3;vf4;vi2; ( temp void)
    144 0:?         'inF1' ( temp float)
    145 0:?         'inF2' ( temp 2-component vector of float)
    146 0:?         'inF3' ( temp 3-component vector of float)
    147 0:?         'inF4' ( temp 4-component vector of float)
    148 0:?         'inI2' ( temp 2-component vector of int)
    149 0:?   Linker Objects
    150 0:?     'inF1' (layout( location=0) in float)
    151 0:?     'inF2' (layout( location=1) in 2-component vector of float)
    152 0:?     'inF3' (layout( location=2) in 3-component vector of float)
    153 0:?     'inF4' (layout( location=3) in 4-component vector of float)
    154 0:?     'inI2' (layout( location=4) flat in 2-component vector of int)
    155 
    156 Validation failed
    157 // Module Version 10000
    158 // Generated by (magic number): 80007
    159 // Id's are bound by 80
    160 
    161                               Capability Shader
    162                               Capability InterpolationFunction
    163                1:             ExtInstImport  "GLSL.std.450"
    164                               MemoryModel Logical GLSL450
    165                               EntryPoint Fragment 4  "main" 51 55 59 63 67
    166                               ExecutionMode 4 OriginUpperLeft
    167                               Source HLSL 500
    168                               Name 4  "main"
    169                               Name 23  "@main(f1;vf2;vf3;vf4;vi2;"
    170                               Name 18  "inF1"
    171                               Name 19  "inF2"
    172                               Name 20  "inF3"
    173                               Name 21  "inF4"
    174                               Name 22  "inI2"
    175                               Name 49  "inF1"
    176                               Name 51  "inF1"
    177                               Name 53  "inF2"
    178                               Name 55  "inF2"
    179                               Name 57  "inF3"
    180                               Name 59  "inF3"
    181                               Name 61  "inF4"
    182                               Name 63  "inF4"
    183                               Name 65  "inI2"
    184                               Name 67  "inI2"
    185                               Name 69  "param"
    186                               Name 71  "param"
    187                               Name 73  "param"
    188                               Name 75  "param"
    189                               Name 77  "param"
    190                               Decorate 51(inF1) Location 0
    191                               Decorate 55(inF2) Location 1
    192                               Decorate 59(inF3) Location 2
    193                               Decorate 63(inF4) Location 3
    194                               Decorate 67(inI2) Flat
    195                               Decorate 67(inI2) Location 4
    196                2:             TypeVoid
    197                3:             TypeFunction 2
    198                6:             TypeFloat 32
    199                7:             TypePointer Function 6(float)
    200                8:             TypeVector 6(float) 2
    201                9:             TypePointer Function 8(fvec2)
    202               10:             TypeVector 6(float) 3
    203               11:             TypePointer Function 10(fvec3)
    204               12:             TypeVector 6(float) 4
    205               13:             TypePointer Function 12(fvec4)
    206               14:             TypeInt 32 1
    207               15:             TypeVector 14(int) 2
    208               16:             TypePointer Function 15(ivec2)
    209               17:             TypeFunction 2 7(ptr) 9(ptr) 11(ptr) 13(ptr) 16(ptr)
    210               25:    6(float) Constant 3204448256
    211               26:    6(float) Constant 3179282432
    212               27:    8(fvec2) ConstantComposite 25 26
    213               29:    6(float) Constant 0
    214               30:    6(float) Constant 1031798784
    215               31:    8(fvec2) ConstantComposite 29 30
    216               33:    6(float) Constant 1044381696
    217               34:    6(float) Constant 3200253952
    218               35:    8(fvec2) ConstantComposite 33 34
    219               37:    6(float) Constant 1054867456
    220               38:    8(fvec2) ConstantComposite 37 25
    221               41:     14(int) Constant 28
    222               50:             TypePointer Input 6(float)
    223         51(inF1):     50(ptr) Variable Input
    224               54:             TypePointer Input 8(fvec2)
    225         55(inF2):     54(ptr) Variable Input
    226               58:             TypePointer Input 10(fvec3)
    227         59(inF3):     58(ptr) Variable Input
    228               62:             TypePointer Input 12(fvec4)
    229         63(inF4):     62(ptr) Variable Input
    230               66:             TypePointer Input 15(ivec2)
    231         67(inI2):     66(ptr) Variable Input
    232          4(main):           2 Function None 3
    233                5:             Label
    234         49(inF1):      7(ptr) Variable Function
    235         53(inF2):      9(ptr) Variable Function
    236         57(inF3):     11(ptr) Variable Function
    237         61(inF4):     13(ptr) Variable Function
    238         65(inI2):     16(ptr) Variable Function
    239        69(param):      7(ptr) Variable Function
    240        71(param):      9(ptr) Variable Function
    241        73(param):     11(ptr) Variable Function
    242        75(param):     13(ptr) Variable Function
    243        77(param):     16(ptr) Variable Function
    244               52:    6(float) Load 51(inF1)
    245                               Store 49(inF1) 52
    246               56:    8(fvec2) Load 55(inF2)
    247                               Store 53(inF2) 56
    248               60:   10(fvec3) Load 59(inF3)
    249                               Store 57(inF3) 60
    250               64:   12(fvec4) Load 63(inF4)
    251                               Store 61(inF4) 64
    252               68:   15(ivec2) Load 67(inI2)
    253                               Store 65(inI2) 68
    254               70:    6(float) Load 49(inF1)
    255                               Store 69(param) 70
    256               72:    8(fvec2) Load 53(inF2)
    257                               Store 71(param) 72
    258               74:   10(fvec3) Load 57(inF3)
    259                               Store 73(param) 74
    260               76:   12(fvec4) Load 61(inF4)
    261                               Store 75(param) 76
    262               78:   15(ivec2) Load 65(inI2)
    263                               Store 77(param) 78
    264               79:           2 FunctionCall 23(@main(f1;vf2;vf3;vf4;vi2;) 69(param) 71(param) 73(param) 75(param) 77(param)
    265                               Return
    266                               FunctionEnd
    267 23(@main(f1;vf2;vf3;vf4;vi2;):           2 Function None 17
    268         18(inF1):      7(ptr) FunctionParameter
    269         19(inF2):      9(ptr) FunctionParameter
    270         20(inF3):     11(ptr) FunctionParameter
    271         21(inF4):     13(ptr) FunctionParameter
    272         22(inI2):     16(ptr) FunctionParameter
    273               24:             Label
    274               28:    6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 18(inF1) 27
    275               32:    8(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 19(inF2) 31
    276               36:   10(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 20(inF3) 35
    277               39:   12(fvec4) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 21(inF4) 38
    278               40:   15(ivec2) Load 22(inI2)
    279               42:   15(ivec2) CompositeConstruct 41 41
    280               43:   15(ivec2) ShiftLeftLogical 40 42
    281               44:   15(ivec2) CompositeConstruct 41 41
    282               45:   15(ivec2) ShiftRightArithmetic 43 44
    283               46:    8(fvec2) ConvertSToF 45
    284               47:    8(fvec2) VectorTimesScalar 46 30
    285               48:    6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 18(inF1) 47
    286                               Return
    287                               FunctionEnd
    288