Home | History | Annotate | Download | only in baseResults
      1 hlsl.clipdistance-1.vert
      2 Shader version: 500
      3 0:? Sequence
      4 0:4  Function Definition: @main(vf4;f1;f1; ( temp void)
      5 0:4    Function Parameters: 
      6 0:4      'pos' ( out 4-component vector of float)
      7 0:4      'clip' ( out float)
      8 0:4      'cull' ( out 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        'clip' ( out float)
     19 0:6        Constant:
     20 0:6          0.500000
     21 0:7      move second child to first child ( temp float)
     22 0:7        'cull' ( out float)
     23 0:7        Constant:
     24 0:7          0.510000
     25 0:4  Function Definition: main( ( temp void)
     26 0:4    Function Parameters: 
     27 0:?     Sequence
     28 0:4      Function Call: @main(vf4;f1;f1; ( temp void)
     29 0:?         'pos' ( temp 4-component vector of float)
     30 0:?         'clip' ( temp float)
     31 0:?         'cull' ( temp float)
     32 0:4      move second child to first child ( temp 4-component vector of float)
     33 0:?         'pos' ( out 4-component vector of float Position)
     34 0:?         'pos' ( temp 4-component vector of float)
     35 0:?       Sequence
     36 0:4        move second child to first child ( temp float)
     37 0:4          direct index ( out float ClipDistance)
     38 0:?             'clip' ( out 1-element array of float ClipDistance)
     39 0:4            Constant:
     40 0:4              0 (const int)
     41 0:?           'clip' ( temp float)
     42 0:?       Sequence
     43 0:4        move second child to first child ( temp float)
     44 0:4          direct index ( out float CullDistance)
     45 0:?             'cull' ( out 1-element array of float CullDistance)
     46 0:4            Constant:
     47 0:4              0 (const int)
     48 0:?           'cull' ( temp float)
     49 0:?   Linker Objects
     50 0:?     'pos' ( out 4-component vector of float Position)
     51 0:?     'clip' ( out 1-element array of float ClipDistance)
     52 0:?     'cull' ( out 1-element array of float CullDistance)
     53 
     54 
     55 Linked vertex stage:
     56 
     57 
     58 Shader version: 500
     59 0:? Sequence
     60 0:4  Function Definition: @main(vf4;f1;f1; ( temp void)
     61 0:4    Function Parameters: 
     62 0:4      'pos' ( out 4-component vector of float)
     63 0:4      'clip' ( out float)
     64 0:4      'cull' ( out float)
     65 0:?     Sequence
     66 0:5      move second child to first child ( temp 4-component vector of float)
     67 0:5        'pos' ( out 4-component vector of float)
     68 0:5        Constant:
     69 0:5          1.000000
     70 0:5          1.000000
     71 0:5          1.000000
     72 0:5          1.000000
     73 0:6      move second child to first child ( temp float)
     74 0:6        'clip' ( out float)
     75 0:6        Constant:
     76 0:6          0.500000
     77 0:7      move second child to first child ( temp float)
     78 0:7        'cull' ( out float)
     79 0:7        Constant:
     80 0:7          0.510000
     81 0:4  Function Definition: main( ( temp void)
     82 0:4    Function Parameters: 
     83 0:?     Sequence
     84 0:4      Function Call: @main(vf4;f1;f1; ( temp void)
     85 0:?         'pos' ( temp 4-component vector of float)
     86 0:?         'clip' ( temp float)
     87 0:?         'cull' ( temp float)
     88 0:4      move second child to first child ( temp 4-component vector of float)
     89 0:?         'pos' ( out 4-component vector of float Position)
     90 0:?         'pos' ( temp 4-component vector of float)
     91 0:?       Sequence
     92 0:4        move second child to first child ( temp float)
     93 0:4          direct index ( out float ClipDistance)
     94 0:?             'clip' ( out 1-element array of float ClipDistance)
     95 0:4            Constant:
     96 0:4              0 (const int)
     97 0:?           'clip' ( temp float)
     98 0:?       Sequence
     99 0:4        move second child to first child ( temp float)
    100 0:4          direct index ( out float CullDistance)
    101 0:?             'cull' ( out 1-element array of float CullDistance)
    102 0:4            Constant:
    103 0:4              0 (const int)
    104 0:?           'cull' ( temp float)
    105 0:?   Linker Objects
    106 0:?     'pos' ( out 4-component vector of float Position)
    107 0:?     'clip' ( out 1-element array of float ClipDistance)
    108 0:?     'cull' ( out 1-element array of float CullDistance)
    109 
    110 // Module Version 10000
    111 // Generated by (magic number): 80007
    112 // Id's are bound by 46
    113 
    114                               Capability Shader
    115                               Capability ClipDistance
    116                               Capability CullDistance
    117                1:             ExtInstImport  "GLSL.std.450"
    118                               MemoryModel Logical GLSL450
    119                               EntryPoint Vertex 4  "main" 31 37 43
    120                               Source HLSL 500
    121                               Name 4  "main"
    122                               Name 14  "@main(vf4;f1;f1;"
    123                               Name 11  "pos"
    124                               Name 12  "clip"
    125                               Name 13  "cull"
    126                               Name 20  "pos"
    127                               Name 21  "clip"
    128                               Name 22  "cull"
    129                               Name 23  "param"
    130                               Name 24  "param"
    131                               Name 25  "param"
    132                               Name 31  "pos"
    133                               Name 37  "clip"
    134                               Name 43  "cull"
    135                               Decorate 31(pos) BuiltIn Position
    136                               Decorate 37(clip) BuiltIn ClipDistance
    137                               Decorate 43(cull) BuiltIn CullDistance
    138                2:             TypeVoid
    139                3:             TypeFunction 2
    140                6:             TypeFloat 32
    141                7:             TypeVector 6(float) 4
    142                8:             TypePointer Function 7(fvec4)
    143                9:             TypePointer Function 6(float)
    144               10:             TypeFunction 2 8(ptr) 9(ptr) 9(ptr)
    145               16:    6(float) Constant 1065353216
    146               17:    7(fvec4) ConstantComposite 16 16 16 16
    147               18:    6(float) Constant 1056964608
    148               19:    6(float) Constant 1057132380
    149               30:             TypePointer Output 7(fvec4)
    150          31(pos):     30(ptr) Variable Output
    151               33:             TypeInt 32 0
    152               34:     33(int) Constant 1
    153               35:             TypeArray 6(float) 34
    154               36:             TypePointer Output 35
    155         37(clip):     36(ptr) Variable Output
    156               38:             TypeInt 32 1
    157               39:     38(int) Constant 0
    158               41:             TypePointer Output 6(float)
    159         43(cull):     36(ptr) Variable Output
    160          4(main):           2 Function None 3
    161                5:             Label
    162          20(pos):      8(ptr) Variable Function
    163         21(clip):      9(ptr) Variable Function
    164         22(cull):      9(ptr) Variable Function
    165        23(param):      8(ptr) Variable Function
    166        24(param):      9(ptr) Variable Function
    167        25(param):      9(ptr) Variable Function
    168               26:           2 FunctionCall 14(@main(vf4;f1;f1;) 23(param) 24(param) 25(param)
    169               27:    7(fvec4) Load 23(param)
    170                               Store 20(pos) 27
    171               28:    6(float) Load 24(param)
    172                               Store 21(clip) 28
    173               29:    6(float) Load 25(param)
    174                               Store 22(cull) 29
    175               32:    7(fvec4) Load 20(pos)
    176                               Store 31(pos) 32
    177               40:    6(float) Load 21(clip)
    178               42:     41(ptr) AccessChain 37(clip) 39
    179                               Store 42 40
    180               44:    6(float) Load 22(cull)
    181               45:     41(ptr) AccessChain 43(cull) 39
    182                               Store 45 44
    183                               Return
    184                               FunctionEnd
    185 14(@main(vf4;f1;f1;):           2 Function None 10
    186          11(pos):      8(ptr) FunctionParameter
    187         12(clip):      9(ptr) FunctionParameter
    188         13(cull):      9(ptr) FunctionParameter
    189               15:             Label
    190                               Store 11(pos) 17
    191                               Store 12(clip) 18
    192                               Store 13(cull) 19
    193                               Return
    194                               FunctionEnd
    195