Home | History | Annotate | Download | only in baseResults
      1 hlsl.intrinsic.frexp.frag
      2 Shader version: 500
      3 gl_FragCoord origin is upper left
      4 0:? Sequence
      5 0:3  Function Definition: PixelShaderFunctionS(f1;f1; ( temp float)
      6 0:3    Function Parameters: 
      7 0:3      'inF0' ( in float)
      8 0:3      'inF1' ( in float)
      9 0:?     Sequence
     10 0:4      Sequence
     11 0:4        move second child to first child ( temp float)
     12 0:4          'r000' ( temp float)
     13 0:4          frexp ( temp float)
     14 0:4            'inF0' ( in float)
     15 0:4            'inF1' ( in float)
     16 0:5      Branch: Return with expression
     17 0:5        Constant:
     18 0:5          0.000000
     19 0:9  Function Definition: PixelShaderFunction2(vf2;vf2; ( temp 2-component vector of float)
     20 0:9    Function Parameters: 
     21 0:9      'inF0' ( in 2-component vector of float)
     22 0:9      'inF1' ( in 2-component vector of float)
     23 0:?     Sequence
     24 0:10      Sequence
     25 0:10        move second child to first child ( temp 2-component vector of float)
     26 0:10          'r000' ( temp 2-component vector of float)
     27 0:10          frexp ( temp 2-component vector of float)
     28 0:10            'inF0' ( in 2-component vector of float)
     29 0:10            'inF1' ( in 2-component vector of float)
     30 0:11      Branch: Return with expression
     31 0:?         Constant:
     32 0:?           1.000000
     33 0:?           2.000000
     34 0:15  Function Definition: PixelShaderFunction3(vf3;vf3; ( temp 3-component vector of float)
     35 0:15    Function Parameters: 
     36 0:15      'inF0' ( in 3-component vector of float)
     37 0:15      'inF1' ( in 3-component vector of float)
     38 0:?     Sequence
     39 0:16      Sequence
     40 0:16        move second child to first child ( temp 3-component vector of float)
     41 0:16          'r000' ( temp 3-component vector of float)
     42 0:16          frexp ( temp 3-component vector of float)
     43 0:16            'inF0' ( in 3-component vector of float)
     44 0:16            'inF1' ( in 3-component vector of float)
     45 0:17      Branch: Return with expression
     46 0:?         Constant:
     47 0:?           1.000000
     48 0:?           2.000000
     49 0:?           3.000000
     50 0:21  Function Definition: PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
     51 0:21    Function Parameters: 
     52 0:21      'inF0' ( in 4-component vector of float)
     53 0:21      'inF1' ( in 4-component vector of float)
     54 0:?     Sequence
     55 0:22      Sequence
     56 0:22        move second child to first child ( temp 4-component vector of float)
     57 0:22          'r000' ( temp 4-component vector of float)
     58 0:22          frexp ( temp 4-component vector of float)
     59 0:22            'inF0' ( in 4-component vector of float)
     60 0:22            'inF1' ( in 4-component vector of float)
     61 0:23      Branch: Return with expression
     62 0:?         Constant:
     63 0:?           1.000000
     64 0:?           2.000000
     65 0:?           3.000000
     66 0:?           4.000000
     67 0:33  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
     68 0:33    Function Parameters: 
     69 0:?     Sequence
     70 0:35      move second child to first child ( temp 4-component vector of float)
     71 0:35        color: direct index for structure ( temp 4-component vector of float)
     72 0:35          'ps_output' ( temp structure{ temp 4-component vector of float color})
     73 0:35          Constant:
     74 0:35            0 (const int)
     75 0:35        Constant:
     76 0:35          1.000000
     77 0:35          1.000000
     78 0:35          1.000000
     79 0:35          1.000000
     80 0:36      Branch: Return with expression
     81 0:36        'ps_output' ( temp structure{ temp 4-component vector of float color})
     82 0:33  Function Definition: main( ( temp void)
     83 0:33    Function Parameters: 
     84 0:?     Sequence
     85 0:33      Sequence
     86 0:33        move second child to first child ( temp 4-component vector of float)
     87 0:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
     88 0:33          color: direct index for structure ( temp 4-component vector of float)
     89 0:33            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
     90 0:33            Constant:
     91 0:33              0 (const int)
     92 0:?   Linker Objects
     93 0:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
     94 
     95 
     96 Linked fragment stage:
     97 
     98 
     99 Shader version: 500
    100 gl_FragCoord origin is upper left
    101 0:? Sequence
    102 0:3  Function Definition: PixelShaderFunctionS(f1;f1; ( temp float)
    103 0:3    Function Parameters: 
    104 0:3      'inF0' ( in float)
    105 0:3      'inF1' ( in float)
    106 0:?     Sequence
    107 0:4      Sequence
    108 0:4        move second child to first child ( temp float)
    109 0:4          'r000' ( temp float)
    110 0:4          frexp ( temp float)
    111 0:4            'inF0' ( in float)
    112 0:4            'inF1' ( in float)
    113 0:5      Branch: Return with expression
    114 0:5        Constant:
    115 0:5          0.000000
    116 0:9  Function Definition: PixelShaderFunction2(vf2;vf2; ( temp 2-component vector of float)
    117 0:9    Function Parameters: 
    118 0:9      'inF0' ( in 2-component vector of float)
    119 0:9      'inF1' ( in 2-component vector of float)
    120 0:?     Sequence
    121 0:10      Sequence
    122 0:10        move second child to first child ( temp 2-component vector of float)
    123 0:10          'r000' ( temp 2-component vector of float)
    124 0:10          frexp ( temp 2-component vector of float)
    125 0:10            'inF0' ( in 2-component vector of float)
    126 0:10            'inF1' ( in 2-component vector of float)
    127 0:11      Branch: Return with expression
    128 0:?         Constant:
    129 0:?           1.000000
    130 0:?           2.000000
    131 0:15  Function Definition: PixelShaderFunction3(vf3;vf3; ( temp 3-component vector of float)
    132 0:15    Function Parameters: 
    133 0:15      'inF0' ( in 3-component vector of float)
    134 0:15      'inF1' ( in 3-component vector of float)
    135 0:?     Sequence
    136 0:16      Sequence
    137 0:16        move second child to first child ( temp 3-component vector of float)
    138 0:16          'r000' ( temp 3-component vector of float)
    139 0:16          frexp ( temp 3-component vector of float)
    140 0:16            'inF0' ( in 3-component vector of float)
    141 0:16            'inF1' ( in 3-component vector of float)
    142 0:17      Branch: Return with expression
    143 0:?         Constant:
    144 0:?           1.000000
    145 0:?           2.000000
    146 0:?           3.000000
    147 0:21  Function Definition: PixelShaderFunction(vf4;vf4; ( temp 4-component vector of float)
    148 0:21    Function Parameters: 
    149 0:21      'inF0' ( in 4-component vector of float)
    150 0:21      'inF1' ( in 4-component vector of float)
    151 0:?     Sequence
    152 0:22      Sequence
    153 0:22        move second child to first child ( temp 4-component vector of float)
    154 0:22          'r000' ( temp 4-component vector of float)
    155 0:22          frexp ( temp 4-component vector of float)
    156 0:22            'inF0' ( in 4-component vector of float)
    157 0:22            'inF1' ( in 4-component vector of float)
    158 0:23      Branch: Return with expression
    159 0:?         Constant:
    160 0:?           1.000000
    161 0:?           2.000000
    162 0:?           3.000000
    163 0:?           4.000000
    164 0:33  Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
    165 0:33    Function Parameters: 
    166 0:?     Sequence
    167 0:35      move second child to first child ( temp 4-component vector of float)
    168 0:35        color: direct index for structure ( temp 4-component vector of float)
    169 0:35          'ps_output' ( temp structure{ temp 4-component vector of float color})
    170 0:35          Constant:
    171 0:35            0 (const int)
    172 0:35        Constant:
    173 0:35          1.000000
    174 0:35          1.000000
    175 0:35          1.000000
    176 0:35          1.000000
    177 0:36      Branch: Return with expression
    178 0:36        'ps_output' ( temp structure{ temp 4-component vector of float color})
    179 0:33  Function Definition: main( ( temp void)
    180 0:33    Function Parameters: 
    181 0:?     Sequence
    182 0:33      Sequence
    183 0:33        move second child to first child ( temp 4-component vector of float)
    184 0:?           '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
    185 0:33          color: direct index for structure ( temp 4-component vector of float)
    186 0:33            Function Call: @main( ( temp structure{ temp 4-component vector of float color})
    187 0:33            Constant:
    188 0:33              0 (const int)
    189 0:?   Linker Objects
    190 0:?     '@entryPointOutput.color' (layout( location=0) out 4-component vector of float)
    191 
    192 // Module Version 10000
    193 // Generated by (magic number): 80007
    194 // Id's are bound by 98
    195 
    196                               Capability Shader
    197                1:             ExtInstImport  "GLSL.std.450"
    198                               MemoryModel Logical GLSL450
    199                               EntryPoint Fragment 4  "main" 95
    200                               ExecutionMode 4 OriginUpperLeft
    201                               Source HLSL 500
    202                               Name 4  "main"
    203                               Name 11  "PixelShaderFunctionS(f1;f1;"
    204                               Name 9  "inF0"
    205                               Name 10  "inF1"
    206                               Name 18  "PixelShaderFunction2(vf2;vf2;"
    207                               Name 16  "inF0"
    208                               Name 17  "inF1"
    209                               Name 25  "PixelShaderFunction3(vf3;vf3;"
    210                               Name 23  "inF0"
    211                               Name 24  "inF1"
    212                               Name 32  "PixelShaderFunction(vf4;vf4;"
    213                               Name 30  "inF0"
    214                               Name 31  "inF1"
    215                               Name 34  "PS_OUTPUT"
    216                               MemberName 34(PS_OUTPUT) 0  "color"
    217                               Name 36  "@main("
    218                               Name 38  "r000"
    219                               Name 41  "ResType"
    220                               Name 49  "r000"
    221                               Name 52  "ResType"
    222                               Name 62  "r000"
    223                               Name 65  "ResType"
    224                               Name 74  "r000"
    225                               Name 77  "ResType"
    226                               Name 87  "ps_output"
    227                               Name 95  "@entryPointOutput.color"
    228                               Decorate 95(@entryPointOutput.color) Location 0
    229                2:             TypeVoid
    230                3:             TypeFunction 2
    231                6:             TypeFloat 32
    232                7:             TypePointer Function 6(float)
    233                8:             TypeFunction 6(float) 7(ptr) 7(ptr)
    234               13:             TypeVector 6(float) 2
    235               14:             TypePointer Function 13(fvec2)
    236               15:             TypeFunction 13(fvec2) 14(ptr) 14(ptr)
    237               20:             TypeVector 6(float) 3
    238               21:             TypePointer Function 20(fvec3)
    239               22:             TypeFunction 20(fvec3) 21(ptr) 21(ptr)
    240               27:             TypeVector 6(float) 4
    241               28:             TypePointer Function 27(fvec4)
    242               29:             TypeFunction 27(fvec4) 28(ptr) 28(ptr)
    243    34(PS_OUTPUT):             TypeStruct 27(fvec4)
    244               35:             TypeFunction 34(PS_OUTPUT)
    245               40:             TypeInt 32 1
    246      41(ResType):             TypeStruct 6(float) 40(int)
    247               46:    6(float) Constant 0
    248               51:             TypeVector 40(int) 2
    249      52(ResType):             TypeStruct 13(fvec2) 51(ivec2)
    250               57:    6(float) Constant 1065353216
    251               58:    6(float) Constant 1073741824
    252               59:   13(fvec2) ConstantComposite 57 58
    253               64:             TypeVector 40(int) 3
    254      65(ResType):             TypeStruct 20(fvec3) 64(ivec3)
    255               70:    6(float) Constant 1077936128
    256               71:   20(fvec3) ConstantComposite 57 58 70
    257               76:             TypeVector 40(int) 4
    258      77(ResType):             TypeStruct 27(fvec4) 76(ivec4)
    259               82:    6(float) Constant 1082130432
    260               83:   27(fvec4) ConstantComposite 57 58 70 82
    261               86:             TypePointer Function 34(PS_OUTPUT)
    262               88:     40(int) Constant 0
    263               89:   27(fvec4) ConstantComposite 57 57 57 57
    264               94:             TypePointer Output 27(fvec4)
    265 95(@entryPointOutput.color):     94(ptr) Variable Output
    266          4(main):           2 Function None 3
    267                5:             Label
    268               96:34(PS_OUTPUT) FunctionCall 36(@main()
    269               97:   27(fvec4) CompositeExtract 96 0
    270                               Store 95(@entryPointOutput.color) 97
    271                               Return
    272                               FunctionEnd
    273 11(PixelShaderFunctionS(f1;f1;):    6(float) Function None 8
    274          9(inF0):      7(ptr) FunctionParameter
    275         10(inF1):      7(ptr) FunctionParameter
    276               12:             Label
    277         38(r000):      7(ptr) Variable Function
    278               39:    6(float) Load 9(inF0)
    279               42: 41(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 39
    280               43:     40(int) CompositeExtract 42 1
    281               44:    6(float) ConvertSToF 43
    282                               Store 10(inF1) 44
    283               45:    6(float) CompositeExtract 42 0
    284                               Store 38(r000) 45
    285                               ReturnValue 46
    286                               FunctionEnd
    287 18(PixelShaderFunction2(vf2;vf2;):   13(fvec2) Function None 15
    288         16(inF0):     14(ptr) FunctionParameter
    289         17(inF1):     14(ptr) FunctionParameter
    290               19:             Label
    291         49(r000):     14(ptr) Variable Function
    292               50:   13(fvec2) Load 16(inF0)
    293               53: 52(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 50
    294               54:   51(ivec2) CompositeExtract 53 1
    295               55:   13(fvec2) ConvertSToF 54
    296                               Store 17(inF1) 55
    297               56:   13(fvec2) CompositeExtract 53 0
    298                               Store 49(r000) 56
    299                               ReturnValue 59
    300                               FunctionEnd
    301 25(PixelShaderFunction3(vf3;vf3;):   20(fvec3) Function None 22
    302         23(inF0):     21(ptr) FunctionParameter
    303         24(inF1):     21(ptr) FunctionParameter
    304               26:             Label
    305         62(r000):     21(ptr) Variable Function
    306               63:   20(fvec3) Load 23(inF0)
    307               66: 65(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 63
    308               67:   64(ivec3) CompositeExtract 66 1
    309               68:   20(fvec3) ConvertSToF 67
    310                               Store 24(inF1) 68
    311               69:   20(fvec3) CompositeExtract 66 0
    312                               Store 62(r000) 69
    313                               ReturnValue 71
    314                               FunctionEnd
    315 32(PixelShaderFunction(vf4;vf4;):   27(fvec4) Function None 29
    316         30(inF0):     28(ptr) FunctionParameter
    317         31(inF1):     28(ptr) FunctionParameter
    318               33:             Label
    319         74(r000):     28(ptr) Variable Function
    320               75:   27(fvec4) Load 30(inF0)
    321               78: 77(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 75
    322               79:   76(ivec4) CompositeExtract 78 1
    323               80:   27(fvec4) ConvertSToF 79
    324                               Store 31(inF1) 80
    325               81:   27(fvec4) CompositeExtract 78 0
    326                               Store 74(r000) 81
    327                               ReturnValue 83
    328                               FunctionEnd
    329       36(@main():34(PS_OUTPUT) Function None 35
    330               37:             Label
    331    87(ps_output):     86(ptr) Variable Function
    332               90:     28(ptr) AccessChain 87(ps_output) 88
    333                               Store 90 89
    334               91:34(PS_OUTPUT) Load 87(ps_output)
    335                               ReturnValue 91
    336                               FunctionEnd
    337