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