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