Home | History | Annotate | Download | only in baseResults
      1 hlsl.y-negate-3.vert
      2 Shader version: 500
      3 0:? Sequence
      4 0:11  Function Definition: @main( ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
      5 0:11    Function Parameters: 
      6 0:?     Sequence
      7 0:14      move second child to first child ( temp 4-component vector of float)
      8 0:14        pos: direct index for structure ( temp 4-component vector of float)
      9 0:14          'vsout' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     10 0:14          Constant:
     11 0:14            0 (const int)
     12 0:14        position: direct index for structure ( uniform 4-component vector of float)
     13 0:14          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float position})
     14 0:14          Constant:
     15 0:14            0 (const uint)
     16 0:15      move second child to first child ( temp int)
     17 0:15        somethingelse: direct index for structure ( temp int)
     18 0:15          'vsout' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     19 0:15          Constant:
     20 0:15            1 (const int)
     21 0:15        Constant:
     22 0:15          42 (const int)
     23 0:17      Branch: Return with expression
     24 0:17        'vsout' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     25 0:11  Function Definition: main( ( temp void)
     26 0:11    Function Parameters: 
     27 0:?     Sequence
     28 0:11      Sequence
     29 0:11        move second child to first child ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     30 0:11          'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     31 0:11          Function Call: @main( ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     32 0:11        Sequence
     33 0:11          move second child to first child ( temp 4-component vector of float)
     34 0:11            '@position' ( temp 4-component vector of float)
     35 0:11            pos: direct index for structure ( temp 4-component vector of float)
     36 0:11              'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     37 0:11              Constant:
     38 0:11                0 (const int)
     39 0:11          move second child to first child ( temp float)
     40 0:11            direct index ( temp float)
     41 0:11              '@position' ( temp 4-component vector of float)
     42 0:11              Constant:
     43 0:11                1 (const int)
     44 0:11            Negate value ( temp float)
     45 0:11              direct index ( temp float)
     46 0:11                '@position' ( temp 4-component vector of float)
     47 0:11                Constant:
     48 0:11                  1 (const int)
     49 0:11          move second child to first child ( temp 4-component vector of float)
     50 0:?             '@entryPointOutput.pos' ( out 4-component vector of float Position)
     51 0:11            '@position' ( temp 4-component vector of float)
     52 0:11        move second child to first child ( temp int)
     53 0:?           '@entryPointOutput.somethingelse' (layout( location=0) out int)
     54 0:11          somethingelse: direct index for structure ( temp int)
     55 0:11            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     56 0:11            Constant:
     57 0:11              1 (const int)
     58 0:?   Linker Objects
     59 0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float position})
     60 0:?     '@entryPointOutput.pos' ( out 4-component vector of float Position)
     61 0:?     '@entryPointOutput.somethingelse' (layout( location=0) out int)
     62 
     63 
     64 Linked vertex stage:
     65 
     66 
     67 Shader version: 500
     68 0:? Sequence
     69 0:11  Function Definition: @main( ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     70 0:11    Function Parameters: 
     71 0:?     Sequence
     72 0:14      move second child to first child ( temp 4-component vector of float)
     73 0:14        pos: direct index for structure ( temp 4-component vector of float)
     74 0:14          'vsout' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     75 0:14          Constant:
     76 0:14            0 (const int)
     77 0:14        position: direct index for structure ( uniform 4-component vector of float)
     78 0:14          'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float position})
     79 0:14          Constant:
     80 0:14            0 (const uint)
     81 0:15      move second child to first child ( temp int)
     82 0:15        somethingelse: direct index for structure ( temp int)
     83 0:15          'vsout' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     84 0:15          Constant:
     85 0:15            1 (const int)
     86 0:15        Constant:
     87 0:15          42 (const int)
     88 0:17      Branch: Return with expression
     89 0:17        'vsout' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     90 0:11  Function Definition: main( ( temp void)
     91 0:11    Function Parameters: 
     92 0:?     Sequence
     93 0:11      Sequence
     94 0:11        move second child to first child ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     95 0:11          'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     96 0:11          Function Call: @main( ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
     97 0:11        Sequence
     98 0:11          move second child to first child ( temp 4-component vector of float)
     99 0:11            '@position' ( temp 4-component vector of float)
    100 0:11            pos: direct index for structure ( temp 4-component vector of float)
    101 0:11              'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
    102 0:11              Constant:
    103 0:11                0 (const int)
    104 0:11          move second child to first child ( temp float)
    105 0:11            direct index ( temp float)
    106 0:11              '@position' ( temp 4-component vector of float)
    107 0:11              Constant:
    108 0:11                1 (const int)
    109 0:11            Negate value ( temp float)
    110 0:11              direct index ( temp float)
    111 0:11                '@position' ( temp 4-component vector of float)
    112 0:11                Constant:
    113 0:11                  1 (const int)
    114 0:11          move second child to first child ( temp 4-component vector of float)
    115 0:?             '@entryPointOutput.pos' ( out 4-component vector of float Position)
    116 0:11            '@position' ( temp 4-component vector of float)
    117 0:11        move second child to first child ( temp int)
    118 0:?           '@entryPointOutput.somethingelse' (layout( location=0) out int)
    119 0:11          somethingelse: direct index for structure ( temp int)
    120 0:11            'flattenTemp' ( temp structure{ temp 4-component vector of float pos,  temp int somethingelse})
    121 0:11            Constant:
    122 0:11              1 (const int)
    123 0:?   Linker Objects
    124 0:?     'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float position})
    125 0:?     '@entryPointOutput.pos' ( out 4-component vector of float Position)
    126 0:?     '@entryPointOutput.somethingelse' (layout( location=0) out int)
    127 
    128 // Module Version 10000
    129 // Generated by (magic number): 80007
    130 // Id's are bound by 50
    131 
    132                               Capability Shader
    133                1:             ExtInstImport  "GLSL.std.450"
    134                               MemoryModel Logical GLSL450
    135                               EntryPoint Vertex 4  "main" 44 47
    136                               Source HLSL 500
    137                               Name 4  "main"
    138                               Name 9  "VS_OUT"
    139                               MemberName 9(VS_OUT) 0  "pos"
    140                               MemberName 9(VS_OUT) 1  "somethingelse"
    141                               Name 11  "@main("
    142                               Name 14  "vsout"
    143                               Name 16  "$Global"
    144                               MemberName 16($Global) 0  "position"
    145                               Name 18  ""
    146                               Name 31  "flattenTemp"
    147                               Name 33  "@position"
    148                               Name 44  "@entryPointOutput.pos"
    149                               Name 47  "@entryPointOutput.somethingelse"
    150                               MemberDecorate 16($Global) 0 Offset 0
    151                               Decorate 16($Global) Block
    152                               Decorate 18 DescriptorSet 0
    153                               Decorate 18 Binding 0
    154                               Decorate 44(@entryPointOutput.pos) BuiltIn Position
    155                               Decorate 47(@entryPointOutput.somethingelse) Location 0
    156                2:             TypeVoid
    157                3:             TypeFunction 2
    158                6:             TypeFloat 32
    159                7:             TypeVector 6(float) 4
    160                8:             TypeInt 32 1
    161        9(VS_OUT):             TypeStruct 7(fvec4) 8(int)
    162               10:             TypeFunction 9(VS_OUT)
    163               13:             TypePointer Function 9(VS_OUT)
    164               15:      8(int) Constant 0
    165      16($Global):             TypeStruct 7(fvec4)
    166               17:             TypePointer Uniform 16($Global)
    167               18:     17(ptr) Variable Uniform
    168               19:             TypePointer Uniform 7(fvec4)
    169               22:             TypePointer Function 7(fvec4)
    170               24:      8(int) Constant 1
    171               25:      8(int) Constant 42
    172               26:             TypePointer Function 8(int)
    173               36:             TypeInt 32 0
    174               37:     36(int) Constant 1
    175               38:             TypePointer Function 6(float)
    176               43:             TypePointer Output 7(fvec4)
    177 44(@entryPointOutput.pos):     43(ptr) Variable Output
    178               46:             TypePointer Output 8(int)
    179 47(@entryPointOutput.somethingelse):     46(ptr) Variable Output
    180          4(main):           2 Function None 3
    181                5:             Label
    182  31(flattenTemp):     13(ptr) Variable Function
    183    33(@position):     22(ptr) Variable Function
    184               32:   9(VS_OUT) FunctionCall 11(@main()
    185                               Store 31(flattenTemp) 32
    186               34:     22(ptr) AccessChain 31(flattenTemp) 15
    187               35:    7(fvec4) Load 34
    188                               Store 33(@position) 35
    189               39:     38(ptr) AccessChain 33(@position) 37
    190               40:    6(float) Load 39
    191               41:    6(float) FNegate 40
    192               42:     38(ptr) AccessChain 33(@position) 37
    193                               Store 42 41
    194               45:    7(fvec4) Load 33(@position)
    195                               Store 44(@entryPointOutput.pos) 45
    196               48:     26(ptr) AccessChain 31(flattenTemp) 24
    197               49:      8(int) Load 48
    198                               Store 47(@entryPointOutput.somethingelse) 49
    199                               Return
    200                               FunctionEnd
    201       11(@main():   9(VS_OUT) Function None 10
    202               12:             Label
    203        14(vsout):     13(ptr) Variable Function
    204               20:     19(ptr) AccessChain 18 15
    205               21:    7(fvec4) Load 20
    206               23:     22(ptr) AccessChain 14(vsout) 15
    207                               Store 23 21
    208               27:     26(ptr) AccessChain 14(vsout) 24
    209                               Store 27 25
    210               28:   9(VS_OUT) Load 14(vsout)
    211                               ReturnValue 28
    212                               FunctionEnd
    213