Home | History | Annotate | Download | only in baseResults
      1 hlsl.clipdistance-2.vert
      2 Shader version: 500
      3 0:? Sequence
      4 0:4  Function Definition: @main(vf4;vf2[2];vf2[2]; ( temp void)
      5 0:4    Function Parameters: 
      6 0:4      'pos' ( out 4-component vector of float)
      7 0:4      'clip' ( out 2-element array of 2-component vector of float)
      8 0:4      'cull' ( out 2-element array of 2-component vector of float)
      9 0:?     Sequence
     10 0:5      move second child to first child ( temp 4-component vector of float)
     11 0:5        'pos' ( out 4-component vector of float)
     12 0:5        Constant:
     13 0:5          1.000000
     14 0:5          1.000000
     15 0:5          1.000000
     16 0:5          1.000000
     17 0:6      move second child to first child ( temp float)
     18 0:6        direct index ( temp float)
     19 0:6          direct index ( temp 2-component vector of float)
     20 0:6            'clip' ( out 2-element array of 2-component vector of float)
     21 0:6            Constant:
     22 0:6              0 (const int)
     23 0:6          Constant:
     24 0:6            0 (const int)
     25 0:6        Constant:
     26 0:6          0.500000
     27 0:7      move second child to first child ( temp float)
     28 0:7        direct index ( temp float)
     29 0:7          direct index ( temp 2-component vector of float)
     30 0:7            'clip' ( out 2-element array of 2-component vector of float)
     31 0:7            Constant:
     32 0:7              0 (const int)
     33 0:7          Constant:
     34 0:7            1 (const int)
     35 0:7        Constant:
     36 0:7          0.600000
     37 0:8      move second child to first child ( temp float)
     38 0:8        direct index ( temp float)
     39 0:8          direct index ( temp 2-component vector of float)
     40 0:8            'clip' ( out 2-element array of 2-component vector of float)
     41 0:8            Constant:
     42 0:8              1 (const int)
     43 0:8          Constant:
     44 0:8            0 (const int)
     45 0:8        Constant:
     46 0:8          0.700000
     47 0:9      move second child to first child ( temp float)
     48 0:9        direct index ( temp float)
     49 0:9          direct index ( temp 2-component vector of float)
     50 0:9            'clip' ( out 2-element array of 2-component vector of float)
     51 0:9            Constant:
     52 0:9              1 (const int)
     53 0:9          Constant:
     54 0:9            1 (const int)
     55 0:9        Constant:
     56 0:9          0.800000
     57 0:11      move second child to first child ( temp float)
     58 0:11        direct index ( temp float)
     59 0:11          direct index ( temp 2-component vector of float)
     60 0:11            'cull' ( out 2-element array of 2-component vector of float)
     61 0:11            Constant:
     62 0:11              0 (const int)
     63 0:11          Constant:
     64 0:11            0 (const int)
     65 0:11        Constant:
     66 0:11          0.525000
     67 0:12      move second child to first child ( temp float)
     68 0:12        direct index ( temp float)
     69 0:12          direct index ( temp 2-component vector of float)
     70 0:12            'cull' ( out 2-element array of 2-component vector of float)
     71 0:12            Constant:
     72 0:12              0 (const int)
     73 0:12          Constant:
     74 0:12            1 (const int)
     75 0:12        Constant:
     76 0:12          0.625000
     77 0:13      move second child to first child ( temp float)
     78 0:13        direct index ( temp float)
     79 0:13          direct index ( temp 2-component vector of float)
     80 0:13            'cull' ( out 2-element array of 2-component vector of float)
     81 0:13            Constant:
     82 0:13              1 (const int)
     83 0:13          Constant:
     84 0:13            0 (const int)
     85 0:13        Constant:
     86 0:13          0.725000
     87 0:14      move second child to first child ( temp float)
     88 0:14        direct index ( temp float)
     89 0:14          direct index ( temp 2-component vector of float)
     90 0:14            'cull' ( out 2-element array of 2-component vector of float)
     91 0:14            Constant:
     92 0:14              1 (const int)
     93 0:14          Constant:
     94 0:14            1 (const int)
     95 0:14        Constant:
     96 0:14          0.825000
     97 0:4  Function Definition: main( ( temp void)
     98 0:4    Function Parameters: 
     99 0:?     Sequence
    100 0:4      Function Call: @main(vf4;vf2[2];vf2[2]; ( temp void)
    101 0:?         'pos' ( temp 4-component vector of float)
    102 0:?         'clip' ( temp 2-element array of 2-component vector of float)
    103 0:?         'cull' ( temp 2-element array of 2-component vector of float)
    104 0:4      move second child to first child ( temp 4-component vector of float)
    105 0:?         'pos' ( out 4-component vector of float Position)
    106 0:?         'pos' ( temp 4-component vector of float)
    107 0:?       Sequence
    108 0:4        move second child to first child ( temp float)
    109 0:4          direct index ( out float ClipDistance)
    110 0:?             'clip' ( out 4-element array of float ClipDistance)
    111 0:4            Constant:
    112 0:4              0 (const int)
    113 0:4          direct index ( temp float)
    114 0:4            direct index ( temp 2-component vector of float)
    115 0:?               'clip' ( temp 2-element array of 2-component vector of float)
    116 0:4              Constant:
    117 0:4                0 (const int)
    118 0:4            Constant:
    119 0:4              0 (const int)
    120 0:4        move second child to first child ( temp float)
    121 0:4          direct index ( out float ClipDistance)
    122 0:?             'clip' ( out 4-element array of float ClipDistance)
    123 0:4            Constant:
    124 0:4              1 (const int)
    125 0:4          direct index ( temp float)
    126 0:4            direct index ( temp 2-component vector of float)
    127 0:?               'clip' ( temp 2-element array of 2-component vector of float)
    128 0:4              Constant:
    129 0:4                0 (const int)
    130 0:4            Constant:
    131 0:4              1 (const int)
    132 0:4        move second child to first child ( temp float)
    133 0:4          direct index ( out float ClipDistance)
    134 0:?             'clip' ( out 4-element array of float ClipDistance)
    135 0:4            Constant:
    136 0:4              2 (const int)
    137 0:4          direct index ( temp float)
    138 0:4            direct index ( temp 2-component vector of float)
    139 0:?               'clip' ( temp 2-element array of 2-component vector of float)
    140 0:4              Constant:
    141 0:4                1 (const int)
    142 0:4            Constant:
    143 0:4              0 (const int)
    144 0:4        move second child to first child ( temp float)
    145 0:4          direct index ( out float ClipDistance)
    146 0:?             'clip' ( out 4-element array of float ClipDistance)
    147 0:4            Constant:
    148 0:4              3 (const int)
    149 0:4          direct index ( temp float)
    150 0:4            direct index ( temp 2-component vector of float)
    151 0:?               'clip' ( temp 2-element array of 2-component vector of float)
    152 0:4              Constant:
    153 0:4                1 (const int)
    154 0:4            Constant:
    155 0:4              1 (const int)
    156 0:?       Sequence
    157 0:4        move second child to first child ( temp float)
    158 0:4          direct index ( out float CullDistance)
    159 0:?             'cull' ( out 4-element array of float CullDistance)
    160 0:4            Constant:
    161 0:4              0 (const int)
    162 0:4          direct index ( temp float)
    163 0:4            direct index ( temp 2-component vector of float)
    164 0:?               'cull' ( temp 2-element array of 2-component vector of float)
    165 0:4              Constant:
    166 0:4                0 (const int)
    167 0:4            Constant:
    168 0:4              0 (const int)
    169 0:4        move second child to first child ( temp float)
    170 0:4          direct index ( out float CullDistance)
    171 0:?             'cull' ( out 4-element array of float CullDistance)
    172 0:4            Constant:
    173 0:4              1 (const int)
    174 0:4          direct index ( temp float)
    175 0:4            direct index ( temp 2-component vector of float)
    176 0:?               'cull' ( temp 2-element array of 2-component vector of float)
    177 0:4              Constant:
    178 0:4                0 (const int)
    179 0:4            Constant:
    180 0:4              1 (const int)
    181 0:4        move second child to first child ( temp float)
    182 0:4          direct index ( out float CullDistance)
    183 0:?             'cull' ( out 4-element array of float CullDistance)
    184 0:4            Constant:
    185 0:4              2 (const int)
    186 0:4          direct index ( temp float)
    187 0:4            direct index ( temp 2-component vector of float)
    188 0:?               'cull' ( temp 2-element array of 2-component vector of float)
    189 0:4              Constant:
    190 0:4                1 (const int)
    191 0:4            Constant:
    192 0:4              0 (const int)
    193 0:4        move second child to first child ( temp float)
    194 0:4          direct index ( out float CullDistance)
    195 0:?             'cull' ( out 4-element array of float CullDistance)
    196 0:4            Constant:
    197 0:4              3 (const int)
    198 0:4          direct index ( temp float)
    199 0:4            direct index ( temp 2-component vector of float)
    200 0:?               'cull' ( temp 2-element array of 2-component vector of float)
    201 0:4              Constant:
    202 0:4                1 (const int)
    203 0:4            Constant:
    204 0:4              1 (const int)
    205 0:?   Linker Objects
    206 0:?     'pos' ( out 4-component vector of float Position)
    207 0:?     'clip' ( out 4-element array of float ClipDistance)
    208 0:?     'cull' ( out 4-element array of float CullDistance)
    209 
    210 
    211 Linked vertex stage:
    212 
    213 
    214 Shader version: 500
    215 0:? Sequence
    216 0:4  Function Definition: @main(vf4;vf2[2];vf2[2]; ( temp void)
    217 0:4    Function Parameters: 
    218 0:4      'pos' ( out 4-component vector of float)
    219 0:4      'clip' ( out 2-element array of 2-component vector of float)
    220 0:4      'cull' ( out 2-element array of 2-component vector of float)
    221 0:?     Sequence
    222 0:5      move second child to first child ( temp 4-component vector of float)
    223 0:5        'pos' ( out 4-component vector of float)
    224 0:5        Constant:
    225 0:5          1.000000
    226 0:5          1.000000
    227 0:5          1.000000
    228 0:5          1.000000
    229 0:6      move second child to first child ( temp float)
    230 0:6        direct index ( temp float)
    231 0:6          direct index ( temp 2-component vector of float)
    232 0:6            'clip' ( out 2-element array of 2-component vector of float)
    233 0:6            Constant:
    234 0:6              0 (const int)
    235 0:6          Constant:
    236 0:6            0 (const int)
    237 0:6        Constant:
    238 0:6          0.500000
    239 0:7      move second child to first child ( temp float)
    240 0:7        direct index ( temp float)
    241 0:7          direct index ( temp 2-component vector of float)
    242 0:7            'clip' ( out 2-element array of 2-component vector of float)
    243 0:7            Constant:
    244 0:7              0 (const int)
    245 0:7          Constant:
    246 0:7            1 (const int)
    247 0:7        Constant:
    248 0:7          0.600000
    249 0:8      move second child to first child ( temp float)
    250 0:8        direct index ( temp float)
    251 0:8          direct index ( temp 2-component vector of float)
    252 0:8            'clip' ( out 2-element array of 2-component vector of float)
    253 0:8            Constant:
    254 0:8              1 (const int)
    255 0:8          Constant:
    256 0:8            0 (const int)
    257 0:8        Constant:
    258 0:8          0.700000
    259 0:9      move second child to first child ( temp float)
    260 0:9        direct index ( temp float)
    261 0:9          direct index ( temp 2-component vector of float)
    262 0:9            'clip' ( out 2-element array of 2-component vector of float)
    263 0:9            Constant:
    264 0:9              1 (const int)
    265 0:9          Constant:
    266 0:9            1 (const int)
    267 0:9        Constant:
    268 0:9          0.800000
    269 0:11      move second child to first child ( temp float)
    270 0:11        direct index ( temp float)
    271 0:11          direct index ( temp 2-component vector of float)
    272 0:11            'cull' ( out 2-element array of 2-component vector of float)
    273 0:11            Constant:
    274 0:11              0 (const int)
    275 0:11          Constant:
    276 0:11            0 (const int)
    277 0:11        Constant:
    278 0:11          0.525000
    279 0:12      move second child to first child ( temp float)
    280 0:12        direct index ( temp float)
    281 0:12          direct index ( temp 2-component vector of float)
    282 0:12            'cull' ( out 2-element array of 2-component vector of float)
    283 0:12            Constant:
    284 0:12              0 (const int)
    285 0:12          Constant:
    286 0:12            1 (const int)
    287 0:12        Constant:
    288 0:12          0.625000
    289 0:13      move second child to first child ( temp float)
    290 0:13        direct index ( temp float)
    291 0:13          direct index ( temp 2-component vector of float)
    292 0:13            'cull' ( out 2-element array of 2-component vector of float)
    293 0:13            Constant:
    294 0:13              1 (const int)
    295 0:13          Constant:
    296 0:13            0 (const int)
    297 0:13        Constant:
    298 0:13          0.725000
    299 0:14      move second child to first child ( temp float)
    300 0:14        direct index ( temp float)
    301 0:14          direct index ( temp 2-component vector of float)
    302 0:14            'cull' ( out 2-element array of 2-component vector of float)
    303 0:14            Constant:
    304 0:14              1 (const int)
    305 0:14          Constant:
    306 0:14            1 (const int)
    307 0:14        Constant:
    308 0:14          0.825000
    309 0:4  Function Definition: main( ( temp void)
    310 0:4    Function Parameters: 
    311 0:?     Sequence
    312 0:4      Function Call: @main(vf4;vf2[2];vf2[2]; ( temp void)
    313 0:?         'pos' ( temp 4-component vector of float)
    314 0:?         'clip' ( temp 2-element array of 2-component vector of float)
    315 0:?         'cull' ( temp 2-element array of 2-component vector of float)
    316 0:4      move second child to first child ( temp 4-component vector of float)
    317 0:?         'pos' ( out 4-component vector of float Position)
    318 0:?         'pos' ( temp 4-component vector of float)
    319 0:?       Sequence
    320 0:4        move second child to first child ( temp float)
    321 0:4          direct index ( out float ClipDistance)
    322 0:?             'clip' ( out 4-element array of float ClipDistance)
    323 0:4            Constant:
    324 0:4              0 (const int)
    325 0:4          direct index ( temp float)
    326 0:4            direct index ( temp 2-component vector of float)
    327 0:?               'clip' ( temp 2-element array of 2-component vector of float)
    328 0:4              Constant:
    329 0:4                0 (const int)
    330 0:4            Constant:
    331 0:4              0 (const int)
    332 0:4        move second child to first child ( temp float)
    333 0:4          direct index ( out float ClipDistance)
    334 0:?             'clip' ( out 4-element array of float ClipDistance)
    335 0:4            Constant:
    336 0:4              1 (const int)
    337 0:4          direct index ( temp float)
    338 0:4            direct index ( temp 2-component vector of float)
    339 0:?               'clip' ( temp 2-element array of 2-component vector of float)
    340 0:4              Constant:
    341 0:4                0 (const int)
    342 0:4            Constant:
    343 0:4              1 (const int)
    344 0:4        move second child to first child ( temp float)
    345 0:4          direct index ( out float ClipDistance)
    346 0:?             'clip' ( out 4-element array of float ClipDistance)
    347 0:4            Constant:
    348 0:4              2 (const int)
    349 0:4          direct index ( temp float)
    350 0:4            direct index ( temp 2-component vector of float)
    351 0:?               'clip' ( temp 2-element array of 2-component vector of float)
    352 0:4              Constant:
    353 0:4                1 (const int)
    354 0:4            Constant:
    355 0:4              0 (const int)
    356 0:4        move second child to first child ( temp float)
    357 0:4          direct index ( out float ClipDistance)
    358 0:?             'clip' ( out 4-element array of float ClipDistance)
    359 0:4            Constant:
    360 0:4              3 (const int)
    361 0:4          direct index ( temp float)
    362 0:4            direct index ( temp 2-component vector of float)
    363 0:?               'clip' ( temp 2-element array of 2-component vector of float)
    364 0:4              Constant:
    365 0:4                1 (const int)
    366 0:4            Constant:
    367 0:4              1 (const int)
    368 0:?       Sequence
    369 0:4        move second child to first child ( temp float)
    370 0:4          direct index ( out float CullDistance)
    371 0:?             'cull' ( out 4-element array of float CullDistance)
    372 0:4            Constant:
    373 0:4              0 (const int)
    374 0:4          direct index ( temp float)
    375 0:4            direct index ( temp 2-component vector of float)
    376 0:?               'cull' ( temp 2-element array of 2-component vector of float)
    377 0:4              Constant:
    378 0:4                0 (const int)
    379 0:4            Constant:
    380 0:4              0 (const int)
    381 0:4        move second child to first child ( temp float)
    382 0:4          direct index ( out float CullDistance)
    383 0:?             'cull' ( out 4-element array of float CullDistance)
    384 0:4            Constant:
    385 0:4              1 (const int)
    386 0:4          direct index ( temp float)
    387 0:4            direct index ( temp 2-component vector of float)
    388 0:?               'cull' ( temp 2-element array of 2-component vector of float)
    389 0:4              Constant:
    390 0:4                0 (const int)
    391 0:4            Constant:
    392 0:4              1 (const int)
    393 0:4        move second child to first child ( temp float)
    394 0:4          direct index ( out float CullDistance)
    395 0:?             'cull' ( out 4-element array of float CullDistance)
    396 0:4            Constant:
    397 0:4              2 (const int)
    398 0:4          direct index ( temp float)
    399 0:4            direct index ( temp 2-component vector of float)
    400 0:?               'cull' ( temp 2-element array of 2-component vector of float)
    401 0:4              Constant:
    402 0:4                1 (const int)
    403 0:4            Constant:
    404 0:4              0 (const int)
    405 0:4        move second child to first child ( temp float)
    406 0:4          direct index ( out float CullDistance)
    407 0:?             'cull' ( out 4-element array of float CullDistance)
    408 0:4            Constant:
    409 0:4              3 (const int)
    410 0:4          direct index ( temp float)
    411 0:4            direct index ( temp 2-component vector of float)
    412 0:?               'cull' ( temp 2-element array of 2-component vector of float)
    413 0:4              Constant:
    414 0:4                1 (const int)
    415 0:4            Constant:
    416 0:4              1 (const int)
    417 0:?   Linker Objects
    418 0:?     'pos' ( out 4-component vector of float Position)
    419 0:?     'clip' ( out 4-element array of float ClipDistance)
    420 0:?     'cull' ( out 4-element array of float CullDistance)
    421 
    422 // Module Version 10000
    423 // Generated by (magic number): 80007
    424 // Id's are bound by 89
    425 
    426                               Capability Shader
    427                               Capability ClipDistance
    428                               Capability CullDistance
    429                1:             ExtInstImport  "GLSL.std.450"
    430                               MemoryModel Logical GLSL450
    431                               EntryPoint Vertex 4  "main" 55 60 76
    432                               Source HLSL 500
    433                               Name 4  "main"
    434                               Name 18  "@main(vf4;vf2[2];vf2[2];"
    435                               Name 15  "pos"
    436                               Name 16  "clip"
    437                               Name 17  "cull"
    438                               Name 44  "pos"
    439                               Name 45  "clip"
    440                               Name 46  "cull"
    441                               Name 47  "param"
    442                               Name 48  "param"
    443                               Name 49  "param"
    444                               Name 55  "pos"
    445                               Name 60  "clip"
    446                               Name 76  "cull"
    447                               Decorate 55(pos) BuiltIn Position
    448                               Decorate 60(clip) BuiltIn ClipDistance
    449                               Decorate 76(cull) BuiltIn CullDistance
    450                2:             TypeVoid
    451                3:             TypeFunction 2
    452                6:             TypeFloat 32
    453                7:             TypeVector 6(float) 4
    454                8:             TypePointer Function 7(fvec4)
    455                9:             TypeVector 6(float) 2
    456               10:             TypeInt 32 0
    457               11:     10(int) Constant 2
    458               12:             TypeArray 9(fvec2) 11
    459               13:             TypePointer Function 12
    460               14:             TypeFunction 2 8(ptr) 13(ptr) 13(ptr)
    461               20:    6(float) Constant 1065353216
    462               21:    7(fvec4) ConstantComposite 20 20 20 20
    463               22:             TypeInt 32 1
    464               23:     22(int) Constant 0
    465               24:    6(float) Constant 1056964608
    466               25:     10(int) Constant 0
    467               26:             TypePointer Function 6(float)
    468               28:    6(float) Constant 1058642330
    469               29:     10(int) Constant 1
    470               31:     22(int) Constant 1
    471               32:    6(float) Constant 1060320051
    472               34:    6(float) Constant 1061997773
    473               36:    6(float) Constant 1057384038
    474               38:    6(float) Constant 1059061760
    475               40:    6(float) Constant 1060739482
    476               42:    6(float) Constant 1062417203
    477               54:             TypePointer Output 7(fvec4)
    478          55(pos):     54(ptr) Variable Output
    479               57:     10(int) Constant 4
    480               58:             TypeArray 6(float) 57
    481               59:             TypePointer Output 58
    482         60(clip):     59(ptr) Variable Output
    483               63:             TypePointer Output 6(float)
    484               68:     22(int) Constant 2
    485               72:     22(int) Constant 3
    486         76(cull):     59(ptr) Variable Output
    487          4(main):           2 Function None 3
    488                5:             Label
    489          44(pos):      8(ptr) Variable Function
    490         45(clip):     13(ptr) Variable Function
    491         46(cull):     13(ptr) Variable Function
    492        47(param):      8(ptr) Variable Function
    493        48(param):     13(ptr) Variable Function
    494        49(param):     13(ptr) Variable Function
    495               50:           2 FunctionCall 18(@main(vf4;vf2[2];vf2[2];) 47(param) 48(param) 49(param)
    496               51:    7(fvec4) Load 47(param)
    497                               Store 44(pos) 51
    498               52:          12 Load 48(param)
    499                               Store 45(clip) 52
    500               53:          12 Load 49(param)
    501                               Store 46(cull) 53
    502               56:    7(fvec4) Load 44(pos)
    503                               Store 55(pos) 56
    504               61:     26(ptr) AccessChain 45(clip) 23 25
    505               62:    6(float) Load 61
    506               64:     63(ptr) AccessChain 60(clip) 23
    507                               Store 64 62
    508               65:     26(ptr) AccessChain 45(clip) 23 29
    509               66:    6(float) Load 65
    510               67:     63(ptr) AccessChain 60(clip) 31
    511                               Store 67 66
    512               69:     26(ptr) AccessChain 45(clip) 31 25
    513               70:    6(float) Load 69
    514               71:     63(ptr) AccessChain 60(clip) 68
    515                               Store 71 70
    516               73:     26(ptr) AccessChain 45(clip) 31 29
    517               74:    6(float) Load 73
    518               75:     63(ptr) AccessChain 60(clip) 72
    519                               Store 75 74
    520               77:     26(ptr) AccessChain 46(cull) 23 25
    521               78:    6(float) Load 77
    522               79:     63(ptr) AccessChain 76(cull) 23
    523                               Store 79 78
    524               80:     26(ptr) AccessChain 46(cull) 23 29
    525               81:    6(float) Load 80
    526               82:     63(ptr) AccessChain 76(cull) 31
    527                               Store 82 81
    528               83:     26(ptr) AccessChain 46(cull) 31 25
    529               84:    6(float) Load 83
    530               85:     63(ptr) AccessChain 76(cull) 68
    531                               Store 85 84
    532               86:     26(ptr) AccessChain 46(cull) 31 29
    533               87:    6(float) Load 86
    534               88:     63(ptr) AccessChain 76(cull) 72
    535                               Store 88 87
    536                               Return
    537                               FunctionEnd
    538 18(@main(vf4;vf2[2];vf2[2];):           2 Function None 14
    539          15(pos):      8(ptr) FunctionParameter
    540         16(clip):     13(ptr) FunctionParameter
    541         17(cull):     13(ptr) FunctionParameter
    542               19:             Label
    543                               Store 15(pos) 21
    544               27:     26(ptr) AccessChain 16(clip) 23 25
    545                               Store 27 24
    546               30:     26(ptr) AccessChain 16(clip) 23 29
    547                               Store 30 28
    548               33:     26(ptr) AccessChain 16(clip) 31 25
    549                               Store 33 32
    550               35:     26(ptr) AccessChain 16(clip) 31 29
    551                               Store 35 34
    552               37:     26(ptr) AccessChain 17(cull) 23 25
    553                               Store 37 36
    554               39:     26(ptr) AccessChain 17(cull) 23 29
    555                               Store 39 38
    556               41:     26(ptr) AccessChain 17(cull) 31 25
    557                               Store 41 40
    558               43:     26(ptr) AccessChain 17(cull) 31 29
    559                               Store 43 42
    560                               Return
    561                               FunctionEnd
    562