Home | History | Annotate | Download | only in baseResults
      1 hlsl.clipdistance-3.geom
      2 Shader version: 500
      3 invocations = -1
      4 max_vertices = 3
      5 input primitive = triangles
      6 output primitive = line_strip
      7 0:? Sequence
      8 0:12  Function Definition: @main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3]; ( temp void)
      9 0:12    Function Parameters: 
     10 0:12      'pos' ( in 3-element array of 4-component vector of float)
     11 0:12      'VertexID' ( in 3-element array of uint)
     12 0:12      'OutputStream' ( out structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
     13 0:12      'clip' ( in 3-element array of 4-component vector of float)
     14 0:?     Sequence
     15 0:15      move second child to first child ( temp 4-component vector of float)
     16 0:15        pos: direct index for structure ( temp 4-component vector of float)
     17 0:15          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
     18 0:15          Constant:
     19 0:15            0 (const int)
     20 0:15        direct index ( temp 4-component vector of float)
     21 0:15          'pos' ( in 3-element array of 4-component vector of float)
     22 0:15          Constant:
     23 0:15            0 (const int)
     24 0:16      move second child to first child ( temp 2-component vector of float)
     25 0:16        clip0: direct index for structure ( temp 2-component vector of float)
     26 0:16          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
     27 0:16          Constant:
     28 0:16            1 (const int)
     29 0:16        vector swizzle ( temp 2-component vector of float)
     30 0:16          direct index ( temp 4-component vector of float)
     31 0:16            'clip' ( in 3-element array of 4-component vector of float)
     32 0:16            Constant:
     33 0:16              0 (const int)
     34 0:16          Sequence
     35 0:16            Constant:
     36 0:16              0 (const int)
     37 0:16            Constant:
     38 0:16              1 (const int)
     39 0:17      move second child to first child ( temp 2-component vector of float)
     40 0:17        clip1: direct index for structure ( temp 2-component vector of float)
     41 0:17          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
     42 0:17          Constant:
     43 0:17            2 (const int)
     44 0:17        vector swizzle ( temp 2-component vector of float)
     45 0:17          direct index ( temp 4-component vector of float)
     46 0:17            'clip' ( in 3-element array of 4-component vector of float)
     47 0:17            Constant:
     48 0:17              0 (const int)
     49 0:17          Sequence
     50 0:17            Constant:
     51 0:17              2 (const int)
     52 0:17            Constant:
     53 0:17              3 (const int)
     54 0:19      Sequence
     55 0:19        Sequence
     56 0:19          move second child to first child ( temp 4-component vector of float)
     57 0:?             'OutputStream.pos' ( out 4-component vector of float Position)
     58 0:19            pos: direct index for structure ( temp 4-component vector of float)
     59 0:19              's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
     60 0:19              Constant:
     61 0:19                0 (const int)
     62 0:?           Sequence
     63 0:19            move second child to first child ( temp float)
     64 0:19              direct index ( out float ClipDistance)
     65 0:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
     66 0:19                Constant:
     67 0:19                  0 (const int)
     68 0:19              direct index ( temp float)
     69 0:19                clip0: direct index for structure ( temp 2-component vector of float)
     70 0:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
     71 0:19                  Constant:
     72 0:19                    1 (const int)
     73 0:19                Constant:
     74 0:19                  0 (const int)
     75 0:19            move second child to first child ( temp float)
     76 0:19              direct index ( out float ClipDistance)
     77 0:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
     78 0:19                Constant:
     79 0:19                  1 (const int)
     80 0:19              direct index ( temp float)
     81 0:19                clip0: direct index for structure ( temp 2-component vector of float)
     82 0:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
     83 0:19                  Constant:
     84 0:19                    1 (const int)
     85 0:19                Constant:
     86 0:19                  1 (const int)
     87 0:?           Sequence
     88 0:19            move second child to first child ( temp float)
     89 0:19              direct index ( out float ClipDistance)
     90 0:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
     91 0:19                Constant:
     92 0:19                  2 (const int)
     93 0:19              direct index ( temp float)
     94 0:19                clip1: direct index for structure ( temp 2-component vector of float)
     95 0:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
     96 0:19                  Constant:
     97 0:19                    2 (const int)
     98 0:19                Constant:
     99 0:19                  0 (const int)
    100 0:19            move second child to first child ( temp float)
    101 0:19              direct index ( out float ClipDistance)
    102 0:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
    103 0:19                Constant:
    104 0:19                  3 (const int)
    105 0:19              direct index ( temp float)
    106 0:19                clip1: direct index for structure ( temp 2-component vector of float)
    107 0:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    108 0:19                  Constant:
    109 0:19                    2 (const int)
    110 0:19                Constant:
    111 0:19                  1 (const int)
    112 0:19        EmitVertex ( temp void)
    113 0:12  Function Definition: main( ( temp void)
    114 0:12    Function Parameters: 
    115 0:?     Sequence
    116 0:12      move second child to first child ( temp 3-element array of 4-component vector of float)
    117 0:?         'pos' ( temp 3-element array of 4-component vector of float)
    118 0:?         'pos' ( in 3-element array of 4-component vector of float Position)
    119 0:12      move second child to first child ( temp 3-element array of uint)
    120 0:?         'VertexID' ( temp 3-element array of uint)
    121 0:?         'VertexID' (layout( location=0) in 3-element array of uint)
    122 0:?       Sequence
    123 0:12        move second child to first child ( temp float)
    124 0:12          direct index ( temp float)
    125 0:12            direct index ( temp 4-component vector of float)
    126 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    127 0:12              Constant:
    128 0:12                0 (const int)
    129 0:12            Constant:
    130 0:12              0 (const int)
    131 0:12          direct index ( in float ClipDistance)
    132 0:12            direct index ( in 4-element array of float ClipDistance)
    133 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    134 0:12              Constant:
    135 0:12                0 (const int)
    136 0:12            Constant:
    137 0:12              0 (const int)
    138 0:12        move second child to first child ( temp float)
    139 0:12          direct index ( temp float)
    140 0:12            direct index ( temp 4-component vector of float)
    141 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    142 0:12              Constant:
    143 0:12                0 (const int)
    144 0:12            Constant:
    145 0:12              1 (const int)
    146 0:12          direct index ( in float ClipDistance)
    147 0:12            direct index ( in 4-element array of float ClipDistance)
    148 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    149 0:12              Constant:
    150 0:12                0 (const int)
    151 0:12            Constant:
    152 0:12              1 (const int)
    153 0:12        move second child to first child ( temp float)
    154 0:12          direct index ( temp float)
    155 0:12            direct index ( temp 4-component vector of float)
    156 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    157 0:12              Constant:
    158 0:12                0 (const int)
    159 0:12            Constant:
    160 0:12              2 (const int)
    161 0:12          direct index ( in float ClipDistance)
    162 0:12            direct index ( in 4-element array of float ClipDistance)
    163 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    164 0:12              Constant:
    165 0:12                0 (const int)
    166 0:12            Constant:
    167 0:12              2 (const int)
    168 0:12        move second child to first child ( temp float)
    169 0:12          direct index ( temp float)
    170 0:12            direct index ( temp 4-component vector of float)
    171 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    172 0:12              Constant:
    173 0:12                0 (const int)
    174 0:12            Constant:
    175 0:12              3 (const int)
    176 0:12          direct index ( in float ClipDistance)
    177 0:12            direct index ( in 4-element array of float ClipDistance)
    178 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    179 0:12              Constant:
    180 0:12                0 (const int)
    181 0:12            Constant:
    182 0:12              3 (const int)
    183 0:12        move second child to first child ( temp float)
    184 0:12          direct index ( temp float)
    185 0:12            direct index ( temp 4-component vector of float)
    186 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    187 0:12              Constant:
    188 0:12                1 (const int)
    189 0:12            Constant:
    190 0:12              0 (const int)
    191 0:12          direct index ( in float ClipDistance)
    192 0:12            direct index ( in 4-element array of float ClipDistance)
    193 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    194 0:12              Constant:
    195 0:12                1 (const int)
    196 0:12            Constant:
    197 0:12              0 (const int)
    198 0:12        move second child to first child ( temp float)
    199 0:12          direct index ( temp float)
    200 0:12            direct index ( temp 4-component vector of float)
    201 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    202 0:12              Constant:
    203 0:12                1 (const int)
    204 0:12            Constant:
    205 0:12              1 (const int)
    206 0:12          direct index ( in float ClipDistance)
    207 0:12            direct index ( in 4-element array of float ClipDistance)
    208 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    209 0:12              Constant:
    210 0:12                1 (const int)
    211 0:12            Constant:
    212 0:12              1 (const int)
    213 0:12        move second child to first child ( temp float)
    214 0:12          direct index ( temp float)
    215 0:12            direct index ( temp 4-component vector of float)
    216 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    217 0:12              Constant:
    218 0:12                1 (const int)
    219 0:12            Constant:
    220 0:12              2 (const int)
    221 0:12          direct index ( in float ClipDistance)
    222 0:12            direct index ( in 4-element array of float ClipDistance)
    223 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    224 0:12              Constant:
    225 0:12                1 (const int)
    226 0:12            Constant:
    227 0:12              2 (const int)
    228 0:12        move second child to first child ( temp float)
    229 0:12          direct index ( temp float)
    230 0:12            direct index ( temp 4-component vector of float)
    231 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    232 0:12              Constant:
    233 0:12                1 (const int)
    234 0:12            Constant:
    235 0:12              3 (const int)
    236 0:12          direct index ( in float ClipDistance)
    237 0:12            direct index ( in 4-element array of float ClipDistance)
    238 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    239 0:12              Constant:
    240 0:12                1 (const int)
    241 0:12            Constant:
    242 0:12              3 (const int)
    243 0:12        move second child to first child ( temp float)
    244 0:12          direct index ( temp float)
    245 0:12            direct index ( temp 4-component vector of float)
    246 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    247 0:12              Constant:
    248 0:12                2 (const int)
    249 0:12            Constant:
    250 0:12              0 (const int)
    251 0:12          direct index ( in float ClipDistance)
    252 0:12            direct index ( in 4-element array of float ClipDistance)
    253 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    254 0:12              Constant:
    255 0:12                2 (const int)
    256 0:12            Constant:
    257 0:12              0 (const int)
    258 0:12        move second child to first child ( temp float)
    259 0:12          direct index ( temp float)
    260 0:12            direct index ( temp 4-component vector of float)
    261 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    262 0:12              Constant:
    263 0:12                2 (const int)
    264 0:12            Constant:
    265 0:12              1 (const int)
    266 0:12          direct index ( in float ClipDistance)
    267 0:12            direct index ( in 4-element array of float ClipDistance)
    268 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    269 0:12              Constant:
    270 0:12                2 (const int)
    271 0:12            Constant:
    272 0:12              1 (const int)
    273 0:12        move second child to first child ( temp float)
    274 0:12          direct index ( temp float)
    275 0:12            direct index ( temp 4-component vector of float)
    276 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    277 0:12              Constant:
    278 0:12                2 (const int)
    279 0:12            Constant:
    280 0:12              2 (const int)
    281 0:12          direct index ( in float ClipDistance)
    282 0:12            direct index ( in 4-element array of float ClipDistance)
    283 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    284 0:12              Constant:
    285 0:12                2 (const int)
    286 0:12            Constant:
    287 0:12              2 (const int)
    288 0:12        move second child to first child ( temp float)
    289 0:12          direct index ( temp float)
    290 0:12            direct index ( temp 4-component vector of float)
    291 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    292 0:12              Constant:
    293 0:12                2 (const int)
    294 0:12            Constant:
    295 0:12              3 (const int)
    296 0:12          direct index ( in float ClipDistance)
    297 0:12            direct index ( in 4-element array of float ClipDistance)
    298 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    299 0:12              Constant:
    300 0:12                2 (const int)
    301 0:12            Constant:
    302 0:12              3 (const int)
    303 0:12      Function Call: @main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3]; ( temp void)
    304 0:?         'pos' ( temp 3-element array of 4-component vector of float)
    305 0:?         'VertexID' ( temp 3-element array of uint)
    306 0:?         'OutputStream' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    307 0:?         'clip' ( temp 3-element array of 4-component vector of float)
    308 0:?   Linker Objects
    309 0:?     'pos' ( in 3-element array of 4-component vector of float Position)
    310 0:?     'VertexID' (layout( location=0) in 3-element array of uint)
    311 0:?     'OutputStream.pos' ( out 4-component vector of float Position)
    312 0:?     'clip' ( in 3-element array of 4-element array of float ClipDistance)
    313 0:?     'OutputStream.clip1' ( out 4-element array of float ClipDistance)
    314 
    315 
    316 Linked geometry stage:
    317 
    318 
    319 Shader version: 500
    320 invocations = 1
    321 max_vertices = 3
    322 input primitive = triangles
    323 output primitive = line_strip
    324 0:? Sequence
    325 0:12  Function Definition: @main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3]; ( temp void)
    326 0:12    Function Parameters: 
    327 0:12      'pos' ( in 3-element array of 4-component vector of float)
    328 0:12      'VertexID' ( in 3-element array of uint)
    329 0:12      'OutputStream' ( out structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    330 0:12      'clip' ( in 3-element array of 4-component vector of float)
    331 0:?     Sequence
    332 0:15      move second child to first child ( temp 4-component vector of float)
    333 0:15        pos: direct index for structure ( temp 4-component vector of float)
    334 0:15          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    335 0:15          Constant:
    336 0:15            0 (const int)
    337 0:15        direct index ( temp 4-component vector of float)
    338 0:15          'pos' ( in 3-element array of 4-component vector of float)
    339 0:15          Constant:
    340 0:15            0 (const int)
    341 0:16      move second child to first child ( temp 2-component vector of float)
    342 0:16        clip0: direct index for structure ( temp 2-component vector of float)
    343 0:16          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    344 0:16          Constant:
    345 0:16            1 (const int)
    346 0:16        vector swizzle ( temp 2-component vector of float)
    347 0:16          direct index ( temp 4-component vector of float)
    348 0:16            'clip' ( in 3-element array of 4-component vector of float)
    349 0:16            Constant:
    350 0:16              0 (const int)
    351 0:16          Sequence
    352 0:16            Constant:
    353 0:16              0 (const int)
    354 0:16            Constant:
    355 0:16              1 (const int)
    356 0:17      move second child to first child ( temp 2-component vector of float)
    357 0:17        clip1: direct index for structure ( temp 2-component vector of float)
    358 0:17          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    359 0:17          Constant:
    360 0:17            2 (const int)
    361 0:17        vector swizzle ( temp 2-component vector of float)
    362 0:17          direct index ( temp 4-component vector of float)
    363 0:17            'clip' ( in 3-element array of 4-component vector of float)
    364 0:17            Constant:
    365 0:17              0 (const int)
    366 0:17          Sequence
    367 0:17            Constant:
    368 0:17              2 (const int)
    369 0:17            Constant:
    370 0:17              3 (const int)
    371 0:19      Sequence
    372 0:19        Sequence
    373 0:19          move second child to first child ( temp 4-component vector of float)
    374 0:?             'OutputStream.pos' ( out 4-component vector of float Position)
    375 0:19            pos: direct index for structure ( temp 4-component vector of float)
    376 0:19              's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    377 0:19              Constant:
    378 0:19                0 (const int)
    379 0:?           Sequence
    380 0:19            move second child to first child ( temp float)
    381 0:19              direct index ( out float ClipDistance)
    382 0:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
    383 0:19                Constant:
    384 0:19                  0 (const int)
    385 0:19              direct index ( temp float)
    386 0:19                clip0: direct index for structure ( temp 2-component vector of float)
    387 0:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    388 0:19                  Constant:
    389 0:19                    1 (const int)
    390 0:19                Constant:
    391 0:19                  0 (const int)
    392 0:19            move second child to first child ( temp float)
    393 0:19              direct index ( out float ClipDistance)
    394 0:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
    395 0:19                Constant:
    396 0:19                  1 (const int)
    397 0:19              direct index ( temp float)
    398 0:19                clip0: direct index for structure ( temp 2-component vector of float)
    399 0:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    400 0:19                  Constant:
    401 0:19                    1 (const int)
    402 0:19                Constant:
    403 0:19                  1 (const int)
    404 0:?           Sequence
    405 0:19            move second child to first child ( temp float)
    406 0:19              direct index ( out float ClipDistance)
    407 0:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
    408 0:19                Constant:
    409 0:19                  2 (const int)
    410 0:19              direct index ( temp float)
    411 0:19                clip1: direct index for structure ( temp 2-component vector of float)
    412 0:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    413 0:19                  Constant:
    414 0:19                    2 (const int)
    415 0:19                Constant:
    416 0:19                  0 (const int)
    417 0:19            move second child to first child ( temp float)
    418 0:19              direct index ( out float ClipDistance)
    419 0:?                 'OutputStream.clip1' ( out 4-element array of float ClipDistance)
    420 0:19                Constant:
    421 0:19                  3 (const int)
    422 0:19              direct index ( temp float)
    423 0:19                clip1: direct index for structure ( temp 2-component vector of float)
    424 0:19                  's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    425 0:19                  Constant:
    426 0:19                    2 (const int)
    427 0:19                Constant:
    428 0:19                  1 (const int)
    429 0:19        EmitVertex ( temp void)
    430 0:12  Function Definition: main( ( temp void)
    431 0:12    Function Parameters: 
    432 0:?     Sequence
    433 0:12      move second child to first child ( temp 3-element array of 4-component vector of float)
    434 0:?         'pos' ( temp 3-element array of 4-component vector of float)
    435 0:?         'pos' ( in 3-element array of 4-component vector of float Position)
    436 0:12      move second child to first child ( temp 3-element array of uint)
    437 0:?         'VertexID' ( temp 3-element array of uint)
    438 0:?         'VertexID' (layout( location=0) in 3-element array of uint)
    439 0:?       Sequence
    440 0:12        move second child to first child ( temp float)
    441 0:12          direct index ( temp float)
    442 0:12            direct index ( temp 4-component vector of float)
    443 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    444 0:12              Constant:
    445 0:12                0 (const int)
    446 0:12            Constant:
    447 0:12              0 (const int)
    448 0:12          direct index ( in float ClipDistance)
    449 0:12            direct index ( in 4-element array of float ClipDistance)
    450 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    451 0:12              Constant:
    452 0:12                0 (const int)
    453 0:12            Constant:
    454 0:12              0 (const int)
    455 0:12        move second child to first child ( temp float)
    456 0:12          direct index ( temp float)
    457 0:12            direct index ( temp 4-component vector of float)
    458 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    459 0:12              Constant:
    460 0:12                0 (const int)
    461 0:12            Constant:
    462 0:12              1 (const int)
    463 0:12          direct index ( in float ClipDistance)
    464 0:12            direct index ( in 4-element array of float ClipDistance)
    465 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    466 0:12              Constant:
    467 0:12                0 (const int)
    468 0:12            Constant:
    469 0:12              1 (const int)
    470 0:12        move second child to first child ( temp float)
    471 0:12          direct index ( temp float)
    472 0:12            direct index ( temp 4-component vector of float)
    473 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    474 0:12              Constant:
    475 0:12                0 (const int)
    476 0:12            Constant:
    477 0:12              2 (const int)
    478 0:12          direct index ( in float ClipDistance)
    479 0:12            direct index ( in 4-element array of float ClipDistance)
    480 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    481 0:12              Constant:
    482 0:12                0 (const int)
    483 0:12            Constant:
    484 0:12              2 (const int)
    485 0:12        move second child to first child ( temp float)
    486 0:12          direct index ( temp float)
    487 0:12            direct index ( temp 4-component vector of float)
    488 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    489 0:12              Constant:
    490 0:12                0 (const int)
    491 0:12            Constant:
    492 0:12              3 (const int)
    493 0:12          direct index ( in float ClipDistance)
    494 0:12            direct index ( in 4-element array of float ClipDistance)
    495 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    496 0:12              Constant:
    497 0:12                0 (const int)
    498 0:12            Constant:
    499 0:12              3 (const int)
    500 0:12        move second child to first child ( temp float)
    501 0:12          direct index ( temp float)
    502 0:12            direct index ( temp 4-component vector of float)
    503 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    504 0:12              Constant:
    505 0:12                1 (const int)
    506 0:12            Constant:
    507 0:12              0 (const int)
    508 0:12          direct index ( in float ClipDistance)
    509 0:12            direct index ( in 4-element array of float ClipDistance)
    510 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    511 0:12              Constant:
    512 0:12                1 (const int)
    513 0:12            Constant:
    514 0:12              0 (const int)
    515 0:12        move second child to first child ( temp float)
    516 0:12          direct index ( temp float)
    517 0:12            direct index ( temp 4-component vector of float)
    518 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    519 0:12              Constant:
    520 0:12                1 (const int)
    521 0:12            Constant:
    522 0:12              1 (const int)
    523 0:12          direct index ( in float ClipDistance)
    524 0:12            direct index ( in 4-element array of float ClipDistance)
    525 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    526 0:12              Constant:
    527 0:12                1 (const int)
    528 0:12            Constant:
    529 0:12              1 (const int)
    530 0:12        move second child to first child ( temp float)
    531 0:12          direct index ( temp float)
    532 0:12            direct index ( temp 4-component vector of float)
    533 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    534 0:12              Constant:
    535 0:12                1 (const int)
    536 0:12            Constant:
    537 0:12              2 (const int)
    538 0:12          direct index ( in float ClipDistance)
    539 0:12            direct index ( in 4-element array of float ClipDistance)
    540 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    541 0:12              Constant:
    542 0:12                1 (const int)
    543 0:12            Constant:
    544 0:12              2 (const int)
    545 0:12        move second child to first child ( temp float)
    546 0:12          direct index ( temp float)
    547 0:12            direct index ( temp 4-component vector of float)
    548 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    549 0:12              Constant:
    550 0:12                1 (const int)
    551 0:12            Constant:
    552 0:12              3 (const int)
    553 0:12          direct index ( in float ClipDistance)
    554 0:12            direct index ( in 4-element array of float ClipDistance)
    555 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    556 0:12              Constant:
    557 0:12                1 (const int)
    558 0:12            Constant:
    559 0:12              3 (const int)
    560 0:12        move second child to first child ( temp float)
    561 0:12          direct index ( temp float)
    562 0:12            direct index ( temp 4-component vector of float)
    563 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    564 0:12              Constant:
    565 0:12                2 (const int)
    566 0:12            Constant:
    567 0:12              0 (const int)
    568 0:12          direct index ( in float ClipDistance)
    569 0:12            direct index ( in 4-element array of float ClipDistance)
    570 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    571 0:12              Constant:
    572 0:12                2 (const int)
    573 0:12            Constant:
    574 0:12              0 (const int)
    575 0:12        move second child to first child ( temp float)
    576 0:12          direct index ( temp float)
    577 0:12            direct index ( temp 4-component vector of float)
    578 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    579 0:12              Constant:
    580 0:12                2 (const int)
    581 0:12            Constant:
    582 0:12              1 (const int)
    583 0:12          direct index ( in float ClipDistance)
    584 0:12            direct index ( in 4-element array of float ClipDistance)
    585 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    586 0:12              Constant:
    587 0:12                2 (const int)
    588 0:12            Constant:
    589 0:12              1 (const int)
    590 0:12        move second child to first child ( temp float)
    591 0:12          direct index ( temp float)
    592 0:12            direct index ( temp 4-component vector of float)
    593 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    594 0:12              Constant:
    595 0:12                2 (const int)
    596 0:12            Constant:
    597 0:12              2 (const int)
    598 0:12          direct index ( in float ClipDistance)
    599 0:12            direct index ( in 4-element array of float ClipDistance)
    600 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    601 0:12              Constant:
    602 0:12                2 (const int)
    603 0:12            Constant:
    604 0:12              2 (const int)
    605 0:12        move second child to first child ( temp float)
    606 0:12          direct index ( temp float)
    607 0:12            direct index ( temp 4-component vector of float)
    608 0:?               'clip' ( temp 3-element array of 4-component vector of float)
    609 0:12              Constant:
    610 0:12                2 (const int)
    611 0:12            Constant:
    612 0:12              3 (const int)
    613 0:12          direct index ( in float ClipDistance)
    614 0:12            direct index ( in 4-element array of float ClipDistance)
    615 0:?               'clip' ( in 3-element array of 4-element array of float ClipDistance)
    616 0:12              Constant:
    617 0:12                2 (const int)
    618 0:12            Constant:
    619 0:12              3 (const int)
    620 0:12      Function Call: @main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3]; ( temp void)
    621 0:?         'pos' ( temp 3-element array of 4-component vector of float)
    622 0:?         'VertexID' ( temp 3-element array of uint)
    623 0:?         'OutputStream' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float clip0,  temp 2-component vector of float clip1})
    624 0:?         'clip' ( temp 3-element array of 4-component vector of float)
    625 0:?   Linker Objects
    626 0:?     'pos' ( in 3-element array of 4-component vector of float Position)
    627 0:?     'VertexID' (layout( location=0) in 3-element array of uint)
    628 0:?     'OutputStream.pos' ( out 4-component vector of float Position)
    629 0:?     'clip' ( in 3-element array of 4-element array of float ClipDistance)
    630 0:?     'OutputStream.clip1' ( out 4-element array of float ClipDistance)
    631 
    632 // Module Version 10000
    633 // Generated by (magic number): 80007
    634 // Id's are bound by 127
    635 
    636                               Capability Geometry
    637                               Capability ClipDistance
    638                1:             ExtInstImport  "GLSL.std.450"
    639                               MemoryModel Logical GLSL450
    640                               EntryPoint Geometry 4  "main" 43 49 69 73 78
    641                               ExecutionMode 4 Triangles
    642                               ExecutionMode 4 Invocations 1
    643                               ExecutionMode 4 OutputLineStrip
    644                               ExecutionMode 4 OutputVertices 3
    645                               Source HLSL 500
    646                               Name 4  "main"
    647                               Name 15  "S"
    648                               MemberName 15(S) 0  "pos"
    649                               MemberName 15(S) 1  "clip0"
    650                               MemberName 15(S) 2  "clip1"
    651                               Name 22  "@main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3];"
    652                               Name 18  "pos"
    653                               Name 19  "VertexID"
    654                               Name 20  "OutputStream"
    655                               Name 21  "clip"
    656                               Name 24  "s"
    657                               Name 43  "OutputStream.pos"
    658                               Name 49  "OutputStream.clip1"
    659                               Name 67  "pos"
    660                               Name 69  "pos"
    661                               Name 71  "VertexID"
    662                               Name 73  "VertexID"
    663                               Name 75  "clip"
    664                               Name 78  "clip"
    665                               Name 117  "OutputStream"
    666                               Name 118  "param"
    667                               Name 120  "param"
    668                               Name 122  "param"
    669                               Name 123  "param"
    670                               Decorate 43(OutputStream.pos) BuiltIn Position
    671                               Decorate 49(OutputStream.clip1) BuiltIn ClipDistance
    672                               Decorate 69(pos) BuiltIn Position
    673                               Decorate 73(VertexID) Location 0
    674                               Decorate 78(clip) BuiltIn ClipDistance
    675                2:             TypeVoid
    676                3:             TypeFunction 2
    677                6:             TypeFloat 32
    678                7:             TypeVector 6(float) 4
    679                8:             TypeInt 32 0
    680                9:      8(int) Constant 3
    681               10:             TypeArray 7(fvec4) 9
    682               11:             TypePointer Function 10
    683               12:             TypeArray 8(int) 9
    684               13:             TypePointer Function 12
    685               14:             TypeVector 6(float) 2
    686            15(S):             TypeStruct 7(fvec4) 14(fvec2) 14(fvec2)
    687               16:             TypePointer Function 15(S)
    688               17:             TypeFunction 2 11(ptr) 13(ptr) 16(ptr) 11(ptr)
    689               25:             TypeInt 32 1
    690               26:     25(int) Constant 0
    691               27:             TypePointer Function 7(fvec4)
    692               31:     25(int) Constant 1
    693               35:             TypePointer Function 14(fvec2)
    694               37:     25(int) Constant 2
    695               42:             TypePointer Output 7(fvec4)
    696 43(OutputStream.pos):     42(ptr) Variable Output
    697               46:      8(int) Constant 4
    698               47:             TypeArray 6(float) 46
    699               48:             TypePointer Output 47
    700 49(OutputStream.clip1):     48(ptr) Variable Output
    701               50:      8(int) Constant 0
    702               51:             TypePointer Function 6(float)
    703               54:             TypePointer Output 6(float)
    704               56:      8(int) Constant 1
    705               63:     25(int) Constant 3
    706               68:             TypePointer Input 10
    707          69(pos):     68(ptr) Variable Input
    708               72:             TypePointer Input 12
    709     73(VertexID):     72(ptr) Variable Input
    710               76:             TypeArray 47 9
    711               77:             TypePointer Input 76
    712         78(clip):     77(ptr) Variable Input
    713               79:             TypePointer Input 6(float)
    714               88:      8(int) Constant 2
    715          4(main):           2 Function None 3
    716                5:             Label
    717          67(pos):     11(ptr) Variable Function
    718     71(VertexID):     13(ptr) Variable Function
    719         75(clip):     11(ptr) Variable Function
    720 117(OutputStream):     16(ptr) Variable Function
    721       118(param):     11(ptr) Variable Function
    722       120(param):     13(ptr) Variable Function
    723       122(param):     16(ptr) Variable Function
    724       123(param):     11(ptr) Variable Function
    725               70:          10 Load 69(pos)
    726                               Store 67(pos) 70
    727               74:          12 Load 73(VertexID)
    728                               Store 71(VertexID) 74
    729               80:     79(ptr) AccessChain 78(clip) 26 26
    730               81:    6(float) Load 80
    731               82:     51(ptr) AccessChain 75(clip) 26 50
    732                               Store 82 81
    733               83:     79(ptr) AccessChain 78(clip) 26 31
    734               84:    6(float) Load 83
    735               85:     51(ptr) AccessChain 75(clip) 26 56
    736                               Store 85 84
    737               86:     79(ptr) AccessChain 78(clip) 26 37
    738               87:    6(float) Load 86
    739               89:     51(ptr) AccessChain 75(clip) 26 88
    740                               Store 89 87
    741               90:     79(ptr) AccessChain 78(clip) 26 63
    742               91:    6(float) Load 90
    743               92:     51(ptr) AccessChain 75(clip) 26 9
    744                               Store 92 91
    745               93:     79(ptr) AccessChain 78(clip) 31 26
    746               94:    6(float) Load 93
    747               95:     51(ptr) AccessChain 75(clip) 31 50
    748                               Store 95 94
    749               96:     79(ptr) AccessChain 78(clip) 31 31
    750               97:    6(float) Load 96
    751               98:     51(ptr) AccessChain 75(clip) 31 56
    752                               Store 98 97
    753               99:     79(ptr) AccessChain 78(clip) 31 37
    754              100:    6(float) Load 99
    755              101:     51(ptr) AccessChain 75(clip) 31 88
    756                               Store 101 100
    757              102:     79(ptr) AccessChain 78(clip) 31 63
    758              103:    6(float) Load 102
    759              104:     51(ptr) AccessChain 75(clip) 31 9
    760                               Store 104 103
    761              105:     79(ptr) AccessChain 78(clip) 37 26
    762              106:    6(float) Load 105
    763              107:     51(ptr) AccessChain 75(clip) 37 50
    764                               Store 107 106
    765              108:     79(ptr) AccessChain 78(clip) 37 31
    766              109:    6(float) Load 108
    767              110:     51(ptr) AccessChain 75(clip) 37 56
    768                               Store 110 109
    769              111:     79(ptr) AccessChain 78(clip) 37 37
    770              112:    6(float) Load 111
    771              113:     51(ptr) AccessChain 75(clip) 37 88
    772                               Store 113 112
    773              114:     79(ptr) AccessChain 78(clip) 37 63
    774              115:    6(float) Load 114
    775              116:     51(ptr) AccessChain 75(clip) 37 9
    776                               Store 116 115
    777              119:          10 Load 67(pos)
    778                               Store 118(param) 119
    779              121:          12 Load 71(VertexID)
    780                               Store 120(param) 121
    781              124:          10 Load 75(clip)
    782                               Store 123(param) 124
    783              125:           2 FunctionCall 22(@main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3];) 118(param) 120(param) 122(param) 123(param)
    784              126:       15(S) Load 122(param)
    785                               Store 117(OutputStream) 126
    786                               Return
    787                               FunctionEnd
    788 22(@main(vf4[3];u1[3];struct-S-vf4-vf2-vf21;vf4[3];):           2 Function None 17
    789          18(pos):     11(ptr) FunctionParameter
    790     19(VertexID):     13(ptr) FunctionParameter
    791 20(OutputStream):     16(ptr) FunctionParameter
    792         21(clip):     11(ptr) FunctionParameter
    793               23:             Label
    794            24(s):     16(ptr) Variable Function
    795               28:     27(ptr) AccessChain 18(pos) 26
    796               29:    7(fvec4) Load 28
    797               30:     27(ptr) AccessChain 24(s) 26
    798                               Store 30 29
    799               32:     27(ptr) AccessChain 21(clip) 26
    800               33:    7(fvec4) Load 32
    801               34:   14(fvec2) VectorShuffle 33 33 0 1
    802               36:     35(ptr) AccessChain 24(s) 31
    803                               Store 36 34
    804               38:     27(ptr) AccessChain 21(clip) 26
    805               39:    7(fvec4) Load 38
    806               40:   14(fvec2) VectorShuffle 39 39 2 3
    807               41:     35(ptr) AccessChain 24(s) 37
    808                               Store 41 40
    809               44:     27(ptr) AccessChain 24(s) 26
    810               45:    7(fvec4) Load 44
    811                               Store 43(OutputStream.pos) 45
    812               52:     51(ptr) AccessChain 24(s) 31 50
    813               53:    6(float) Load 52
    814               55:     54(ptr) AccessChain 49(OutputStream.clip1) 26
    815                               Store 55 53
    816               57:     51(ptr) AccessChain 24(s) 31 56
    817               58:    6(float) Load 57
    818               59:     54(ptr) AccessChain 49(OutputStream.clip1) 31
    819                               Store 59 58
    820               60:     51(ptr) AccessChain 24(s) 37 50
    821               61:    6(float) Load 60
    822               62:     54(ptr) AccessChain 49(OutputStream.clip1) 37
    823                               Store 62 61
    824               64:     51(ptr) AccessChain 24(s) 37 56
    825               65:    6(float) Load 64
    826               66:     54(ptr) AccessChain 49(OutputStream.clip1) 63
    827                               Store 66 65
    828                               EmitVertex
    829                               Return
    830                               FunctionEnd
    831