Home | History | Annotate | Download | only in baseResults
      1 hlsl.hull.4.tesc
      2 Shader version: 500
      3 vertices = 3
      4 vertex spacing = fractional_odd_spacing
      5 triangle order = cw
      6 0:? Sequence
      7 0:25  Function Definition: HS_ConstFunc(struct-HS_Input-vf4-vf41[3]; ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
      8 0:25    Function Parameters: 
      9 0:25      'I' ( in 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     10 0:?     Sequence
     11 0:26      Sequence
     12 0:26        move second child to first child ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
     13 0:26          'O' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
     14 0:26          Constant:
     15 0:26            0.000000
     16 0:26            0.000000
     17 0:26            0.000000
     18 0:26            0.000000
     19 0:28      move second child to first child ( temp float)
     20 0:28        fInsideTessFactor: direct index for structure ( temp float)
     21 0:28          'O' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
     22 0:28          Constant:
     23 0:28            1 (const int)
     24 0:28        add ( temp float)
     25 0:28          direct index ( temp float)
     26 0:28            m_Position: direct index for structure ( temp 4-component vector of float)
     27 0:28              direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     28 0:28                'I' ( in 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     29 0:28                Constant:
     30 0:28                  0 (const int)
     31 0:28              Constant:
     32 0:28                0 (const int)
     33 0:28            Constant:
     34 0:28              3 (const int)
     35 0:28          direct index ( temp float)
     36 0:28            m_Normal: direct index for structure ( temp 4-component vector of float)
     37 0:28              direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     38 0:28                'I' ( in 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     39 0:28                Constant:
     40 0:28                  0 (const int)
     41 0:28              Constant:
     42 0:28                1 (const int)
     43 0:28            Constant:
     44 0:28              3 (const int)
     45 0:30      Branch: Return with expression
     46 0:30        'O' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
     47 0:39  Function Definition: @main(struct-HS_Input-vf4-vf41[3];u1; ( temp structure{ temp 4-component vector of float m_Position})
     48 0:39    Function Parameters: 
     49 0:39      'I' ( in 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     50 0:39      'cpid' ( in uint)
     51 0:?     Sequence
     52 0:40      Sequence
     53 0:40        move second child to first child ( temp structure{ temp 4-component vector of float m_Position})
     54 0:40          'output' ( temp structure{ temp 4-component vector of float m_Position})
     55 0:40          Constant:
     56 0:40            0.000000
     57 0:40            0.000000
     58 0:40            0.000000
     59 0:40            0.000000
     60 0:41      move second child to first child ( temp 4-component vector of float)
     61 0:41        m_Position: direct index for structure ( temp 4-component vector of float)
     62 0:41          'output' ( temp structure{ temp 4-component vector of float m_Position})
     63 0:41          Constant:
     64 0:41            0 (const int)
     65 0:41        Constant:
     66 0:41          0.000000
     67 0:41          0.000000
     68 0:41          0.000000
     69 0:41          0.000000
     70 0:42      Branch: Return with expression
     71 0:42        'output' ( temp structure{ temp 4-component vector of float m_Position})
     72 0:39  Function Definition: main( ( temp void)
     73 0:39    Function Parameters: 
     74 0:?     Sequence
     75 0:39      Sequence
     76 0:39        move second child to first child ( temp 4-component vector of float)
     77 0:39          m_Position: direct index for structure ( temp 4-component vector of float)
     78 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     79 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     80 0:39              Constant:
     81 0:39                0 (const int)
     82 0:39            Constant:
     83 0:39              0 (const int)
     84 0:39          direct index ( in 4-component vector of float Position)
     85 0:?             'I.m_Position' ( in 3-element array of 4-component vector of float Position)
     86 0:39            Constant:
     87 0:39              0 (const int)
     88 0:39        move second child to first child ( temp 4-component vector of float)
     89 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
     90 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     91 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
     92 0:39              Constant:
     93 0:39                0 (const int)
     94 0:39            Constant:
     95 0:39              1 (const int)
     96 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
     97 0:39            direct index (layout( location=0) in structure{ temp 4-component vector of float m_Normal})
     98 0:39              'I' (layout( location=0) in 3-element array of structure{ temp 4-component vector of float m_Normal})
     99 0:39              Constant:
    100 0:39                0 (const int)
    101 0:39            Constant:
    102 0:39              0 (const int)
    103 0:39        move second child to first child ( temp 4-component vector of float)
    104 0:39          m_Position: direct index for structure ( temp 4-component vector of float)
    105 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    106 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    107 0:39              Constant:
    108 0:39                1 (const int)
    109 0:39            Constant:
    110 0:39              0 (const int)
    111 0:39          direct index ( in 4-component vector of float Position)
    112 0:?             'I.m_Position' ( in 3-element array of 4-component vector of float Position)
    113 0:39            Constant:
    114 0:39              1 (const int)
    115 0:39        move second child to first child ( temp 4-component vector of float)
    116 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    117 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    118 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    119 0:39              Constant:
    120 0:39                1 (const int)
    121 0:39            Constant:
    122 0:39              1 (const int)
    123 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    124 0:39            direct index (layout( location=0) in structure{ temp 4-component vector of float m_Normal})
    125 0:39              'I' (layout( location=0) in 3-element array of structure{ temp 4-component vector of float m_Normal})
    126 0:39              Constant:
    127 0:39                1 (const int)
    128 0:39            Constant:
    129 0:39              0 (const int)
    130 0:39        move second child to first child ( temp 4-component vector of float)
    131 0:39          m_Position: direct index for structure ( temp 4-component vector of float)
    132 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    133 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    134 0:39              Constant:
    135 0:39                2 (const int)
    136 0:39            Constant:
    137 0:39              0 (const int)
    138 0:39          direct index ( in 4-component vector of float Position)
    139 0:?             'I.m_Position' ( in 3-element array of 4-component vector of float Position)
    140 0:39            Constant:
    141 0:39              2 (const int)
    142 0:39        move second child to first child ( temp 4-component vector of float)
    143 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    144 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    145 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    146 0:39              Constant:
    147 0:39                2 (const int)
    148 0:39            Constant:
    149 0:39              1 (const int)
    150 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    151 0:39            direct index (layout( location=0) in structure{ temp 4-component vector of float m_Normal})
    152 0:39              'I' (layout( location=0) in 3-element array of structure{ temp 4-component vector of float m_Normal})
    153 0:39              Constant:
    154 0:39                2 (const int)
    155 0:39            Constant:
    156 0:39              0 (const int)
    157 0:39      move second child to first child ( temp uint)
    158 0:?         'cpid' ( temp uint)
    159 0:?         'cpid' ( in uint InvocationID)
    160 0:39      Sequence
    161 0:39        move second child to first child ( temp 4-component vector of float)
    162 0:39          indirect index ( out 4-component vector of float Position)
    163 0:?             '@entryPointOutput.m_Position' ( out 3-element array of 4-component vector of float Position)
    164 0:?             'cpid' ( in uint InvocationID)
    165 0:39          m_Position: direct index for structure ( temp 4-component vector of float)
    166 0:39            Function Call: @main(struct-HS_Input-vf4-vf41[3];u1; ( temp structure{ temp 4-component vector of float m_Position})
    167 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    168 0:?               'cpid' ( temp uint)
    169 0:39            Constant:
    170 0:39              0 (const int)
    171 0:?       Barrier ( temp void)
    172 0:?       Test condition and select ( temp void)
    173 0:?         Condition
    174 0:?         Compare Equal ( temp bool)
    175 0:?           'cpid' ( in uint InvocationID)
    176 0:?           Constant:
    177 0:?             0 (const int)
    178 0:?         true case
    179 0:?         Sequence
    180 0:?           move second child to first child ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    181 0:?             '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    182 0:?             Function Call: HS_ConstFunc(struct-HS_Input-vf4-vf41[3]; ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    183 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    184 0:?           Sequence
    185 0:?             move second child to first child ( temp float)
    186 0:?               direct index ( patch out float TessLevelOuter)
    187 0:?                 '@patchConstantOutput.fTessFactor' ( patch out 4-element array of float TessLevelOuter)
    188 0:?                 Constant:
    189 0:?                   0 (const int)
    190 0:?               direct index ( temp float)
    191 0:?                 fTessFactor: direct index for structure ( temp 3-element array of float)
    192 0:?                   '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    193 0:?                   Constant:
    194 0:?                     0 (const int)
    195 0:?                 Constant:
    196 0:?                   0 (const int)
    197 0:?             move second child to first child ( temp float)
    198 0:?               direct index ( patch out float TessLevelOuter)
    199 0:?                 '@patchConstantOutput.fTessFactor' ( patch out 4-element array of float TessLevelOuter)
    200 0:?                 Constant:
    201 0:?                   1 (const int)
    202 0:?               direct index ( temp float)
    203 0:?                 fTessFactor: direct index for structure ( temp 3-element array of float)
    204 0:?                   '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    205 0:?                   Constant:
    206 0:?                     0 (const int)
    207 0:?                 Constant:
    208 0:?                   1 (const int)
    209 0:?             move second child to first child ( temp float)
    210 0:?               direct index ( patch out float TessLevelOuter)
    211 0:?                 '@patchConstantOutput.fTessFactor' ( patch out 4-element array of float TessLevelOuter)
    212 0:?                 Constant:
    213 0:?                   2 (const int)
    214 0:?               direct index ( temp float)
    215 0:?                 fTessFactor: direct index for structure ( temp 3-element array of float)
    216 0:?                   '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    217 0:?                   Constant:
    218 0:?                     0 (const int)
    219 0:?                 Constant:
    220 0:?                   2 (const int)
    221 0:?             move second child to first child ( temp float)
    222 0:?               direct index ( patch out float TessLevelInner)
    223 0:?                 '@patchConstantOutput.fInsideTessFactor' ( patch out 2-element array of float TessLevelInner)
    224 0:?                 Constant:
    225 0:?                   0 (const int)
    226 0:?               fInsideTessFactor: direct index for structure ( temp float)
    227 0:?                 '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    228 0:?                 Constant:
    229 0:?                   1 (const int)
    230 0:?   Linker Objects
    231 0:?     '@entryPointOutput.m_Position' ( out 3-element array of 4-component vector of float Position)
    232 0:?     'I.m_Position' ( in 3-element array of 4-component vector of float Position)
    233 0:?     'I' (layout( location=0) in 3-element array of structure{ temp 4-component vector of float m_Normal})
    234 0:?     'cpid' ( in uint InvocationID)
    235 0:?     '@patchConstantOutput.fTessFactor' ( patch out 4-element array of float TessLevelOuter)
    236 0:?     '@patchConstantOutput.fInsideTessFactor' ( patch out 2-element array of float TessLevelInner)
    237 
    238 
    239 Linked tessellation control stage:
    240 
    241 
    242 Shader version: 500
    243 vertices = 3
    244 vertex spacing = fractional_odd_spacing
    245 triangle order = cw
    246 0:? Sequence
    247 0:25  Function Definition: HS_ConstFunc(struct-HS_Input-vf4-vf41[3]; ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    248 0:25    Function Parameters: 
    249 0:25      'I' ( in 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    250 0:?     Sequence
    251 0:26      Sequence
    252 0:26        move second child to first child ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    253 0:26          'O' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    254 0:26          Constant:
    255 0:26            0.000000
    256 0:26            0.000000
    257 0:26            0.000000
    258 0:26            0.000000
    259 0:28      move second child to first child ( temp float)
    260 0:28        fInsideTessFactor: direct index for structure ( temp float)
    261 0:28          'O' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    262 0:28          Constant:
    263 0:28            1 (const int)
    264 0:28        add ( temp float)
    265 0:28          direct index ( temp float)
    266 0:28            m_Position: direct index for structure ( temp 4-component vector of float)
    267 0:28              direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    268 0:28                'I' ( in 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    269 0:28                Constant:
    270 0:28                  0 (const int)
    271 0:28              Constant:
    272 0:28                0 (const int)
    273 0:28            Constant:
    274 0:28              3 (const int)
    275 0:28          direct index ( temp float)
    276 0:28            m_Normal: direct index for structure ( temp 4-component vector of float)
    277 0:28              direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    278 0:28                'I' ( in 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    279 0:28                Constant:
    280 0:28                  0 (const int)
    281 0:28              Constant:
    282 0:28                1 (const int)
    283 0:28            Constant:
    284 0:28              3 (const int)
    285 0:30      Branch: Return with expression
    286 0:30        'O' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    287 0:39  Function Definition: @main(struct-HS_Input-vf4-vf41[3];u1; ( temp structure{ temp 4-component vector of float m_Position})
    288 0:39    Function Parameters: 
    289 0:39      'I' ( in 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    290 0:39      'cpid' ( in uint)
    291 0:?     Sequence
    292 0:40      Sequence
    293 0:40        move second child to first child ( temp structure{ temp 4-component vector of float m_Position})
    294 0:40          'output' ( temp structure{ temp 4-component vector of float m_Position})
    295 0:40          Constant:
    296 0:40            0.000000
    297 0:40            0.000000
    298 0:40            0.000000
    299 0:40            0.000000
    300 0:41      move second child to first child ( temp 4-component vector of float)
    301 0:41        m_Position: direct index for structure ( temp 4-component vector of float)
    302 0:41          'output' ( temp structure{ temp 4-component vector of float m_Position})
    303 0:41          Constant:
    304 0:41            0 (const int)
    305 0:41        Constant:
    306 0:41          0.000000
    307 0:41          0.000000
    308 0:41          0.000000
    309 0:41          0.000000
    310 0:42      Branch: Return with expression
    311 0:42        'output' ( temp structure{ temp 4-component vector of float m_Position})
    312 0:39  Function Definition: main( ( temp void)
    313 0:39    Function Parameters: 
    314 0:?     Sequence
    315 0:39      Sequence
    316 0:39        move second child to first child ( temp 4-component vector of float)
    317 0:39          m_Position: direct index for structure ( temp 4-component vector of float)
    318 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    319 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    320 0:39              Constant:
    321 0:39                0 (const int)
    322 0:39            Constant:
    323 0:39              0 (const int)
    324 0:39          direct index ( in 4-component vector of float Position)
    325 0:?             'I.m_Position' ( in 3-element array of 4-component vector of float Position)
    326 0:39            Constant:
    327 0:39              0 (const int)
    328 0:39        move second child to first child ( temp 4-component vector of float)
    329 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    330 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    331 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    332 0:39              Constant:
    333 0:39                0 (const int)
    334 0:39            Constant:
    335 0:39              1 (const int)
    336 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    337 0:39            direct index (layout( location=0) in structure{ temp 4-component vector of float m_Normal})
    338 0:39              'I' (layout( location=0) in 3-element array of structure{ temp 4-component vector of float m_Normal})
    339 0:39              Constant:
    340 0:39                0 (const int)
    341 0:39            Constant:
    342 0:39              0 (const int)
    343 0:39        move second child to first child ( temp 4-component vector of float)
    344 0:39          m_Position: direct index for structure ( temp 4-component vector of float)
    345 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    346 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    347 0:39              Constant:
    348 0:39                1 (const int)
    349 0:39            Constant:
    350 0:39              0 (const int)
    351 0:39          direct index ( in 4-component vector of float Position)
    352 0:?             'I.m_Position' ( in 3-element array of 4-component vector of float Position)
    353 0:39            Constant:
    354 0:39              1 (const int)
    355 0:39        move second child to first child ( temp 4-component vector of float)
    356 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    357 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    358 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    359 0:39              Constant:
    360 0:39                1 (const int)
    361 0:39            Constant:
    362 0:39              1 (const int)
    363 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    364 0:39            direct index (layout( location=0) in structure{ temp 4-component vector of float m_Normal})
    365 0:39              'I' (layout( location=0) in 3-element array of structure{ temp 4-component vector of float m_Normal})
    366 0:39              Constant:
    367 0:39                1 (const int)
    368 0:39            Constant:
    369 0:39              0 (const int)
    370 0:39        move second child to first child ( temp 4-component vector of float)
    371 0:39          m_Position: direct index for structure ( temp 4-component vector of float)
    372 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    373 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    374 0:39              Constant:
    375 0:39                2 (const int)
    376 0:39            Constant:
    377 0:39              0 (const int)
    378 0:39          direct index ( in 4-component vector of float Position)
    379 0:?             'I.m_Position' ( in 3-element array of 4-component vector of float Position)
    380 0:39            Constant:
    381 0:39              2 (const int)
    382 0:39        move second child to first child ( temp 4-component vector of float)
    383 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    384 0:39            direct index ( temp structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    385 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    386 0:39              Constant:
    387 0:39                2 (const int)
    388 0:39            Constant:
    389 0:39              1 (const int)
    390 0:39          m_Normal: direct index for structure ( temp 4-component vector of float)
    391 0:39            direct index (layout( location=0) in structure{ temp 4-component vector of float m_Normal})
    392 0:39              'I' (layout( location=0) in 3-element array of structure{ temp 4-component vector of float m_Normal})
    393 0:39              Constant:
    394 0:39                2 (const int)
    395 0:39            Constant:
    396 0:39              0 (const int)
    397 0:39      move second child to first child ( temp uint)
    398 0:?         'cpid' ( temp uint)
    399 0:?         'cpid' ( in uint InvocationID)
    400 0:39      Sequence
    401 0:39        move second child to first child ( temp 4-component vector of float)
    402 0:39          indirect index ( out 4-component vector of float Position)
    403 0:?             '@entryPointOutput.m_Position' ( out 3-element array of 4-component vector of float Position)
    404 0:?             'cpid' ( in uint InvocationID)
    405 0:39          m_Position: direct index for structure ( temp 4-component vector of float)
    406 0:39            Function Call: @main(struct-HS_Input-vf4-vf41[3];u1; ( temp structure{ temp 4-component vector of float m_Position})
    407 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    408 0:?               'cpid' ( temp uint)
    409 0:39            Constant:
    410 0:39              0 (const int)
    411 0:?       Barrier ( temp void)
    412 0:?       Test condition and select ( temp void)
    413 0:?         Condition
    414 0:?         Compare Equal ( temp bool)
    415 0:?           'cpid' ( in uint InvocationID)
    416 0:?           Constant:
    417 0:?             0 (const int)
    418 0:?         true case
    419 0:?         Sequence
    420 0:?           move second child to first child ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    421 0:?             '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    422 0:?             Function Call: HS_ConstFunc(struct-HS_Input-vf4-vf41[3]; ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    423 0:?               'I' ( temp 3-element array of structure{ temp 4-component vector of float m_Position,  temp 4-component vector of float m_Normal})
    424 0:?           Sequence
    425 0:?             move second child to first child ( temp float)
    426 0:?               direct index ( patch out float TessLevelOuter)
    427 0:?                 '@patchConstantOutput.fTessFactor' ( patch out 4-element array of float TessLevelOuter)
    428 0:?                 Constant:
    429 0:?                   0 (const int)
    430 0:?               direct index ( temp float)
    431 0:?                 fTessFactor: direct index for structure ( temp 3-element array of float)
    432 0:?                   '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    433 0:?                   Constant:
    434 0:?                     0 (const int)
    435 0:?                 Constant:
    436 0:?                   0 (const int)
    437 0:?             move second child to first child ( temp float)
    438 0:?               direct index ( patch out float TessLevelOuter)
    439 0:?                 '@patchConstantOutput.fTessFactor' ( patch out 4-element array of float TessLevelOuter)
    440 0:?                 Constant:
    441 0:?                   1 (const int)
    442 0:?               direct index ( temp float)
    443 0:?                 fTessFactor: direct index for structure ( temp 3-element array of float)
    444 0:?                   '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    445 0:?                   Constant:
    446 0:?                     0 (const int)
    447 0:?                 Constant:
    448 0:?                   1 (const int)
    449 0:?             move second child to first child ( temp float)
    450 0:?               direct index ( patch out float TessLevelOuter)
    451 0:?                 '@patchConstantOutput.fTessFactor' ( patch out 4-element array of float TessLevelOuter)
    452 0:?                 Constant:
    453 0:?                   2 (const int)
    454 0:?               direct index ( temp float)
    455 0:?                 fTessFactor: direct index for structure ( temp 3-element array of float)
    456 0:?                   '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    457 0:?                   Constant:
    458 0:?                     0 (const int)
    459 0:?                 Constant:
    460 0:?                   2 (const int)
    461 0:?             move second child to first child ( temp float)
    462 0:?               direct index ( patch out float TessLevelInner)
    463 0:?                 '@patchConstantOutput.fInsideTessFactor' ( patch out 2-element array of float TessLevelInner)
    464 0:?                 Constant:
    465 0:?                   0 (const int)
    466 0:?               fInsideTessFactor: direct index for structure ( temp float)
    467 0:?                 '@patchConstantResult' ( temp structure{ temp 3-element array of float fTessFactor,  temp float fInsideTessFactor})
    468 0:?                 Constant:
    469 0:?                   1 (const int)
    470 0:?   Linker Objects
    471 0:?     '@entryPointOutput.m_Position' ( out 3-element array of 4-component vector of float Position)
    472 0:?     'I.m_Position' ( in 3-element array of 4-component vector of float Position)
    473 0:?     'I' (layout( location=0) in 3-element array of structure{ temp 4-component vector of float m_Normal})
    474 0:?     'cpid' ( in uint InvocationID)
    475 0:?     '@patchConstantOutput.fTessFactor' ( patch out 4-element array of float TessLevelOuter)
    476 0:?     '@patchConstantOutput.fInsideTessFactor' ( patch out 2-element array of float TessLevelInner)
    477 
    478 // Module Version 10000
    479 // Generated by (magic number): 80007
    480 // Id's are bound by 127
    481 
    482                               Capability Tessellation
    483                1:             ExtInstImport  "GLSL.std.450"
    484                               MemoryModel Logical GLSL450
    485                               EntryPoint TessellationControl 4  "main" 56 64 83 86 110 123
    486                               ExecutionMode 4 OutputVertices 3
    487                               ExecutionMode 4 Triangles
    488                               ExecutionMode 4 SpacingFractionalOdd
    489                               ExecutionMode 4 VertexOrderCw
    490                               Source HLSL 500
    491                               Name 4  "main"
    492                               Name 8  "HS_Input"
    493                               MemberName 8(HS_Input) 0  "m_Position"
    494                               MemberName 8(HS_Input) 1  "m_Normal"
    495                               Name 14  "HS_Output"
    496                               MemberName 14(HS_Output) 0  "fTessFactor"
    497                               MemberName 14(HS_Output) 1  "fInsideTessFactor"
    498                               Name 17  "HS_ConstFunc(struct-HS_Input-vf4-vf41[3];"
    499                               Name 16  "I"
    500                               Name 20  "HS_Main_Output"
    501                               MemberName 20(HS_Main_Output) 0  "m_Position"
    502                               Name 24  "@main(struct-HS_Input-vf4-vf41[3];u1;"
    503                               Name 22  "I"
    504                               Name 23  "cpid"
    505                               Name 27  "O"
    506                               Name 45  "output"
    507                               Name 53  "I"
    508                               Name 56  "I.m_Position"
    509                               Name 61  "HS_Input"
    510                               MemberName 61(HS_Input) 0  "m_Normal"
    511                               Name 64  "I"
    512                               Name 81  "cpid"
    513                               Name 83  "cpid"
    514                               Name 86  "@entryPointOutput.m_Position"
    515                               Name 88  "param"
    516                               Name 90  "param"
    517                               Name 104  "@patchConstantResult"
    518                               Name 105  "param"
    519                               Name 110  "@patchConstantOutput.fTessFactor"
    520                               Name 123  "@patchConstantOutput.fInsideTessFactor"
    521                               Decorate 56(I.m_Position) BuiltIn Position
    522                               Decorate 64(I) Location 0
    523                               Decorate 83(cpid) BuiltIn InvocationId
    524                               Decorate 86(@entryPointOutput.m_Position) BuiltIn Position
    525                               Decorate 110(@patchConstantOutput.fTessFactor) Patch
    526                               Decorate 110(@patchConstantOutput.fTessFactor) BuiltIn TessLevelOuter
    527                               Decorate 123(@patchConstantOutput.fInsideTessFactor) Patch
    528                               Decorate 123(@patchConstantOutput.fInsideTessFactor) BuiltIn TessLevelInner
    529                2:             TypeVoid
    530                3:             TypeFunction 2
    531                6:             TypeFloat 32
    532                7:             TypeVector 6(float) 4
    533      8(HS_Input):             TypeStruct 7(fvec4) 7(fvec4)
    534                9:             TypeInt 32 0
    535               10:      9(int) Constant 3
    536               11:             TypeArray 8(HS_Input) 10
    537               12:             TypePointer Function 11
    538               13:             TypeArray 6(float) 10
    539    14(HS_Output):             TypeStruct 13 6(float)
    540               15:             TypeFunction 14(HS_Output) 12(ptr)
    541               19:             TypePointer Function 9(int)
    542 20(HS_Main_Output):             TypeStruct 7(fvec4)
    543               21:             TypeFunction 20(HS_Main_Output) 12(ptr) 19(ptr)
    544               26:             TypePointer Function 14(HS_Output)
    545               28:    6(float) Constant 0
    546               29:          13 ConstantComposite 28 28 28
    547               30:14(HS_Output) ConstantComposite 29 28
    548               31:             TypeInt 32 1
    549               32:     31(int) Constant 1
    550               33:     31(int) Constant 0
    551               34:             TypePointer Function 6(float)
    552               44:             TypePointer Function 20(HS_Main_Output)
    553               46:    7(fvec4) ConstantComposite 28 28 28 28
    554               47:20(HS_Main_Output) ConstantComposite 46
    555               48:             TypePointer Function 7(fvec4)
    556               54:             TypeArray 7(fvec4) 10
    557               55:             TypePointer Input 54
    558 56(I.m_Position):     55(ptr) Variable Input
    559               57:             TypePointer Input 7(fvec4)
    560     61(HS_Input):             TypeStruct 7(fvec4)
    561               62:             TypeArray 61(HS_Input) 10
    562               63:             TypePointer Input 62
    563            64(I):     63(ptr) Variable Input
    564               74:     31(int) Constant 2
    565               82:             TypePointer Input 9(int)
    566         83(cpid):     82(ptr) Variable Input
    567               85:             TypePointer Output 54
    568 86(@entryPointOutput.m_Position):     85(ptr) Variable Output
    569               94:             TypePointer Output 7(fvec4)
    570               96:      9(int) Constant 2
    571               97:      9(int) Constant 4
    572               98:      9(int) Constant 0
    573              100:             TypeBool
    574              108:             TypeArray 6(float) 97
    575              109:             TypePointer Output 108
    576 110(@patchConstantOutput.fTessFactor):    109(ptr) Variable Output
    577              113:             TypePointer Output 6(float)
    578              121:             TypeArray 6(float) 96
    579              122:             TypePointer Output 121
    580 123(@patchConstantOutput.fInsideTessFactor):    122(ptr) Variable Output
    581          4(main):           2 Function None 3
    582                5:             Label
    583            53(I):     12(ptr) Variable Function
    584         81(cpid):     19(ptr) Variable Function
    585        88(param):     12(ptr) Variable Function
    586        90(param):     19(ptr) Variable Function
    587 104(@patchConstantResult):     26(ptr) Variable Function
    588       105(param):     12(ptr) Variable Function
    589               58:     57(ptr) AccessChain 56(I.m_Position) 33
    590               59:    7(fvec4) Load 58
    591               60:     48(ptr) AccessChain 53(I) 33 33
    592                               Store 60 59
    593               65:     57(ptr) AccessChain 64(I) 33 33
    594               66:    7(fvec4) Load 65
    595               67:     48(ptr) AccessChain 53(I) 33 32
    596                               Store 67 66
    597               68:     57(ptr) AccessChain 56(I.m_Position) 32
    598               69:    7(fvec4) Load 68
    599               70:     48(ptr) AccessChain 53(I) 32 33
    600                               Store 70 69
    601               71:     57(ptr) AccessChain 64(I) 32 33
    602               72:    7(fvec4) Load 71
    603               73:     48(ptr) AccessChain 53(I) 32 32
    604                               Store 73 72
    605               75:     57(ptr) AccessChain 56(I.m_Position) 74
    606               76:    7(fvec4) Load 75
    607               77:     48(ptr) AccessChain 53(I) 74 33
    608                               Store 77 76
    609               78:     57(ptr) AccessChain 64(I) 74 33
    610               79:    7(fvec4) Load 78
    611               80:     48(ptr) AccessChain 53(I) 74 32
    612                               Store 80 79
    613               84:      9(int) Load 83(cpid)
    614                               Store 81(cpid) 84
    615               87:      9(int) Load 83(cpid)
    616               89:          11 Load 53(I)
    617                               Store 88(param) 89
    618               91:      9(int) Load 81(cpid)
    619                               Store 90(param) 91
    620               92:20(HS_Main_Output) FunctionCall 24(@main(struct-HS_Input-vf4-vf41[3];u1;) 88(param) 90(param)
    621               93:    7(fvec4) CompositeExtract 92 0
    622               95:     94(ptr) AccessChain 86(@entryPointOutput.m_Position) 87
    623                               Store 95 93
    624                               ControlBarrier 96 97 98
    625               99:      9(int) Load 83(cpid)
    626              101:   100(bool) IEqual 99 33
    627                               SelectionMerge 103 None
    628                               BranchConditional 101 102 103
    629              102:               Label
    630              106:          11   Load 53(I)
    631                                 Store 105(param) 106
    632              107:14(HS_Output)   FunctionCall 17(HS_ConstFunc(struct-HS_Input-vf4-vf41[3];) 105(param)
    633                                 Store 104(@patchConstantResult) 107
    634              111:     34(ptr)   AccessChain 104(@patchConstantResult) 33 33
    635              112:    6(float)   Load 111
    636              114:    113(ptr)   AccessChain 110(@patchConstantOutput.fTessFactor) 33
    637                                 Store 114 112
    638              115:     34(ptr)   AccessChain 104(@patchConstantResult) 33 32
    639              116:    6(float)   Load 115
    640              117:    113(ptr)   AccessChain 110(@patchConstantOutput.fTessFactor) 32
    641                                 Store 117 116
    642              118:     34(ptr)   AccessChain 104(@patchConstantResult) 33 74
    643              119:    6(float)   Load 118
    644              120:    113(ptr)   AccessChain 110(@patchConstantOutput.fTessFactor) 74
    645                                 Store 120 119
    646              124:     34(ptr)   AccessChain 104(@patchConstantResult) 32
    647              125:    6(float)   Load 124
    648              126:    113(ptr)   AccessChain 123(@patchConstantOutput.fInsideTessFactor) 33
    649                                 Store 126 125
    650                                 Branch 103
    651              103:             Label
    652                               Return
    653                               FunctionEnd
    654 17(HS_ConstFunc(struct-HS_Input-vf4-vf41[3];):14(HS_Output) Function None 15
    655            16(I):     12(ptr) FunctionParameter
    656               18:             Label
    657            27(O):     26(ptr) Variable Function
    658                               Store 27(O) 30
    659               35:     34(ptr) AccessChain 16(I) 33 33 10
    660               36:    6(float) Load 35
    661               37:     34(ptr) AccessChain 16(I) 33 32 10
    662               38:    6(float) Load 37
    663               39:    6(float) FAdd 36 38
    664               40:     34(ptr) AccessChain 27(O) 32
    665                               Store 40 39
    666               41:14(HS_Output) Load 27(O)
    667                               ReturnValue 41
    668                               FunctionEnd
    669 24(@main(struct-HS_Input-vf4-vf41[3];u1;):20(HS_Main_Output) Function None 21
    670            22(I):     12(ptr) FunctionParameter
    671         23(cpid):     19(ptr) FunctionParameter
    672               25:             Label
    673       45(output):     44(ptr) Variable Function
    674                               Store 45(output) 47
    675               49:     48(ptr) AccessChain 45(output) 33
    676                               Store 49 46
    677               50:20(HS_Main_Output) Load 45(output)
    678                               ReturnValue 50
    679                               FunctionEnd
    680