1hlsl.tristream-append.geom
2Shader version: 500
3invocations = -1
4max_vertices = 3
5input primitive = triangles
6output primitive = triangle_strip
70:? Sequence
80:8  Function Definition: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
90:8    Function Parameters:
100:8      'output' ( in structure{})
110:8      'TriStream' ( out structure{})
120:?     Sequence
130:9      Sequence
140:9        Sequence
150:9          move second child to first child ( temp structure{})
160:9            'TriStream' ( out structure{})
170:9            'output' ( in structure{})
180:9        EmitVertex ( temp void)
190:14  Function Definition: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
200:14    Function Parameters:
210:14      'input' ( in 3-element array of structure{})
220:14      'TriStream' ( out structure{})
230:?     Sequence
240:15      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
250:15        direct index ( temp structure{})
260:15          'input' ( in 3-element array of structure{})
270:15          Constant:
280:15            0 (const int)
290:15        'TriStream' ( out structure{})
300:16      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
310:16        direct index ( temp structure{})
320:16          'input' ( in 3-element array of structure{})
330:16          Constant:
340:16            1 (const int)
350:16        'TriStream' ( out structure{})
360:17      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
370:17        direct index ( temp structure{})
380:17          'input' ( in 3-element array of structure{})
390:17          Constant:
400:17            2 (const int)
410:17        'TriStream' ( out structure{})
420:14  Function Definition: main( ( temp void)
430:14    Function Parameters:
440:?     Sequence
450:14      move second child to first child ( temp 3-element array of structure{})
460:?         'input' ( temp 3-element array of structure{})
470:?         'input' ( in 3-element array of structure{})
480:14      Function Call: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
490:?         'input' ( temp 3-element array of structure{})
500:?         'TriStream' ( temp structure{})
510:?   Linker Objects
52
53
54Linked geometry stage:
55
56
57Shader version: 500
58invocations = 1
59max_vertices = 3
60input primitive = triangles
61output primitive = triangle_strip
620:? Sequence
630:8  Function Definition: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
640:8    Function Parameters:
650:8      'output' ( in structure{})
660:8      'TriStream' ( out structure{})
670:?     Sequence
680:9      Sequence
690:9        Sequence
700:9          move second child to first child ( temp structure{})
710:9            'TriStream' ( out structure{})
720:9            'output' ( in structure{})
730:9        EmitVertex ( temp void)
740:14  Function Definition: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
750:14    Function Parameters:
760:14      'input' ( in 3-element array of structure{})
770:14      'TriStream' ( out structure{})
780:?     Sequence
790:15      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
800:15        direct index ( temp structure{})
810:15          'input' ( in 3-element array of structure{})
820:15          Constant:
830:15            0 (const int)
840:15        'TriStream' ( out structure{})
850:16      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
860:16        direct index ( temp structure{})
870:16          'input' ( in 3-element array of structure{})
880:16          Constant:
890:16            1 (const int)
900:16        'TriStream' ( out structure{})
910:17      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
920:17        direct index ( temp structure{})
930:17          'input' ( in 3-element array of structure{})
940:17          Constant:
950:17            2 (const int)
960:17        'TriStream' ( out structure{})
970:14  Function Definition: main( ( temp void)
980:14    Function Parameters:
990:?     Sequence
1000:14      move second child to first child ( temp 3-element array of structure{})
1010:?         'input' ( temp 3-element array of structure{})
1020:?         'input' ( in 3-element array of structure{})
1030:14      Function Call: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
1040:?         'input' ( temp 3-element array of structure{})
1050:?         'TriStream' ( temp structure{})
1060:?   Linker Objects
107
108// Module Version 10000
109// Generated by (magic number): 80007
110// Id's are bound by 57
111
112                              Capability Geometry
113               1:             ExtInstImport  "GLSL.std.450"
114                              MemoryModel Logical GLSL450
115                              EntryPoint Geometry 4  "main"
116                              ExecutionMode 4 Triangles
117                              ExecutionMode 4 Invocations 1
118                              ExecutionMode 4 OutputTriangleStrip
119                              ExecutionMode 4 OutputVertices 3
120                              Source HLSL 500
121                              Name 4  "main"
122                              Name 6  "GSPS_INPUT"
123                              Name 11  "EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;"
124                              Name 9  "output"
125                              Name 10  "TriStream"
126                              Name 20  "@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;"
127                              Name 18  "input"
128                              Name 19  "TriStream"
129                              Name 23  "TriStream"
130                              Name 27  "param"
131                              Name 30  "param"
132                              Name 34  "param"
133                              Name 37  "param"
134                              Name 41  "param"
135                              Name 44  "param"
136                              Name 47  "input"
137                              Name 49  "input"
138                              Name 51  "TriStream"
139                              Name 52  "param"
140                              Name 54  "param"
141               2:             TypeVoid
142               3:             TypeFunction 2
143   6(GSPS_INPUT):             TypeStruct
144               7:             TypePointer Function 6(GSPS_INPUT)
145               8:             TypeFunction 2 7(ptr) 7(ptr)
146              13:             TypeInt 32 0
147              14:     13(int) Constant 3
148              15:             TypeArray 6(GSPS_INPUT) 14
149              16:             TypePointer Function 15
150              17:             TypeFunction 2 16(ptr) 7(ptr)
151              22:             TypePointer Output 6(GSPS_INPUT)
152   23(TriStream):     22(ptr) Variable Output
153              25:             TypeInt 32 1
154              26:     25(int) Constant 0
155              33:     25(int) Constant 1
156              40:     25(int) Constant 2
157              48:             TypePointer Input 15
158       49(input):     48(ptr) Variable Input
159         4(main):           2 Function None 3
160               5:             Label
161       47(input):     16(ptr) Variable Function
162   51(TriStream):      7(ptr) Variable Function
163       52(param):     16(ptr) Variable Function
164       54(param):      7(ptr) Variable Function
165              50:          15 Load 49(input)
166                              Store 47(input) 50
167              53:          15 Load 47(input)
168                              Store 52(param) 53
169              55:           2 FunctionCall 20(@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;) 52(param) 54(param)
170              56:6(GSPS_INPUT) Load 54(param)
171                              Store 51(TriStream) 56
172                              Return
173                              FunctionEnd
17411(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;):           2 Function None 8
175       9(output):      7(ptr) FunctionParameter
176   10(TriStream):      7(ptr) FunctionParameter
177              12:             Label
178              24:6(GSPS_INPUT) Load 9(output)
179                              Store 23(TriStream) 24
180                              EmitVertex
181                              Return
182                              FunctionEnd
18320(@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;):           2 Function None 17
184       18(input):     16(ptr) FunctionParameter
185   19(TriStream):      7(ptr) FunctionParameter
186              21:             Label
187       27(param):      7(ptr) Variable Function
188       30(param):      7(ptr) Variable Function
189       34(param):      7(ptr) Variable Function
190       37(param):      7(ptr) Variable Function
191       41(param):      7(ptr) Variable Function
192       44(param):      7(ptr) Variable Function
193              28:      7(ptr) AccessChain 18(input) 26
194              29:6(GSPS_INPUT) Load 28
195                              Store 27(param) 29
196              31:           2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 27(param) 30(param)
197              32:6(GSPS_INPUT) Load 30(param)
198                              Store 19(TriStream) 32
199              35:      7(ptr) AccessChain 18(input) 33
200              36:6(GSPS_INPUT) Load 35
201                              Store 34(param) 36
202              38:           2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 34(param) 37(param)
203              39:6(GSPS_INPUT) Load 37(param)
204                              Store 19(TriStream) 39
205              42:      7(ptr) AccessChain 18(input) 40
206              43:6(GSPS_INPUT) Load 42
207                              Store 41(param) 43
208              45:           2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 41(param) 44(param)
209              46:6(GSPS_INPUT) Load 44(param)
210                              Store 19(TriStream) 46
211                              Return
212                              FunctionEnd
213