Home | History | Annotate | Download | only in baseResults
      1 hlsl.basic.geom
      2 Shader version: 500
      3 invocations = -1
      4 max_vertices = 4
      5 input primitive = triangles
      6 output primitive = line_strip
      7 0:? Sequence
      8 0:16  Function Definition: @main(u1[3];u1[3];struct-PSInput-f1-i11; ( temp void)
      9 0:16    Function Parameters: 
     10 0:16      'VertexID' ( in 3-element array of uint)
     11 0:16      'test' ( in 3-element array of uint)
     12 0:16      'OutputStream' ( out structure{ temp float myfloat,  temp int something})
     13 0:?     Sequence
     14 0:19      move second child to first child ( temp float)
     15 0:19        myfloat: direct index for structure ( temp float)
     16 0:19          'Vert' ( temp structure{ temp float myfloat,  temp int something})
     17 0:19          Constant:
     18 0:19            0 (const int)
     19 0:19        Convert uint to float ( temp float)
     20 0:19          add ( temp uint)
     21 0:19            add ( temp uint)
     22 0:19              direct index ( temp uint)
     23 0:19                'test' ( in 3-element array of uint)
     24 0:19                Constant:
     25 0:19                  0 (const int)
     26 0:19              direct index ( temp uint)
     27 0:19                'test' ( in 3-element array of uint)
     28 0:19                Constant:
     29 0:19                  1 (const int)
     30 0:19            direct index ( temp uint)
     31 0:19              'test' ( in 3-element array of uint)
     32 0:19              Constant:
     33 0:19                2 (const int)
     34 0:20      move second child to first child ( temp int)
     35 0:20        something: direct index for structure ( temp int)
     36 0:20          'Vert' ( temp structure{ temp float myfloat,  temp int something})
     37 0:20          Constant:
     38 0:20            1 (const int)
     39 0:20        Convert uint to int ( temp int)
     40 0:20          direct index ( temp uint)
     41 0:20            'VertexID' ( in 3-element array of uint)
     42 0:20            Constant:
     43 0:20              0 (const int)
     44 0:22      Sequence
     45 0:22        Sequence
     46 0:22          move second child to first child ( temp float)
     47 0:?             'OutputStream.myfloat' (layout( location=0) out float)
     48 0:22            myfloat: direct index for structure ( temp float)
     49 0:22              'Vert' ( temp structure{ temp float myfloat,  temp int something})
     50 0:22              Constant:
     51 0:22                0 (const int)
     52 0:22          move second child to first child ( temp int)
     53 0:?             'OutputStream.something' (layout( location=1) out int)
     54 0:22            something: direct index for structure ( temp int)
     55 0:22              'Vert' ( temp structure{ temp float myfloat,  temp int something})
     56 0:22              Constant:
     57 0:22                1 (const int)
     58 0:22        EmitVertex ( temp void)
     59 0:23      Sequence
     60 0:23        Sequence
     61 0:23          move second child to first child ( temp float)
     62 0:?             'OutputStream.myfloat' (layout( location=0) out float)
     63 0:23            myfloat: direct index for structure ( temp float)
     64 0:23              'Vert' ( temp structure{ temp float myfloat,  temp int something})
     65 0:23              Constant:
     66 0:23                0 (const int)
     67 0:23          move second child to first child ( temp int)
     68 0:?             'OutputStream.something' (layout( location=1) out int)
     69 0:23            something: direct index for structure ( temp int)
     70 0:23              'Vert' ( temp structure{ temp float myfloat,  temp int something})
     71 0:23              Constant:
     72 0:23                1 (const int)
     73 0:23        EmitVertex ( temp void)
     74 0:24      EndPrimitive ( temp void)
     75 0:16  Function Definition: main( ( temp void)
     76 0:16    Function Parameters: 
     77 0:?     Sequence
     78 0:16      move second child to first child ( temp 3-element array of uint)
     79 0:?         'VertexID' ( temp 3-element array of uint)
     80 0:?         'VertexID' (layout( location=0) in 3-element array of uint)
     81 0:16      move second child to first child ( temp 3-element array of uint)
     82 0:?         'test' ( temp 3-element array of uint)
     83 0:?         'test' (layout( location=1) in 3-element array of uint)
     84 0:16      Function Call: @main(u1[3];u1[3];struct-PSInput-f1-i11; ( temp void)
     85 0:?         'VertexID' ( temp 3-element array of uint)
     86 0:?         'test' ( temp 3-element array of uint)
     87 0:?         'OutputStream' ( temp structure{ temp float myfloat,  temp int something})
     88 0:?   Linker Objects
     89 0:?     'VertexID' (layout( location=0) in 3-element array of uint)
     90 0:?     'test' (layout( location=1) in 3-element array of uint)
     91 0:?     'OutputStream.myfloat' (layout( location=0) out float)
     92 0:?     'OutputStream.something' (layout( location=1) out int)
     93 
     94 
     95 Linked geometry stage:
     96 
     97 
     98 Shader version: 500
     99 invocations = 1
    100 max_vertices = 4
    101 input primitive = triangles
    102 output primitive = line_strip
    103 0:? Sequence
    104 0:16  Function Definition: @main(u1[3];u1[3];struct-PSInput-f1-i11; ( temp void)
    105 0:16    Function Parameters: 
    106 0:16      'VertexID' ( in 3-element array of uint)
    107 0:16      'test' ( in 3-element array of uint)
    108 0:16      'OutputStream' ( out structure{ temp float myfloat,  temp int something})
    109 0:?     Sequence
    110 0:19      move second child to first child ( temp float)
    111 0:19        myfloat: direct index for structure ( temp float)
    112 0:19          'Vert' ( temp structure{ temp float myfloat,  temp int something})
    113 0:19          Constant:
    114 0:19            0 (const int)
    115 0:19        Convert uint to float ( temp float)
    116 0:19          add ( temp uint)
    117 0:19            add ( temp uint)
    118 0:19              direct index ( temp uint)
    119 0:19                'test' ( in 3-element array of uint)
    120 0:19                Constant:
    121 0:19                  0 (const int)
    122 0:19              direct index ( temp uint)
    123 0:19                'test' ( in 3-element array of uint)
    124 0:19                Constant:
    125 0:19                  1 (const int)
    126 0:19            direct index ( temp uint)
    127 0:19              'test' ( in 3-element array of uint)
    128 0:19              Constant:
    129 0:19                2 (const int)
    130 0:20      move second child to first child ( temp int)
    131 0:20        something: direct index for structure ( temp int)
    132 0:20          'Vert' ( temp structure{ temp float myfloat,  temp int something})
    133 0:20          Constant:
    134 0:20            1 (const int)
    135 0:20        Convert uint to int ( temp int)
    136 0:20          direct index ( temp uint)
    137 0:20            'VertexID' ( in 3-element array of uint)
    138 0:20            Constant:
    139 0:20              0 (const int)
    140 0:22      Sequence
    141 0:22        Sequence
    142 0:22          move second child to first child ( temp float)
    143 0:?             'OutputStream.myfloat' (layout( location=0) out float)
    144 0:22            myfloat: direct index for structure ( temp float)
    145 0:22              'Vert' ( temp structure{ temp float myfloat,  temp int something})
    146 0:22              Constant:
    147 0:22                0 (const int)
    148 0:22          move second child to first child ( temp int)
    149 0:?             'OutputStream.something' (layout( location=1) out int)
    150 0:22            something: direct index for structure ( temp int)
    151 0:22              'Vert' ( temp structure{ temp float myfloat,  temp int something})
    152 0:22              Constant:
    153 0:22                1 (const int)
    154 0:22        EmitVertex ( temp void)
    155 0:23      Sequence
    156 0:23        Sequence
    157 0:23          move second child to first child ( temp float)
    158 0:?             'OutputStream.myfloat' (layout( location=0) out float)
    159 0:23            myfloat: direct index for structure ( temp float)
    160 0:23              'Vert' ( temp structure{ temp float myfloat,  temp int something})
    161 0:23              Constant:
    162 0:23                0 (const int)
    163 0:23          move second child to first child ( temp int)
    164 0:?             'OutputStream.something' (layout( location=1) out int)
    165 0:23            something: direct index for structure ( temp int)
    166 0:23              'Vert' ( temp structure{ temp float myfloat,  temp int something})
    167 0:23              Constant:
    168 0:23                1 (const int)
    169 0:23        EmitVertex ( temp void)
    170 0:24      EndPrimitive ( temp void)
    171 0:16  Function Definition: main( ( temp void)
    172 0:16    Function Parameters: 
    173 0:?     Sequence
    174 0:16      move second child to first child ( temp 3-element array of uint)
    175 0:?         'VertexID' ( temp 3-element array of uint)
    176 0:?         'VertexID' (layout( location=0) in 3-element array of uint)
    177 0:16      move second child to first child ( temp 3-element array of uint)
    178 0:?         'test' ( temp 3-element array of uint)
    179 0:?         'test' (layout( location=1) in 3-element array of uint)
    180 0:16      Function Call: @main(u1[3];u1[3];struct-PSInput-f1-i11; ( temp void)
    181 0:?         'VertexID' ( temp 3-element array of uint)
    182 0:?         'test' ( temp 3-element array of uint)
    183 0:?         'OutputStream' ( temp structure{ temp float myfloat,  temp int something})
    184 0:?   Linker Objects
    185 0:?     'VertexID' (layout( location=0) in 3-element array of uint)
    186 0:?     'test' (layout( location=1) in 3-element array of uint)
    187 0:?     'OutputStream.myfloat' (layout( location=0) out float)
    188 0:?     'OutputStream.something' (layout( location=1) out int)
    189 
    190 // Module Version 10000
    191 // Generated by (magic number): 80007
    192 // Id's are bound by 68
    193 
    194                               Capability Geometry
    195                1:             ExtInstImport  "GLSL.std.450"
    196                               MemoryModel Logical GLSL450
    197                               EntryPoint Geometry 4  "main" 42 46 55 58
    198                               ExecutionMode 4 Triangles
    199                               ExecutionMode 4 Invocations 1
    200                               ExecutionMode 4 OutputLineStrip
    201                               ExecutionMode 4 OutputVertices 4
    202                               Source HLSL 500
    203                               Name 4  "main"
    204                               Name 12  "PSInput"
    205                               MemberName 12(PSInput) 0  "myfloat"
    206                               MemberName 12(PSInput) 1  "something"
    207                               Name 18  "@main(u1[3];u1[3];struct-PSInput-f1-i11;"
    208                               Name 15  "VertexID"
    209                               Name 16  "test"
    210                               Name 17  "OutputStream"
    211                               Name 20  "Vert"
    212                               Name 42  "OutputStream.myfloat"
    213                               Name 46  "OutputStream.something"
    214                               Name 53  "VertexID"
    215                               Name 55  "VertexID"
    216                               Name 57  "test"
    217                               Name 58  "test"
    218                               Name 60  "OutputStream"
    219                               Name 61  "param"
    220                               Name 63  "param"
    221                               Name 65  "param"
    222                               Decorate 42(OutputStream.myfloat) Location 0
    223                               Decorate 46(OutputStream.something) Location 1
    224                               Decorate 55(VertexID) Location 0
    225                               Decorate 58(test) Location 1
    226                2:             TypeVoid
    227                3:             TypeFunction 2
    228                6:             TypeInt 32 0
    229                7:      6(int) Constant 3
    230                8:             TypeArray 6(int) 7
    231                9:             TypePointer Function 8
    232               10:             TypeFloat 32
    233               11:             TypeInt 32 1
    234      12(PSInput):             TypeStruct 10(float) 11(int)
    235               13:             TypePointer Function 12(PSInput)
    236               14:             TypeFunction 2 9(ptr) 9(ptr) 13(ptr)
    237               21:     11(int) Constant 0
    238               22:             TypePointer Function 6(int)
    239               25:     11(int) Constant 1
    240               29:     11(int) Constant 2
    241               34:             TypePointer Function 10(float)
    242               39:             TypePointer Function 11(int)
    243               41:             TypePointer Output 10(float)
    244 42(OutputStream.myfloat):     41(ptr) Variable Output
    245               45:             TypePointer Output 11(int)
    246 46(OutputStream.something):     45(ptr) Variable Output
    247               54:             TypePointer Input 8
    248     55(VertexID):     54(ptr) Variable Input
    249         58(test):     54(ptr) Variable Input
    250          4(main):           2 Function None 3
    251                5:             Label
    252     53(VertexID):      9(ptr) Variable Function
    253         57(test):      9(ptr) Variable Function
    254 60(OutputStream):     13(ptr) Variable Function
    255        61(param):      9(ptr) Variable Function
    256        63(param):      9(ptr) Variable Function
    257        65(param):     13(ptr) Variable Function
    258               56:           8 Load 55(VertexID)
    259                               Store 53(VertexID) 56
    260               59:           8 Load 58(test)
    261                               Store 57(test) 59
    262               62:           8 Load 53(VertexID)
    263                               Store 61(param) 62
    264               64:           8 Load 57(test)
    265                               Store 63(param) 64
    266               66:           2 FunctionCall 18(@main(u1[3];u1[3];struct-PSInput-f1-i11;) 61(param) 63(param) 65(param)
    267               67: 12(PSInput) Load 65(param)
    268                               Store 60(OutputStream) 67
    269                               Return
    270                               FunctionEnd
    271 18(@main(u1[3];u1[3];struct-PSInput-f1-i11;):           2 Function None 14
    272     15(VertexID):      9(ptr) FunctionParameter
    273         16(test):      9(ptr) FunctionParameter
    274 17(OutputStream):     13(ptr) FunctionParameter
    275               19:             Label
    276         20(Vert):     13(ptr) Variable Function
    277               23:     22(ptr) AccessChain 16(test) 21
    278               24:      6(int) Load 23
    279               26:     22(ptr) AccessChain 16(test) 25
    280               27:      6(int) Load 26
    281               28:      6(int) IAdd 24 27
    282               30:     22(ptr) AccessChain 16(test) 29
    283               31:      6(int) Load 30
    284               32:      6(int) IAdd 28 31
    285               33:   10(float) ConvertUToF 32
    286               35:     34(ptr) AccessChain 20(Vert) 21
    287                               Store 35 33
    288               36:     22(ptr) AccessChain 15(VertexID) 21
    289               37:      6(int) Load 36
    290               38:     11(int) Bitcast 37
    291               40:     39(ptr) AccessChain 20(Vert) 25
    292                               Store 40 38
    293               43:     34(ptr) AccessChain 20(Vert) 21
    294               44:   10(float) Load 43
    295                               Store 42(OutputStream.myfloat) 44
    296               47:     39(ptr) AccessChain 20(Vert) 25
    297               48:     11(int) Load 47
    298                               Store 46(OutputStream.something) 48
    299                               EmitVertex
    300               49:     34(ptr) AccessChain 20(Vert) 21
    301               50:   10(float) Load 49
    302                               Store 42(OutputStream.myfloat) 50
    303               51:     39(ptr) AccessChain 20(Vert) 25
    304               52:     11(int) Load 51
    305                               Store 46(OutputStream.something) 52
    306                               EmitVertex
    307                               EndPrimitive
    308                               Return
    309                               FunctionEnd
    310