1617a3babSopenharmony_cihlsl.tristream-append.geom
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_ciinvocations = -1
4617a3babSopenharmony_cimax_vertices = 3
5617a3babSopenharmony_ciinput primitive = triangles
6617a3babSopenharmony_cioutput primitive = triangle_strip
7617a3babSopenharmony_ci0:? Sequence
8617a3babSopenharmony_ci0:8  Function Definition: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
9617a3babSopenharmony_ci0:8    Function Parameters: 
10617a3babSopenharmony_ci0:8      'output' ( in structure{})
11617a3babSopenharmony_ci0:8      'TriStream' ( out structure{})
12617a3babSopenharmony_ci0:?     Sequence
13617a3babSopenharmony_ci0:9      Sequence
14617a3babSopenharmony_ci0:9        Sequence
15617a3babSopenharmony_ci0:9          move second child to first child ( temp structure{})
16617a3babSopenharmony_ci0:9            'TriStream' ( out structure{})
17617a3babSopenharmony_ci0:9            'output' ( in structure{})
18617a3babSopenharmony_ci0:9        EmitVertex ( temp void)
19617a3babSopenharmony_ci0:14  Function Definition: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
20617a3babSopenharmony_ci0:14    Function Parameters: 
21617a3babSopenharmony_ci0:14      'input' ( in 3-element array of structure{})
22617a3babSopenharmony_ci0:14      'TriStream' ( out structure{})
23617a3babSopenharmony_ci0:?     Sequence
24617a3babSopenharmony_ci0:15      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
25617a3babSopenharmony_ci0:15        direct index ( temp structure{})
26617a3babSopenharmony_ci0:15          'input' ( in 3-element array of structure{})
27617a3babSopenharmony_ci0:15          Constant:
28617a3babSopenharmony_ci0:15            0 (const int)
29617a3babSopenharmony_ci0:15        'TriStream' ( out structure{})
30617a3babSopenharmony_ci0:16      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
31617a3babSopenharmony_ci0:16        direct index ( temp structure{})
32617a3babSopenharmony_ci0:16          'input' ( in 3-element array of structure{})
33617a3babSopenharmony_ci0:16          Constant:
34617a3babSopenharmony_ci0:16            1 (const int)
35617a3babSopenharmony_ci0:16        'TriStream' ( out structure{})
36617a3babSopenharmony_ci0:17      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
37617a3babSopenharmony_ci0:17        direct index ( temp structure{})
38617a3babSopenharmony_ci0:17          'input' ( in 3-element array of structure{})
39617a3babSopenharmony_ci0:17          Constant:
40617a3babSopenharmony_ci0:17            2 (const int)
41617a3babSopenharmony_ci0:17        'TriStream' ( out structure{})
42617a3babSopenharmony_ci0:14  Function Definition: main( ( temp void)
43617a3babSopenharmony_ci0:14    Function Parameters: 
44617a3babSopenharmony_ci0:?     Sequence
45617a3babSopenharmony_ci0:14      Sequence
46617a3babSopenharmony_ci0:14        move second child to first child ( temp structure{})
47617a3babSopenharmony_ci0:14          direct index ( temp structure{})
48617a3babSopenharmony_ci0:?             'input' ( temp 3-element array of structure{})
49617a3babSopenharmony_ci0:14            Constant:
50617a3babSopenharmony_ci0:14              0 (const int)
51617a3babSopenharmony_ci0:14          direct index ( in structure{})
52617a3babSopenharmony_ci0:?             'input' ( in 3-element array of structure{})
53617a3babSopenharmony_ci0:14            Constant:
54617a3babSopenharmony_ci0:14              0 (const int)
55617a3babSopenharmony_ci0:14        move second child to first child ( temp structure{})
56617a3babSopenharmony_ci0:14          direct index ( temp structure{})
57617a3babSopenharmony_ci0:?             'input' ( temp 3-element array of structure{})
58617a3babSopenharmony_ci0:14            Constant:
59617a3babSopenharmony_ci0:14              1 (const int)
60617a3babSopenharmony_ci0:14          direct index ( in structure{})
61617a3babSopenharmony_ci0:?             'input' ( in 3-element array of structure{})
62617a3babSopenharmony_ci0:14            Constant:
63617a3babSopenharmony_ci0:14              1 (const int)
64617a3babSopenharmony_ci0:14        move second child to first child ( temp structure{})
65617a3babSopenharmony_ci0:14          direct index ( temp structure{})
66617a3babSopenharmony_ci0:?             'input' ( temp 3-element array of structure{})
67617a3babSopenharmony_ci0:14            Constant:
68617a3babSopenharmony_ci0:14              2 (const int)
69617a3babSopenharmony_ci0:14          direct index ( in structure{})
70617a3babSopenharmony_ci0:?             'input' ( in 3-element array of structure{})
71617a3babSopenharmony_ci0:14            Constant:
72617a3babSopenharmony_ci0:14              2 (const int)
73617a3babSopenharmony_ci0:14      Function Call: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
74617a3babSopenharmony_ci0:?         'input' ( temp 3-element array of structure{})
75617a3babSopenharmony_ci0:?         'TriStream' ( temp structure{})
76617a3babSopenharmony_ci0:?   Linker Objects
77617a3babSopenharmony_ci
78617a3babSopenharmony_ci
79617a3babSopenharmony_ciLinked geometry stage:
80617a3babSopenharmony_ci
81617a3babSopenharmony_ci
82617a3babSopenharmony_ciShader version: 500
83617a3babSopenharmony_ciinvocations = 1
84617a3babSopenharmony_cimax_vertices = 3
85617a3babSopenharmony_ciinput primitive = triangles
86617a3babSopenharmony_cioutput primitive = triangle_strip
87617a3babSopenharmony_ci0:? Sequence
88617a3babSopenharmony_ci0:8  Function Definition: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
89617a3babSopenharmony_ci0:8    Function Parameters: 
90617a3babSopenharmony_ci0:8      'output' ( in structure{})
91617a3babSopenharmony_ci0:8      'TriStream' ( out structure{})
92617a3babSopenharmony_ci0:?     Sequence
93617a3babSopenharmony_ci0:9      Sequence
94617a3babSopenharmony_ci0:9        Sequence
95617a3babSopenharmony_ci0:9          move second child to first child ( temp structure{})
96617a3babSopenharmony_ci0:9            'TriStream' ( out structure{})
97617a3babSopenharmony_ci0:9            'output' ( in structure{})
98617a3babSopenharmony_ci0:9        EmitVertex ( temp void)
99617a3babSopenharmony_ci0:14  Function Definition: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
100617a3babSopenharmony_ci0:14    Function Parameters: 
101617a3babSopenharmony_ci0:14      'input' ( in 3-element array of structure{})
102617a3babSopenharmony_ci0:14      'TriStream' ( out structure{})
103617a3babSopenharmony_ci0:?     Sequence
104617a3babSopenharmony_ci0:15      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
105617a3babSopenharmony_ci0:15        direct index ( temp structure{})
106617a3babSopenharmony_ci0:15          'input' ( in 3-element array of structure{})
107617a3babSopenharmony_ci0:15          Constant:
108617a3babSopenharmony_ci0:15            0 (const int)
109617a3babSopenharmony_ci0:15        'TriStream' ( out structure{})
110617a3babSopenharmony_ci0:16      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
111617a3babSopenharmony_ci0:16        direct index ( temp structure{})
112617a3babSopenharmony_ci0:16          'input' ( in 3-element array of structure{})
113617a3babSopenharmony_ci0:16          Constant:
114617a3babSopenharmony_ci0:16            1 (const int)
115617a3babSopenharmony_ci0:16        'TriStream' ( out structure{})
116617a3babSopenharmony_ci0:17      Function Call: EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1; ( temp void)
117617a3babSopenharmony_ci0:17        direct index ( temp structure{})
118617a3babSopenharmony_ci0:17          'input' ( in 3-element array of structure{})
119617a3babSopenharmony_ci0:17          Constant:
120617a3babSopenharmony_ci0:17            2 (const int)
121617a3babSopenharmony_ci0:17        'TriStream' ( out structure{})
122617a3babSopenharmony_ci0:14  Function Definition: main( ( temp void)
123617a3babSopenharmony_ci0:14    Function Parameters: 
124617a3babSopenharmony_ci0:?     Sequence
125617a3babSopenharmony_ci0:14      Sequence
126617a3babSopenharmony_ci0:14        move second child to first child ( temp structure{})
127617a3babSopenharmony_ci0:14          direct index ( temp structure{})
128617a3babSopenharmony_ci0:?             'input' ( temp 3-element array of structure{})
129617a3babSopenharmony_ci0:14            Constant:
130617a3babSopenharmony_ci0:14              0 (const int)
131617a3babSopenharmony_ci0:14          direct index ( in structure{})
132617a3babSopenharmony_ci0:?             'input' ( in 3-element array of structure{})
133617a3babSopenharmony_ci0:14            Constant:
134617a3babSopenharmony_ci0:14              0 (const int)
135617a3babSopenharmony_ci0:14        move second child to first child ( temp structure{})
136617a3babSopenharmony_ci0:14          direct index ( temp structure{})
137617a3babSopenharmony_ci0:?             'input' ( temp 3-element array of structure{})
138617a3babSopenharmony_ci0:14            Constant:
139617a3babSopenharmony_ci0:14              1 (const int)
140617a3babSopenharmony_ci0:14          direct index ( in structure{})
141617a3babSopenharmony_ci0:?             'input' ( in 3-element array of structure{})
142617a3babSopenharmony_ci0:14            Constant:
143617a3babSopenharmony_ci0:14              1 (const int)
144617a3babSopenharmony_ci0:14        move second child to first child ( temp structure{})
145617a3babSopenharmony_ci0:14          direct index ( temp structure{})
146617a3babSopenharmony_ci0:?             'input' ( temp 3-element array of structure{})
147617a3babSopenharmony_ci0:14            Constant:
148617a3babSopenharmony_ci0:14              2 (const int)
149617a3babSopenharmony_ci0:14          direct index ( in structure{})
150617a3babSopenharmony_ci0:?             'input' ( in 3-element array of structure{})
151617a3babSopenharmony_ci0:14            Constant:
152617a3babSopenharmony_ci0:14              2 (const int)
153617a3babSopenharmony_ci0:14      Function Call: @main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1; ( temp void)
154617a3babSopenharmony_ci0:?         'input' ( temp 3-element array of structure{})
155617a3babSopenharmony_ci0:?         'TriStream' ( temp structure{})
156617a3babSopenharmony_ci0:?   Linker Objects
157617a3babSopenharmony_ci
158617a3babSopenharmony_ciValidation failed
159617a3babSopenharmony_ci// Module Version 10000
160617a3babSopenharmony_ci// Generated by (magic number): 8000b
161617a3babSopenharmony_ci// Id's are bound by 66
162617a3babSopenharmony_ci
163617a3babSopenharmony_ci                              Capability Geometry
164617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
165617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
166617a3babSopenharmony_ci                              EntryPoint Geometry 4  "main"
167617a3babSopenharmony_ci                              ExecutionMode 4 Triangles
168617a3babSopenharmony_ci                              ExecutionMode 4 Invocations 1
169617a3babSopenharmony_ci                              ExecutionMode 4 OutputTriangleStrip
170617a3babSopenharmony_ci                              ExecutionMode 4 OutputVertices 3
171617a3babSopenharmony_ci                              Source HLSL 500
172617a3babSopenharmony_ci                              Name 4  "main"
173617a3babSopenharmony_ci                              Name 6  "GSPS_INPUT"
174617a3babSopenharmony_ci                              Name 11  "EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;"
175617a3babSopenharmony_ci                              Name 9  "output"
176617a3babSopenharmony_ci                              Name 10  "TriStream"
177617a3babSopenharmony_ci                              Name 20  "@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;"
178617a3babSopenharmony_ci                              Name 18  "input"
179617a3babSopenharmony_ci                              Name 19  "TriStream"
180617a3babSopenharmony_ci                              Name 23  "TriStream"
181617a3babSopenharmony_ci                              Name 27  "param"
182617a3babSopenharmony_ci                              Name 30  "param"
183617a3babSopenharmony_ci                              Name 34  "param"
184617a3babSopenharmony_ci                              Name 37  "param"
185617a3babSopenharmony_ci                              Name 41  "param"
186617a3babSopenharmony_ci                              Name 44  "param"
187617a3babSopenharmony_ci                              Name 47  "input"
188617a3babSopenharmony_ci                              Name 49  "input"
189617a3babSopenharmony_ci                              Name 60  "TriStream"
190617a3babSopenharmony_ci                              Name 61  "param"
191617a3babSopenharmony_ci                              Name 63  "param"
192617a3babSopenharmony_ci               2:             TypeVoid
193617a3babSopenharmony_ci               3:             TypeFunction 2
194617a3babSopenharmony_ci   6(GSPS_INPUT):             TypeStruct
195617a3babSopenharmony_ci               7:             TypePointer Function 6(GSPS_INPUT)
196617a3babSopenharmony_ci               8:             TypeFunction 2 7(ptr) 7(ptr)
197617a3babSopenharmony_ci              13:             TypeInt 32 0
198617a3babSopenharmony_ci              14:     13(int) Constant 3
199617a3babSopenharmony_ci              15:             TypeArray 6(GSPS_INPUT) 14
200617a3babSopenharmony_ci              16:             TypePointer Function 15
201617a3babSopenharmony_ci              17:             TypeFunction 2 16(ptr) 7(ptr)
202617a3babSopenharmony_ci              22:             TypePointer Output 6(GSPS_INPUT)
203617a3babSopenharmony_ci   23(TriStream):     22(ptr) Variable Output
204617a3babSopenharmony_ci              25:             TypeInt 32 1
205617a3babSopenharmony_ci              26:     25(int) Constant 0
206617a3babSopenharmony_ci              33:     25(int) Constant 1
207617a3babSopenharmony_ci              40:     25(int) Constant 2
208617a3babSopenharmony_ci              48:             TypePointer Input 15
209617a3babSopenharmony_ci       49(input):     48(ptr) Variable Input
210617a3babSopenharmony_ci              50:             TypePointer Input 6(GSPS_INPUT)
211617a3babSopenharmony_ci         4(main):           2 Function None 3
212617a3babSopenharmony_ci               5:             Label
213617a3babSopenharmony_ci       47(input):     16(ptr) Variable Function
214617a3babSopenharmony_ci   60(TriStream):      7(ptr) Variable Function
215617a3babSopenharmony_ci       61(param):     16(ptr) Variable Function
216617a3babSopenharmony_ci       63(param):      7(ptr) Variable Function
217617a3babSopenharmony_ci              51:     50(ptr) AccessChain 49(input) 26
218617a3babSopenharmony_ci              52:6(GSPS_INPUT) Load 51
219617a3babSopenharmony_ci              53:      7(ptr) AccessChain 47(input) 26
220617a3babSopenharmony_ci                              Store 53 52
221617a3babSopenharmony_ci              54:     50(ptr) AccessChain 49(input) 33
222617a3babSopenharmony_ci              55:6(GSPS_INPUT) Load 54
223617a3babSopenharmony_ci              56:      7(ptr) AccessChain 47(input) 33
224617a3babSopenharmony_ci                              Store 56 55
225617a3babSopenharmony_ci              57:     50(ptr) AccessChain 49(input) 40
226617a3babSopenharmony_ci              58:6(GSPS_INPUT) Load 57
227617a3babSopenharmony_ci              59:      7(ptr) AccessChain 47(input) 40
228617a3babSopenharmony_ci                              Store 59 58
229617a3babSopenharmony_ci              62:          15 Load 47(input)
230617a3babSopenharmony_ci                              Store 61(param) 62
231617a3babSopenharmony_ci              64:           2 FunctionCall 20(@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;) 61(param) 63(param)
232617a3babSopenharmony_ci              65:6(GSPS_INPUT) Load 63(param)
233617a3babSopenharmony_ci                              Store 60(TriStream) 65
234617a3babSopenharmony_ci                              Return
235617a3babSopenharmony_ci                              FunctionEnd
236617a3babSopenharmony_ci11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;):           2 Function None 8
237617a3babSopenharmony_ci       9(output):      7(ptr) FunctionParameter
238617a3babSopenharmony_ci   10(TriStream):      7(ptr) FunctionParameter
239617a3babSopenharmony_ci              12:             Label
240617a3babSopenharmony_ci              24:6(GSPS_INPUT) Load 9(output)
241617a3babSopenharmony_ci                              Store 23(TriStream) 24
242617a3babSopenharmony_ci                              EmitVertex
243617a3babSopenharmony_ci                              Return
244617a3babSopenharmony_ci                              FunctionEnd
245617a3babSopenharmony_ci20(@main(struct-GSPS_INPUT1[3];struct-GSPS_INPUT1;):           2 Function None 17
246617a3babSopenharmony_ci       18(input):     16(ptr) FunctionParameter
247617a3babSopenharmony_ci   19(TriStream):      7(ptr) FunctionParameter
248617a3babSopenharmony_ci              21:             Label
249617a3babSopenharmony_ci       27(param):      7(ptr) Variable Function
250617a3babSopenharmony_ci       30(param):      7(ptr) Variable Function
251617a3babSopenharmony_ci       34(param):      7(ptr) Variable Function
252617a3babSopenharmony_ci       37(param):      7(ptr) Variable Function
253617a3babSopenharmony_ci       41(param):      7(ptr) Variable Function
254617a3babSopenharmony_ci       44(param):      7(ptr) Variable Function
255617a3babSopenharmony_ci              28:      7(ptr) AccessChain 18(input) 26
256617a3babSopenharmony_ci              29:6(GSPS_INPUT) Load 28
257617a3babSopenharmony_ci                              Store 27(param) 29
258617a3babSopenharmony_ci              31:           2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 27(param) 30(param)
259617a3babSopenharmony_ci              32:6(GSPS_INPUT) Load 30(param)
260617a3babSopenharmony_ci                              Store 19(TriStream) 32
261617a3babSopenharmony_ci              35:      7(ptr) AccessChain 18(input) 33
262617a3babSopenharmony_ci              36:6(GSPS_INPUT) Load 35
263617a3babSopenharmony_ci                              Store 34(param) 36
264617a3babSopenharmony_ci              38:           2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 34(param) 37(param)
265617a3babSopenharmony_ci              39:6(GSPS_INPUT) Load 37(param)
266617a3babSopenharmony_ci                              Store 19(TriStream) 39
267617a3babSopenharmony_ci              42:      7(ptr) AccessChain 18(input) 40
268617a3babSopenharmony_ci              43:6(GSPS_INPUT) Load 42
269617a3babSopenharmony_ci                              Store 41(param) 43
270617a3babSopenharmony_ci              45:           2 FunctionCall 11(EmitVertex(struct-GSPS_INPUT1;struct-GSPS_INPUT1;) 41(param) 44(param)
271617a3babSopenharmony_ci              46:6(GSPS_INPUT) Load 44(param)
272617a3babSopenharmony_ci                              Store 19(TriStream) 46
273617a3babSopenharmony_ci                              Return
274617a3babSopenharmony_ci                              FunctionEnd
275