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