Home | History | Annotate | Download | only in baseResults
      1 hlsl.semantic-1.vert
      2 Shader version: 500
      3 0:? Sequence
      4 0:16  Function Definition: @main(vf4; ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
      5 0:16    Function Parameters: 
      6 0:16      'v' ( in 4-component vector of float)
      7 0:?     Sequence
      8 0:18      move second child to first child ( temp 4-component vector of float)
      9 0:18        pos: direct index for structure ( temp 4-component vector of float)
     10 0:18          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     11 0:18          Constant:
     12 0:18            0 (const int)
     13 0:18        'v' ( in 4-component vector of float)
     14 0:19      move second child to first child ( temp 2-component vector of float)
     15 0:19        UV0: direct index for structure ( temp 2-component vector of float)
     16 0:19          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     17 0:19          Constant:
     18 0:19            1 (const int)
     19 0:?         Construct vec2 ( temp 2-component vector of float)
     20 0:19          direct index ( temp float)
     21 0:19            'v' ( in 4-component vector of float)
     22 0:19            Constant:
     23 0:19              0 (const int)
     24 0:19          direct index ( temp float)
     25 0:19            'v' ( in 4-component vector of float)
     26 0:19            Constant:
     27 0:19              0 (const int)
     28 0:20      move second child to first child ( temp 2-component vector of float)
     29 0:20        UV1: direct index for structure ( temp 2-component vector of float)
     30 0:20          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     31 0:20          Constant:
     32 0:20            2 (const int)
     33 0:?         Construct vec2 ( temp 2-component vector of float)
     34 0:20          direct index ( temp float)
     35 0:20            'v' ( in 4-component vector of float)
     36 0:20            Constant:
     37 0:20              1 (const int)
     38 0:20          direct index ( temp float)
     39 0:20            'v' ( in 4-component vector of float)
     40 0:20            Constant:
     41 0:20              1 (const int)
     42 0:21      move second child to first child ( temp 2-component vector of float)
     43 0:21        UV2: direct index for structure ( temp 2-component vector of float)
     44 0:21          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     45 0:21          Constant:
     46 0:21            3 (const int)
     47 0:?         Construct vec2 ( temp 2-component vector of float)
     48 0:21          direct index ( temp float)
     49 0:21            'v' ( in 4-component vector of float)
     50 0:21            Constant:
     51 0:21              2 (const int)
     52 0:21          direct index ( temp float)
     53 0:21            'v' ( in 4-component vector of float)
     54 0:21            Constant:
     55 0:21              2 (const int)
     56 0:22      move second child to first child ( temp 2-component vector of float)
     57 0:22        UV3: direct index for structure ( temp 2-component vector of float)
     58 0:22          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     59 0:22          Constant:
     60 0:22            4 (const int)
     61 0:?         Construct vec2 ( temp 2-component vector of float)
     62 0:22          direct index ( temp float)
     63 0:22            'v' ( in 4-component vector of float)
     64 0:22            Constant:
     65 0:22              3 (const int)
     66 0:22          direct index ( temp float)
     67 0:22            'v' ( in 4-component vector of float)
     68 0:22            Constant:
     69 0:22              3 (const int)
     70 0:23      Branch: Return with expression
     71 0:23        's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     72 0:16  Function Definition: main( ( temp void)
     73 0:16    Function Parameters: 
     74 0:?     Sequence
     75 0:16      move second child to first child ( temp 4-component vector of float)
     76 0:?         'v' ( temp 4-component vector of float)
     77 0:?         'v' (layout( location=0) in 4-component vector of float)
     78 0:16      Sequence
     79 0:16        move second child to first child ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     80 0:16          'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     81 0:16          Function Call: @main(vf4; ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     82 0:?             'v' ( temp 4-component vector of float)
     83 0:16        move second child to first child ( temp 4-component vector of float)
     84 0:?           '@entryPointOutput.pos' (layout( location=0) out 4-component vector of float)
     85 0:16          pos: direct index for structure ( temp 4-component vector of float)
     86 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     87 0:16            Constant:
     88 0:16              0 (const int)
     89 0:16        move second child to first child ( temp 2-component vector of float)
     90 0:?           '@entryPointOutput.UV0' (layout( location=1) out 2-component vector of float)
     91 0:16          UV0: direct index for structure ( temp 2-component vector of float)
     92 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     93 0:16            Constant:
     94 0:16              1 (const int)
     95 0:16        move second child to first child ( temp 2-component vector of float)
     96 0:?           '@entryPointOutput.UV1' (layout( location=2) out 2-component vector of float)
     97 0:16          UV1: direct index for structure ( temp 2-component vector of float)
     98 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
     99 0:16            Constant:
    100 0:16              2 (const int)
    101 0:16        move second child to first child ( temp 2-component vector of float)
    102 0:?           '@entryPointOutput.UV2' (layout( location=3) out 2-component vector of float)
    103 0:16          UV2: direct index for structure ( temp 2-component vector of float)
    104 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    105 0:16            Constant:
    106 0:16              3 (const int)
    107 0:16        move second child to first child ( temp 2-component vector of float)
    108 0:?           '@entryPointOutput.UV3' (layout( location=4) out 2-component vector of float)
    109 0:16          UV3: direct index for structure ( temp 2-component vector of float)
    110 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    111 0:16            Constant:
    112 0:16              4 (const int)
    113 0:?   Linker Objects
    114 0:?     '@entryPointOutput.pos' (layout( location=0) out 4-component vector of float)
    115 0:?     '@entryPointOutput.UV0' (layout( location=1) out 2-component vector of float)
    116 0:?     '@entryPointOutput.UV1' (layout( location=2) out 2-component vector of float)
    117 0:?     '@entryPointOutput.UV2' (layout( location=3) out 2-component vector of float)
    118 0:?     '@entryPointOutput.UV3' (layout( location=4) out 2-component vector of float)
    119 0:?     'v' (layout( location=0) in 4-component vector of float)
    120 
    121 
    122 Linked vertex stage:
    123 
    124 
    125 Shader version: 500
    126 0:? Sequence
    127 0:16  Function Definition: @main(vf4; ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    128 0:16    Function Parameters: 
    129 0:16      'v' ( in 4-component vector of float)
    130 0:?     Sequence
    131 0:18      move second child to first child ( temp 4-component vector of float)
    132 0:18        pos: direct index for structure ( temp 4-component vector of float)
    133 0:18          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    134 0:18          Constant:
    135 0:18            0 (const int)
    136 0:18        'v' ( in 4-component vector of float)
    137 0:19      move second child to first child ( temp 2-component vector of float)
    138 0:19        UV0: direct index for structure ( temp 2-component vector of float)
    139 0:19          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    140 0:19          Constant:
    141 0:19            1 (const int)
    142 0:?         Construct vec2 ( temp 2-component vector of float)
    143 0:19          direct index ( temp float)
    144 0:19            'v' ( in 4-component vector of float)
    145 0:19            Constant:
    146 0:19              0 (const int)
    147 0:19          direct index ( temp float)
    148 0:19            'v' ( in 4-component vector of float)
    149 0:19            Constant:
    150 0:19              0 (const int)
    151 0:20      move second child to first child ( temp 2-component vector of float)
    152 0:20        UV1: direct index for structure ( temp 2-component vector of float)
    153 0:20          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    154 0:20          Constant:
    155 0:20            2 (const int)
    156 0:?         Construct vec2 ( temp 2-component vector of float)
    157 0:20          direct index ( temp float)
    158 0:20            'v' ( in 4-component vector of float)
    159 0:20            Constant:
    160 0:20              1 (const int)
    161 0:20          direct index ( temp float)
    162 0:20            'v' ( in 4-component vector of float)
    163 0:20            Constant:
    164 0:20              1 (const int)
    165 0:21      move second child to first child ( temp 2-component vector of float)
    166 0:21        UV2: direct index for structure ( temp 2-component vector of float)
    167 0:21          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    168 0:21          Constant:
    169 0:21            3 (const int)
    170 0:?         Construct vec2 ( temp 2-component vector of float)
    171 0:21          direct index ( temp float)
    172 0:21            'v' ( in 4-component vector of float)
    173 0:21            Constant:
    174 0:21              2 (const int)
    175 0:21          direct index ( temp float)
    176 0:21            'v' ( in 4-component vector of float)
    177 0:21            Constant:
    178 0:21              2 (const int)
    179 0:22      move second child to first child ( temp 2-component vector of float)
    180 0:22        UV3: direct index for structure ( temp 2-component vector of float)
    181 0:22          's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    182 0:22          Constant:
    183 0:22            4 (const int)
    184 0:?         Construct vec2 ( temp 2-component vector of float)
    185 0:22          direct index ( temp float)
    186 0:22            'v' ( in 4-component vector of float)
    187 0:22            Constant:
    188 0:22              3 (const int)
    189 0:22          direct index ( temp float)
    190 0:22            'v' ( in 4-component vector of float)
    191 0:22            Constant:
    192 0:22              3 (const int)
    193 0:23      Branch: Return with expression
    194 0:23        's' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    195 0:16  Function Definition: main( ( temp void)
    196 0:16    Function Parameters: 
    197 0:?     Sequence
    198 0:16      move second child to first child ( temp 4-component vector of float)
    199 0:?         'v' ( temp 4-component vector of float)
    200 0:?         'v' (layout( location=0) in 4-component vector of float)
    201 0:16      Sequence
    202 0:16        move second child to first child ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    203 0:16          'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    204 0:16          Function Call: @main(vf4; ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    205 0:?             'v' ( temp 4-component vector of float)
    206 0:16        move second child to first child ( temp 4-component vector of float)
    207 0:?           '@entryPointOutput.pos' (layout( location=0) out 4-component vector of float)
    208 0:16          pos: direct index for structure ( temp 4-component vector of float)
    209 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    210 0:16            Constant:
    211 0:16              0 (const int)
    212 0:16        move second child to first child ( temp 2-component vector of float)
    213 0:?           '@entryPointOutput.UV0' (layout( location=1) out 2-component vector of float)
    214 0:16          UV0: direct index for structure ( temp 2-component vector of float)
    215 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    216 0:16            Constant:
    217 0:16              1 (const int)
    218 0:16        move second child to first child ( temp 2-component vector of float)
    219 0:?           '@entryPointOutput.UV1' (layout( location=2) out 2-component vector of float)
    220 0:16          UV1: direct index for structure ( temp 2-component vector of float)
    221 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    222 0:16            Constant:
    223 0:16              2 (const int)
    224 0:16        move second child to first child ( temp 2-component vector of float)
    225 0:?           '@entryPointOutput.UV2' (layout( location=3) out 2-component vector of float)
    226 0:16          UV2: direct index for structure ( temp 2-component vector of float)
    227 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    228 0:16            Constant:
    229 0:16              3 (const int)
    230 0:16        move second child to first child ( temp 2-component vector of float)
    231 0:?           '@entryPointOutput.UV3' (layout( location=4) out 2-component vector of float)
    232 0:16          UV3: direct index for structure ( temp 2-component vector of float)
    233 0:16            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp 2-component vector of float UV0,  temp 2-component vector of float UV1,  temp 2-component vector of float UV2,  temp 2-component vector of float UV3})
    234 0:16            Constant:
    235 0:16              4 (const int)
    236 0:?   Linker Objects
    237 0:?     '@entryPointOutput.pos' (layout( location=0) out 4-component vector of float)
    238 0:?     '@entryPointOutput.UV0' (layout( location=1) out 2-component vector of float)
    239 0:?     '@entryPointOutput.UV1' (layout( location=2) out 2-component vector of float)
    240 0:?     '@entryPointOutput.UV2' (layout( location=3) out 2-component vector of float)
    241 0:?     '@entryPointOutput.UV3' (layout( location=4) out 2-component vector of float)
    242 0:?     'v' (layout( location=0) in 4-component vector of float)
    243 
    244 // Module Version 10000
    245 // Generated by (magic number): 80007
    246 // Id's are bound by 84
    247 
    248                               Capability Shader
    249                1:             ExtInstImport  "GLSL.std.450"
    250                               MemoryModel Logical GLSL450
    251                               EntryPoint Vertex 4  "main" 61 68 72 75 78 81
    252                               Source HLSL 500
    253                               Name 4  "main"
    254                               Name 10  "S"
    255                               MemberName 10(S) 0  "pos"
    256                               MemberName 10(S) 1  "UV0"
    257                               MemberName 10(S) 2  "UV1"
    258                               MemberName 10(S) 3  "UV2"
    259                               MemberName 10(S) 4  "UV3"
    260                               Name 13  "@main(vf4;"
    261                               Name 12  "v"
    262                               Name 16  "s"
    263                               Name 59  "v"
    264                               Name 61  "v"
    265                               Name 63  "flattenTemp"
    266                               Name 64  "param"
    267                               Name 68  "@entryPointOutput.pos"
    268                               Name 72  "@entryPointOutput.UV0"
    269                               Name 75  "@entryPointOutput.UV1"
    270                               Name 78  "@entryPointOutput.UV2"
    271                               Name 81  "@entryPointOutput.UV3"
    272                               Decorate 61(v) Location 0
    273                               Decorate 68(@entryPointOutput.pos) Location 0
    274                               Decorate 72(@entryPointOutput.UV0) Location 1
    275                               Decorate 75(@entryPointOutput.UV1) Location 2
    276                               Decorate 78(@entryPointOutput.UV2) Location 3
    277                               Decorate 81(@entryPointOutput.UV3) Location 4
    278                2:             TypeVoid
    279                3:             TypeFunction 2
    280                6:             TypeFloat 32
    281                7:             TypeVector 6(float) 4
    282                8:             TypePointer Function 7(fvec4)
    283                9:             TypeVector 6(float) 2
    284            10(S):             TypeStruct 7(fvec4) 9(fvec2) 9(fvec2) 9(fvec2) 9(fvec2)
    285               11:             TypeFunction 10(S) 8(ptr)
    286               15:             TypePointer Function 10(S)
    287               17:             TypeInt 32 1
    288               18:     17(int) Constant 0
    289               21:     17(int) Constant 1
    290               22:             TypeInt 32 0
    291               23:     22(int) Constant 0
    292               24:             TypePointer Function 6(float)
    293               30:             TypePointer Function 9(fvec2)
    294               32:     17(int) Constant 2
    295               33:     22(int) Constant 1
    296               40:     17(int) Constant 3
    297               41:     22(int) Constant 2
    298               48:     17(int) Constant 4
    299               49:     22(int) Constant 3
    300               60:             TypePointer Input 7(fvec4)
    301            61(v):     60(ptr) Variable Input
    302               67:             TypePointer Output 7(fvec4)
    303 68(@entryPointOutput.pos):     67(ptr) Variable Output
    304               71:             TypePointer Output 9(fvec2)
    305 72(@entryPointOutput.UV0):     71(ptr) Variable Output
    306 75(@entryPointOutput.UV1):     71(ptr) Variable Output
    307 78(@entryPointOutput.UV2):     71(ptr) Variable Output
    308 81(@entryPointOutput.UV3):     71(ptr) Variable Output
    309          4(main):           2 Function None 3
    310                5:             Label
    311            59(v):      8(ptr) Variable Function
    312  63(flattenTemp):     15(ptr) Variable Function
    313        64(param):      8(ptr) Variable Function
    314               62:    7(fvec4) Load 61(v)
    315                               Store 59(v) 62
    316               65:    7(fvec4) Load 59(v)
    317                               Store 64(param) 65
    318               66:       10(S) FunctionCall 13(@main(vf4;) 64(param)
    319                               Store 63(flattenTemp) 66
    320               69:      8(ptr) AccessChain 63(flattenTemp) 18
    321               70:    7(fvec4) Load 69
    322                               Store 68(@entryPointOutput.pos) 70
    323               73:     30(ptr) AccessChain 63(flattenTemp) 21
    324               74:    9(fvec2) Load 73
    325                               Store 72(@entryPointOutput.UV0) 74
    326               76:     30(ptr) AccessChain 63(flattenTemp) 32
    327               77:    9(fvec2) Load 76
    328                               Store 75(@entryPointOutput.UV1) 77
    329               79:     30(ptr) AccessChain 63(flattenTemp) 40
    330               80:    9(fvec2) Load 79
    331                               Store 78(@entryPointOutput.UV2) 80
    332               82:     30(ptr) AccessChain 63(flattenTemp) 48
    333               83:    9(fvec2) Load 82
    334                               Store 81(@entryPointOutput.UV3) 83
    335                               Return
    336                               FunctionEnd
    337   13(@main(vf4;):       10(S) Function None 11
    338            12(v):      8(ptr) FunctionParameter
    339               14:             Label
    340            16(s):     15(ptr) Variable Function
    341               19:    7(fvec4) Load 12(v)
    342               20:      8(ptr) AccessChain 16(s) 18
    343                               Store 20 19
    344               25:     24(ptr) AccessChain 12(v) 23
    345               26:    6(float) Load 25
    346               27:     24(ptr) AccessChain 12(v) 23
    347               28:    6(float) Load 27
    348               29:    9(fvec2) CompositeConstruct 26 28
    349               31:     30(ptr) AccessChain 16(s) 21
    350                               Store 31 29
    351               34:     24(ptr) AccessChain 12(v) 33
    352               35:    6(float) Load 34
    353               36:     24(ptr) AccessChain 12(v) 33
    354               37:    6(float) Load 36
    355               38:    9(fvec2) CompositeConstruct 35 37
    356               39:     30(ptr) AccessChain 16(s) 32
    357                               Store 39 38
    358               42:     24(ptr) AccessChain 12(v) 41
    359               43:    6(float) Load 42
    360               44:     24(ptr) AccessChain 12(v) 41
    361               45:    6(float) Load 44
    362               46:    9(fvec2) CompositeConstruct 43 45
    363               47:     30(ptr) AccessChain 16(s) 40
    364                               Store 47 46
    365               50:     24(ptr) AccessChain 12(v) 49
    366               51:    6(float) Load 50
    367               52:     24(ptr) AccessChain 12(v) 49
    368               53:    6(float) Load 52
    369               54:    9(fvec2) CompositeConstruct 51 53
    370               55:     30(ptr) AccessChain 16(s) 48
    371                               Store 55 54
    372               56:       10(S) Load 16(s)
    373                               ReturnValue 56
    374                               FunctionEnd
    375