Home | History | Annotate | Download | only in baseResults
      1 hlsl.tristream-append.geom
      2 Shader version: 500
      3 invocations = -1
      4 max_vertices = 3
      5 input primitive = triangles
      6 output primitive = triangle_strip
      7 0:? Sequence
      8 0:8  Function Definition: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
      9 0:8    Function Parameters: 
     10 0:8      'output' ( in structure{})
     11 0:8      'TriStream' ( out structure{})
     12 0:?     Sequence
     13 0:9      Sequence
     14 0:9        Sequence
     15 0:9          move second child to first child ( temp structure{})
     16 0:9            'TriStream' ( out structure{})
     17 0:9            'output' ( in structure{})
     18 0:9        EmitVertex ( temp void)
     19 0:14  Function Definition: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
     20 0:14    Function Parameters: 
     21 0:14      'input' ( in 3-element array of structure{})
     22 0:14      'TriStream' ( out structure{})
     23 0:?     Sequence
     24 0:15      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
     25 0:15        direct index ( temp structure{})
     26 0:15          'input' ( in 3-element array of structure{})
     27 0:15          Constant:
     28 0:15            0 (const int)
     29 0:15        'TriStream' ( out structure{})
     30 0:16      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
     31 0:16        direct index ( temp structure{})
     32 0:16          'input' ( in 3-element array of structure{})
     33 0:16          Constant:
     34 0:16            1 (const int)
     35 0:16        'TriStream' ( out structure{})
     36 0:17      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
     37 0:17        direct index ( temp structure{})
     38 0:17          'input' ( in 3-element array of structure{})
     39 0:17          Constant:
     40 0:17            2 (const int)
     41 0:17        'TriStream' ( out structure{})
     42 0:14  Function Definition: main( ( temp void)
     43 0:14    Function Parameters: 
     44 0:?     Sequence
     45 0:14      move second child to first child ( temp 3-element array of structure{})
     46 0:?         'input' ( temp 3-element array of structure{})
     47 0:?         'input' ( in 3-element array of structure{})
     48 0:14      Function Call: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
     49 0:?         'input' ( temp 3-element array of structure{})
     50 0:?         'TriStream' ( temp structure{})
     51 0:?   Linker Objects
     52 
     53 
     54 Linked geometry stage:
     55 
     56 
     57 Shader version: 500
     58 invocations = 1
     59 max_vertices = 3
     60 input primitive = triangles
     61 output primitive = triangle_strip
     62 0:? Sequence
     63 0:8  Function Definition: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
     64 0:8    Function Parameters: 
     65 0:8      'output' ( in structure{})
     66 0:8      'TriStream' ( out structure{})
     67 0:?     Sequence
     68 0:9      Sequence
     69 0:9        Sequence
     70 0:9          move second child to first child ( temp structure{})
     71 0:9            'TriStream' ( out structure{})
     72 0:9            'output' ( in structure{})
     73 0:9        EmitVertex ( temp void)
     74 0:14  Function Definition: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
     75 0:14    Function Parameters: 
     76 0:14      'input' ( in 3-element array of structure{})
     77 0:14      'TriStream' ( out structure{})
     78 0:?     Sequence
     79 0:15      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
     80 0:15        direct index ( temp structure{})
     81 0:15          'input' ( in 3-element array of structure{})
     82 0:15          Constant:
     83 0:15            0 (const int)
     84 0:15        'TriStream' ( out structure{})
     85 0:16      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
     86 0:16        direct index ( temp structure{})
     87 0:16          'input' ( in 3-element array of structure{})
     88 0:16          Constant:
     89 0:16            1 (const int)
     90 0:16        'TriStream' ( out structure{})
     91 0:17      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
     92 0:17        direct index ( temp structure{})
     93 0:17          'input' ( in 3-element array of structure{})
     94 0:17          Constant:
     95 0:17            2 (const int)
     96 0:17        'TriStream' ( out structure{})
     97 0:14  Function Definition: main( ( temp void)
     98 0:14    Function Parameters: 
     99 0:?     Sequence
    100 0:14      move second child to first child ( temp 3-element array of structure{})
    101 0:?         'input' ( temp 3-element array of structure{})
    102 0:?         'input' ( in 3-element array of structure{})
    103 0:14      Function Call: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
    104 0:?         'input' ( temp 3-element array of structure{})
    105 0:?         'TriStream' ( temp structure{})
    106 0:?   Linker Objects
    107 
    108 Validation failed
    109 // Module Version 10000
    110 // Generated by (magic number): 80007
    111 // Id's are bound by 57
    112 
    113                               Capability Geometry
    114                1:             ExtInstImport  "GLSL.std.450"
    115                               MemoryModel Logical GLSL450
    116                               EntryPoint Geometry 4  "main"
    117                               ExecutionMode 4 Triangles
    118                               ExecutionMode 4 Invocations 1
    119                               ExecutionMode 4 OutputTriangleStrip
    120                               ExecutionMode 4 OutputVertices 3
    121                               Source HLSL 500
    122                               Name 4  "main"
    123                               Name 6  "GSPS_INPUT"
    124                               Name 11  "EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;"
    125                               Name 9  "output"
    126                               Name 10  "TriStream"
    127                               Name 20  "@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;"
    128                               Name 18  "input"
    129                               Name 19  "TriStream"
    130                               Name 23  "TriStream"
    131                               Name 27  "param"
    132                               Name 30  "param"
    133                               Name 34  "param"
    134                               Name 37  "param"
    135                               Name 41  "param"
    136                               Name 44  "param"
    137                               Name 47  "input"
    138                               Name 49  "input"
    139                               Name 51  "TriStream"
    140                               Name 52  "param"
    141                               Name 54  "param"
    142                2:             TypeVoid
    143                3:             TypeFunction 2
    144    6(GSPS_INPUT):             TypeStruct
    145                7:             TypePointer Function 6(GSPS_INPUT)
    146                8:             TypeFunction 2 7(ptr) 7(ptr)
    147               13:             TypeInt 32 0
    148               14:     13(int) Constant 3
    149               15:             TypeArray 6(GSPS_INPUT) 14
    150               16:             TypePointer Function 15
    151               17:             TypeFunction 2 16(ptr) 7(ptr)
    152               22:             TypePointer Output 6(GSPS_INPUT)
    153    23(TriStream):     22(ptr) Variable Output
    154               25:             TypeInt 32 1
    155               26:     25(int) Constant 0
    156               33:     25(int) Constant 1
    157               40:     25(int) Constant 2
    158               48:             TypePointer Input 15
    159        49(input):     48(ptr) Variable Input
    160          4(main):           2 Function None 3
    161                5:             Label
    162        47(input):     16(ptr) Variable Function
    163    51(TriStream):      7(ptr) Variable Function
    164        52(param):     16(ptr) Variable Function
    165        54(param):      7(ptr) Variable Function
    166               50:          15 Load 49(input)
    167                               Store 47(input) 50
    168               53:          15 Load 47(input)
    169                               Store 52(param) 53
    170               55:           2 FunctionCall 20(@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;) 52(param) 54(param)
    171               56:6(GSPS_INPUT) Load 54(param)
    172                               Store 51(TriStream) 56
    173                               Return
    174                               FunctionEnd
    175 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;):           2 Function None 8
    176        9(output):      7(ptr) FunctionParameter
    177    10(TriStream):      7(ptr) FunctionParameter
    178               12:             Label
    179               24:6(GSPS_INPUT) Load 9(output)
    180                               Store 23(TriStream) 24
    181                               EmitVertex
    182                               Return
    183                               FunctionEnd
    184 20(@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;):           2 Function None 17
    185        18(input):     16(ptr) FunctionParameter
    186    19(TriStream):      7(ptr) FunctionParameter
    187               21:             Label
    188        27(param):      7(ptr) Variable Function
    189        30(param):      7(ptr) Variable Function
    190        34(param):      7(ptr) Variable Function
    191        37(param):      7(ptr) Variable Function
    192        41(param):      7(ptr) Variable Function
    193        44(param):      7(ptr) Variable Function
    194               28:      7(ptr) AccessChain 18(input) 26
    195               29:6(GSPS_INPUT) Load 28
    196                               Store 27(param) 29
    197               31:           2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 27(param) 30(param)
    198               32:6(GSPS_INPUT) Load 30(param)
    199                               Store 19(TriStream) 32
    200               35:      7(ptr) AccessChain 18(input) 33
    201               36:6(GSPS_INPUT) Load 35
    202                               Store 34(param) 36
    203               38:           2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 34(param) 37(param)
    204               39:6(GSPS_INPUT) Load 37(param)
    205                               Store 19(TriStream) 39
    206               42:      7(ptr) AccessChain 18(input) 40
    207               43:6(GSPS_INPUT) Load 42
    208                               Store 41(param) 43
    209               45:           2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 41(param) 44(param)
    210               46:6(GSPS_INPUT) Load 44(param)
    211                               Store 19(TriStream) 46
    212                               Return
    213                               FunctionEnd
    214