1617a3babSopenharmony_cihlsl.partialFlattenLocal.vert
2617a3babSopenharmony_ciWARNING: AST will form illegal SPIR-V; need to transform to legalize
3617a3babSopenharmony_ciShader version: 500
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:12  Function Definition: @main(vf4; ( temp 4-component vector of float)
6617a3babSopenharmony_ci0:12    Function Parameters: 
7617a3babSopenharmony_ci0:12      'pos' ( in 4-component vector of float)
8617a3babSopenharmony_ci0:?     Sequence
9617a3babSopenharmony_ci0:14      move second child to first child ( temp texture2D)
10617a3babSopenharmony_ci0:14        tex: direct index for structure ( temp texture2D)
11617a3babSopenharmony_ci0:14          'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
12617a3babSopenharmony_ci0:14          Constant:
13617a3babSopenharmony_ci0:14            0 (const int)
14617a3babSopenharmony_ci0:14        'tex' ( uniform texture2D)
15617a3babSopenharmony_ci0:15      move second child to first child ( temp 3-component vector of float)
16617a3babSopenharmony_ci0:15        direct index ( temp 3-component vector of float)
17617a3babSopenharmony_ci0:15          pos: direct index for structure ( temp 3-element array of 3-component vector of float)
18617a3babSopenharmony_ci0:15            'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
19617a3babSopenharmony_ci0:15            Constant:
20617a3babSopenharmony_ci0:15              1 (const int)
21617a3babSopenharmony_ci0:15          Constant:
22617a3babSopenharmony_ci0:15            0 (const int)
23617a3babSopenharmony_ci0:15        Constant:
24617a3babSopenharmony_ci0:15          0.000000
25617a3babSopenharmony_ci0:15          0.000000
26617a3babSopenharmony_ci0:15          0.000000
27617a3babSopenharmony_ci0:16      move second child to first child ( temp 2-component vector of float)
28617a3babSopenharmony_ci0:16        direct index ( temp 2-component vector of float)
29617a3babSopenharmony_ci0:16          uv: direct index for structure ( temp 2-element array of 2-component vector of float)
30617a3babSopenharmony_ci0:16            'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
31617a3babSopenharmony_ci0:16            Constant:
32617a3babSopenharmony_ci0:16              2 (const int)
33617a3babSopenharmony_ci0:16          Constant:
34617a3babSopenharmony_ci0:16            0 (const int)
35617a3babSopenharmony_ci0:16        Constant:
36617a3babSopenharmony_ci0:16          0.000000
37617a3babSopenharmony_ci0:16          1.000000
38617a3babSopenharmony_ci0:17      move second child to first child ( temp float)
39617a3babSopenharmony_ci0:17        x: direct index for structure ( temp float)
40617a3babSopenharmony_ci0:17          'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
41617a3babSopenharmony_ci0:17          Constant:
42617a3babSopenharmony_ci0:17            3 (const int)
43617a3babSopenharmony_ci0:17        Constant:
44617a3babSopenharmony_ci0:17          1.000000
45617a3babSopenharmony_ci0:18      move second child to first child ( temp int)
46617a3babSopenharmony_ci0:18        n: direct index for structure ( temp int)
47617a3babSopenharmony_ci0:18          'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
48617a3babSopenharmony_ci0:18          Constant:
49617a3babSopenharmony_ci0:18            4 (const int)
50617a3babSopenharmony_ci0:18        Constant:
51617a3babSopenharmony_ci0:18          3 (const int)
52617a3babSopenharmony_ci0:20      Sequence
53617a3babSopenharmony_ci0:20        move second child to first child ( temp int)
54617a3babSopenharmony_ci0:20          'i' ( temp int)
55617a3babSopenharmony_ci0:20          Constant:
56617a3babSopenharmony_ci0:20            0 (const int)
57617a3babSopenharmony_ci0:20        Loop with condition tested first
58617a3babSopenharmony_ci0:20          Loop Condition
59617a3babSopenharmony_ci0:20          Compare Less Than ( temp bool)
60617a3babSopenharmony_ci0:20            'i' ( temp int)
61617a3babSopenharmony_ci0:20            Constant:
62617a3babSopenharmony_ci0:20              1 (const int)
63617a3babSopenharmony_ci0:20          Loop Body
64617a3babSopenharmony_ci0:?           Sequence
65617a3babSopenharmony_ci0:21            add second child into first child ( temp 2-component vector of float)
66617a3babSopenharmony_ci0:21              vector swizzle ( temp 2-component vector of float)
67617a3babSopenharmony_ci0:21                indirect index ( temp 3-component vector of float)
68617a3babSopenharmony_ci0:21                  pos: direct index for structure ( temp 3-element array of 3-component vector of float)
69617a3babSopenharmony_ci0:21                    'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
70617a3babSopenharmony_ci0:21                    Constant:
71617a3babSopenharmony_ci0:21                      1 (const int)
72617a3babSopenharmony_ci0:21                  'i' ( temp int)
73617a3babSopenharmony_ci0:21                Sequence
74617a3babSopenharmony_ci0:21                  Constant:
75617a3babSopenharmony_ci0:21                    0 (const int)
76617a3babSopenharmony_ci0:21                  Constant:
77617a3babSopenharmony_ci0:21                    1 (const int)
78617a3babSopenharmony_ci0:21              indirect index ( temp 2-component vector of float)
79617a3babSopenharmony_ci0:21                uv: direct index for structure ( temp 2-element array of 2-component vector of float)
80617a3babSopenharmony_ci0:21                  'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
81617a3babSopenharmony_ci0:21                  Constant:
82617a3babSopenharmony_ci0:21                    2 (const int)
83617a3babSopenharmony_ci0:21                'i' ( temp int)
84617a3babSopenharmony_ci0:20          Loop Terminal Expression
85617a3babSopenharmony_ci0:20          Pre-Increment ( temp int)
86617a3babSopenharmony_ci0:20            'i' ( temp int)
87617a3babSopenharmony_ci0:24      Sequence
88617a3babSopenharmony_ci0:24        move second child to first child ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
89617a3babSopenharmony_ci0:24          'packed2' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
90617a3babSopenharmony_ci0:24          'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
91617a3babSopenharmony_ci0:26      Branch: Return with expression
92617a3babSopenharmony_ci0:26        add ( temp 4-component vector of float)
93617a3babSopenharmony_ci0:26          'pos' ( in 4-component vector of float)
94617a3babSopenharmony_ci0:26          Construct vec4 ( temp 4-component vector of float)
95617a3babSopenharmony_ci0:26            direct index ( temp 3-component vector of float)
96617a3babSopenharmony_ci0:26              pos: direct index for structure ( temp 3-element array of 3-component vector of float)
97617a3babSopenharmony_ci0:26                'packed2' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
98617a3babSopenharmony_ci0:26                Constant:
99617a3babSopenharmony_ci0:26                  1 (const int)
100617a3babSopenharmony_ci0:26              Constant:
101617a3babSopenharmony_ci0:26                0 (const int)
102617a3babSopenharmony_ci0:26            Constant:
103617a3babSopenharmony_ci0:26              0.000000
104617a3babSopenharmony_ci0:12  Function Definition: main( ( temp void)
105617a3babSopenharmony_ci0:12    Function Parameters: 
106617a3babSopenharmony_ci0:?     Sequence
107617a3babSopenharmony_ci0:12      move second child to first child ( temp 4-component vector of float)
108617a3babSopenharmony_ci0:?         'pos' ( temp 4-component vector of float)
109617a3babSopenharmony_ci0:?         'pos' (layout( location=0) in 4-component vector of float)
110617a3babSopenharmony_ci0:12      move second child to first child ( temp 4-component vector of float)
111617a3babSopenharmony_ci0:?         '@entryPointOutput' ( out 4-component vector of float Position)
112617a3babSopenharmony_ci0:12        Function Call: @main(vf4; ( temp 4-component vector of float)
113617a3babSopenharmony_ci0:?           'pos' ( temp 4-component vector of float)
114617a3babSopenharmony_ci0:?   Linker Objects
115617a3babSopenharmony_ci0:?     'tex' ( uniform texture2D)
116617a3babSopenharmony_ci0:?     '@entryPointOutput' ( out 4-component vector of float Position)
117617a3babSopenharmony_ci0:?     'pos' (layout( location=0) in 4-component vector of float)
118617a3babSopenharmony_ci
119617a3babSopenharmony_ci
120617a3babSopenharmony_ciLinked vertex stage:
121617a3babSopenharmony_ci
122617a3babSopenharmony_ci
123617a3babSopenharmony_ciShader version: 500
124617a3babSopenharmony_ci0:? Sequence
125617a3babSopenharmony_ci0:12  Function Definition: @main(vf4; ( temp 4-component vector of float)
126617a3babSopenharmony_ci0:12    Function Parameters: 
127617a3babSopenharmony_ci0:12      'pos' ( in 4-component vector of float)
128617a3babSopenharmony_ci0:?     Sequence
129617a3babSopenharmony_ci0:14      move second child to first child ( temp texture2D)
130617a3babSopenharmony_ci0:14        tex: direct index for structure ( temp texture2D)
131617a3babSopenharmony_ci0:14          'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
132617a3babSopenharmony_ci0:14          Constant:
133617a3babSopenharmony_ci0:14            0 (const int)
134617a3babSopenharmony_ci0:14        'tex' ( uniform texture2D)
135617a3babSopenharmony_ci0:15      move second child to first child ( temp 3-component vector of float)
136617a3babSopenharmony_ci0:15        direct index ( temp 3-component vector of float)
137617a3babSopenharmony_ci0:15          pos: direct index for structure ( temp 3-element array of 3-component vector of float)
138617a3babSopenharmony_ci0:15            'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
139617a3babSopenharmony_ci0:15            Constant:
140617a3babSopenharmony_ci0:15              1 (const int)
141617a3babSopenharmony_ci0:15          Constant:
142617a3babSopenharmony_ci0:15            0 (const int)
143617a3babSopenharmony_ci0:15        Constant:
144617a3babSopenharmony_ci0:15          0.000000
145617a3babSopenharmony_ci0:15          0.000000
146617a3babSopenharmony_ci0:15          0.000000
147617a3babSopenharmony_ci0:16      move second child to first child ( temp 2-component vector of float)
148617a3babSopenharmony_ci0:16        direct index ( temp 2-component vector of float)
149617a3babSopenharmony_ci0:16          uv: direct index for structure ( temp 2-element array of 2-component vector of float)
150617a3babSopenharmony_ci0:16            'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
151617a3babSopenharmony_ci0:16            Constant:
152617a3babSopenharmony_ci0:16              2 (const int)
153617a3babSopenharmony_ci0:16          Constant:
154617a3babSopenharmony_ci0:16            0 (const int)
155617a3babSopenharmony_ci0:16        Constant:
156617a3babSopenharmony_ci0:16          0.000000
157617a3babSopenharmony_ci0:16          1.000000
158617a3babSopenharmony_ci0:17      move second child to first child ( temp float)
159617a3babSopenharmony_ci0:17        x: direct index for structure ( temp float)
160617a3babSopenharmony_ci0:17          'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
161617a3babSopenharmony_ci0:17          Constant:
162617a3babSopenharmony_ci0:17            3 (const int)
163617a3babSopenharmony_ci0:17        Constant:
164617a3babSopenharmony_ci0:17          1.000000
165617a3babSopenharmony_ci0:18      move second child to first child ( temp int)
166617a3babSopenharmony_ci0:18        n: direct index for structure ( temp int)
167617a3babSopenharmony_ci0:18          'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
168617a3babSopenharmony_ci0:18          Constant:
169617a3babSopenharmony_ci0:18            4 (const int)
170617a3babSopenharmony_ci0:18        Constant:
171617a3babSopenharmony_ci0:18          3 (const int)
172617a3babSopenharmony_ci0:20      Sequence
173617a3babSopenharmony_ci0:20        move second child to first child ( temp int)
174617a3babSopenharmony_ci0:20          'i' ( temp int)
175617a3babSopenharmony_ci0:20          Constant:
176617a3babSopenharmony_ci0:20            0 (const int)
177617a3babSopenharmony_ci0:20        Loop with condition tested first
178617a3babSopenharmony_ci0:20          Loop Condition
179617a3babSopenharmony_ci0:20          Compare Less Than ( temp bool)
180617a3babSopenharmony_ci0:20            'i' ( temp int)
181617a3babSopenharmony_ci0:20            Constant:
182617a3babSopenharmony_ci0:20              1 (const int)
183617a3babSopenharmony_ci0:20          Loop Body
184617a3babSopenharmony_ci0:?           Sequence
185617a3babSopenharmony_ci0:21            add second child into first child ( temp 2-component vector of float)
186617a3babSopenharmony_ci0:21              vector swizzle ( temp 2-component vector of float)
187617a3babSopenharmony_ci0:21                indirect index ( temp 3-component vector of float)
188617a3babSopenharmony_ci0:21                  pos: direct index for structure ( temp 3-element array of 3-component vector of float)
189617a3babSopenharmony_ci0:21                    'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
190617a3babSopenharmony_ci0:21                    Constant:
191617a3babSopenharmony_ci0:21                      1 (const int)
192617a3babSopenharmony_ci0:21                  'i' ( temp int)
193617a3babSopenharmony_ci0:21                Sequence
194617a3babSopenharmony_ci0:21                  Constant:
195617a3babSopenharmony_ci0:21                    0 (const int)
196617a3babSopenharmony_ci0:21                  Constant:
197617a3babSopenharmony_ci0:21                    1 (const int)
198617a3babSopenharmony_ci0:21              indirect index ( temp 2-component vector of float)
199617a3babSopenharmony_ci0:21                uv: direct index for structure ( temp 2-element array of 2-component vector of float)
200617a3babSopenharmony_ci0:21                  'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
201617a3babSopenharmony_ci0:21                  Constant:
202617a3babSopenharmony_ci0:21                    2 (const int)
203617a3babSopenharmony_ci0:21                'i' ( temp int)
204617a3babSopenharmony_ci0:20          Loop Terminal Expression
205617a3babSopenharmony_ci0:20          Pre-Increment ( temp int)
206617a3babSopenharmony_ci0:20            'i' ( temp int)
207617a3babSopenharmony_ci0:24      Sequence
208617a3babSopenharmony_ci0:24        move second child to first child ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
209617a3babSopenharmony_ci0:24          'packed2' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
210617a3babSopenharmony_ci0:24          'packed' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
211617a3babSopenharmony_ci0:26      Branch: Return with expression
212617a3babSopenharmony_ci0:26        add ( temp 4-component vector of float)
213617a3babSopenharmony_ci0:26          'pos' ( in 4-component vector of float)
214617a3babSopenharmony_ci0:26          Construct vec4 ( temp 4-component vector of float)
215617a3babSopenharmony_ci0:26            direct index ( temp 3-component vector of float)
216617a3babSopenharmony_ci0:26              pos: direct index for structure ( temp 3-element array of 3-component vector of float)
217617a3babSopenharmony_ci0:26                'packed2' ( temp structure{ temp texture2D tex,  temp 3-element array of 3-component vector of float pos,  temp 2-element array of 2-component vector of float uv,  temp float x,  temp int n})
218617a3babSopenharmony_ci0:26                Constant:
219617a3babSopenharmony_ci0:26                  1 (const int)
220617a3babSopenharmony_ci0:26              Constant:
221617a3babSopenharmony_ci0:26                0 (const int)
222617a3babSopenharmony_ci0:26            Constant:
223617a3babSopenharmony_ci0:26              0.000000
224617a3babSopenharmony_ci0:12  Function Definition: main( ( temp void)
225617a3babSopenharmony_ci0:12    Function Parameters: 
226617a3babSopenharmony_ci0:?     Sequence
227617a3babSopenharmony_ci0:12      move second child to first child ( temp 4-component vector of float)
228617a3babSopenharmony_ci0:?         'pos' ( temp 4-component vector of float)
229617a3babSopenharmony_ci0:?         'pos' (layout( location=0) in 4-component vector of float)
230617a3babSopenharmony_ci0:12      move second child to first child ( temp 4-component vector of float)
231617a3babSopenharmony_ci0:?         '@entryPointOutput' ( out 4-component vector of float Position)
232617a3babSopenharmony_ci0:12        Function Call: @main(vf4; ( temp 4-component vector of float)
233617a3babSopenharmony_ci0:?           'pos' ( temp 4-component vector of float)
234617a3babSopenharmony_ci0:?   Linker Objects
235617a3babSopenharmony_ci0:?     'tex' ( uniform texture2D)
236617a3babSopenharmony_ci0:?     '@entryPointOutput' ( out 4-component vector of float Position)
237617a3babSopenharmony_ci0:?     'pos' (layout( location=0) in 4-component vector of float)
238617a3babSopenharmony_ci
239617a3babSopenharmony_ci// Module Version 10000
240617a3babSopenharmony_ci// Generated by (magic number): 8000b
241617a3babSopenharmony_ci// Id's are bound by 93
242617a3babSopenharmony_ci
243617a3babSopenharmony_ci                              Capability Shader
244617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
245617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
246617a3babSopenharmony_ci                              EntryPoint Vertex 4  "main" 86 89
247617a3babSopenharmony_ci                              Source HLSL 500
248617a3babSopenharmony_ci                              Name 4  "main"
249617a3babSopenharmony_ci                              Name 11  "@main(vf4;"
250617a3babSopenharmony_ci                              Name 10  "pos"
251617a3babSopenharmony_ci                              Name 22  "Packed"
252617a3babSopenharmony_ci                              MemberName 22(Packed) 0  "tex"
253617a3babSopenharmony_ci                              MemberName 22(Packed) 1  "pos"
254617a3babSopenharmony_ci                              MemberName 22(Packed) 2  "uv"
255617a3babSopenharmony_ci                              MemberName 22(Packed) 3  "x"
256617a3babSopenharmony_ci                              MemberName 22(Packed) 4  "n"
257617a3babSopenharmony_ci                              Name 24  "packed"
258617a3babSopenharmony_ci                              Name 27  "tex"
259617a3babSopenharmony_ci                              Name 47  "i"
260617a3babSopenharmony_ci                              Name 72  "packed2"
261617a3babSopenharmony_ci                              Name 84  "pos"
262617a3babSopenharmony_ci                              Name 86  "pos"
263617a3babSopenharmony_ci                              Name 89  "@entryPointOutput"
264617a3babSopenharmony_ci                              Name 90  "param"
265617a3babSopenharmony_ci                              Decorate 27(tex) DescriptorSet 0
266617a3babSopenharmony_ci                              Decorate 27(tex) Binding 0
267617a3babSopenharmony_ci                              Decorate 86(pos) Location 0
268617a3babSopenharmony_ci                              Decorate 89(@entryPointOutput) BuiltIn Position
269617a3babSopenharmony_ci               2:             TypeVoid
270617a3babSopenharmony_ci               3:             TypeFunction 2
271617a3babSopenharmony_ci               6:             TypeFloat 32
272617a3babSopenharmony_ci               7:             TypeVector 6(float) 4
273617a3babSopenharmony_ci               8:             TypePointer Function 7(fvec4)
274617a3babSopenharmony_ci               9:             TypeFunction 7(fvec4) 8(ptr)
275617a3babSopenharmony_ci              13:             TypeImage 6(float) 2D sampled format:Unknown
276617a3babSopenharmony_ci              14:             TypeVector 6(float) 3
277617a3babSopenharmony_ci              15:             TypeInt 32 0
278617a3babSopenharmony_ci              16:     15(int) Constant 3
279617a3babSopenharmony_ci              17:             TypeArray 14(fvec3) 16
280617a3babSopenharmony_ci              18:             TypeVector 6(float) 2
281617a3babSopenharmony_ci              19:     15(int) Constant 2
282617a3babSopenharmony_ci              20:             TypeArray 18(fvec2) 19
283617a3babSopenharmony_ci              21:             TypeInt 32 1
284617a3babSopenharmony_ci      22(Packed):             TypeStruct 13 17 20 6(float) 21(int)
285617a3babSopenharmony_ci              23:             TypePointer Function 22(Packed)
286617a3babSopenharmony_ci              25:     21(int) Constant 0
287617a3babSopenharmony_ci              26:             TypePointer UniformConstant 13
288617a3babSopenharmony_ci         27(tex):     26(ptr) Variable UniformConstant
289617a3babSopenharmony_ci              29:             TypePointer Function 13
290617a3babSopenharmony_ci              31:     21(int) Constant 1
291617a3babSopenharmony_ci              32:    6(float) Constant 0
292617a3babSopenharmony_ci              33:   14(fvec3) ConstantComposite 32 32 32
293617a3babSopenharmony_ci              34:             TypePointer Function 14(fvec3)
294617a3babSopenharmony_ci              36:     21(int) Constant 2
295617a3babSopenharmony_ci              37:    6(float) Constant 1065353216
296617a3babSopenharmony_ci              38:   18(fvec2) ConstantComposite 32 37
297617a3babSopenharmony_ci              39:             TypePointer Function 18(fvec2)
298617a3babSopenharmony_ci              41:     21(int) Constant 3
299617a3babSopenharmony_ci              42:             TypePointer Function 6(float)
300617a3babSopenharmony_ci              44:     21(int) Constant 4
301617a3babSopenharmony_ci              45:             TypePointer Function 21(int)
302617a3babSopenharmony_ci              54:             TypeBool
303617a3babSopenharmony_ci              64:     15(int) Constant 0
304617a3babSopenharmony_ci              67:     15(int) Constant 1
305617a3babSopenharmony_ci              85:             TypePointer Input 7(fvec4)
306617a3babSopenharmony_ci         86(pos):     85(ptr) Variable Input
307617a3babSopenharmony_ci              88:             TypePointer Output 7(fvec4)
308617a3babSopenharmony_ci89(@entryPointOutput):     88(ptr) Variable Output
309617a3babSopenharmony_ci         4(main):           2 Function None 3
310617a3babSopenharmony_ci               5:             Label
311617a3babSopenharmony_ci         84(pos):      8(ptr) Variable Function
312617a3babSopenharmony_ci       90(param):      8(ptr) Variable Function
313617a3babSopenharmony_ci              87:    7(fvec4) Load 86(pos)
314617a3babSopenharmony_ci                              Store 84(pos) 87
315617a3babSopenharmony_ci              91:    7(fvec4) Load 84(pos)
316617a3babSopenharmony_ci                              Store 90(param) 91
317617a3babSopenharmony_ci              92:    7(fvec4) FunctionCall 11(@main(vf4;) 90(param)
318617a3babSopenharmony_ci                              Store 89(@entryPointOutput) 92
319617a3babSopenharmony_ci                              Return
320617a3babSopenharmony_ci                              FunctionEnd
321617a3babSopenharmony_ci  11(@main(vf4;):    7(fvec4) Function None 9
322617a3babSopenharmony_ci         10(pos):      8(ptr) FunctionParameter
323617a3babSopenharmony_ci              12:             Label
324617a3babSopenharmony_ci      24(packed):     23(ptr) Variable Function
325617a3babSopenharmony_ci           47(i):     45(ptr) Variable Function
326617a3babSopenharmony_ci     72(packed2):     23(ptr) Variable Function
327617a3babSopenharmony_ci              28:          13 Load 27(tex)
328617a3babSopenharmony_ci              30:     29(ptr) AccessChain 24(packed) 25
329617a3babSopenharmony_ci                              Store 30 28
330617a3babSopenharmony_ci              35:     34(ptr) AccessChain 24(packed) 31 25
331617a3babSopenharmony_ci                              Store 35 33
332617a3babSopenharmony_ci              40:     39(ptr) AccessChain 24(packed) 36 25
333617a3babSopenharmony_ci                              Store 40 38
334617a3babSopenharmony_ci              43:     42(ptr) AccessChain 24(packed) 41
335617a3babSopenharmony_ci                              Store 43 37
336617a3babSopenharmony_ci              46:     45(ptr) AccessChain 24(packed) 44
337617a3babSopenharmony_ci                              Store 46 41
338617a3babSopenharmony_ci                              Store 47(i) 25
339617a3babSopenharmony_ci                              Branch 48
340617a3babSopenharmony_ci              48:             Label
341617a3babSopenharmony_ci                              LoopMerge 50 51 None
342617a3babSopenharmony_ci                              Branch 52
343617a3babSopenharmony_ci              52:             Label
344617a3babSopenharmony_ci              53:     21(int) Load 47(i)
345617a3babSopenharmony_ci              55:    54(bool) SLessThan 53 31
346617a3babSopenharmony_ci                              BranchConditional 55 49 50
347617a3babSopenharmony_ci              49:               Label
348617a3babSopenharmony_ci              56:     21(int)   Load 47(i)
349617a3babSopenharmony_ci              57:     21(int)   Load 47(i)
350617a3babSopenharmony_ci              58:     39(ptr)   AccessChain 24(packed) 36 57
351617a3babSopenharmony_ci              59:   18(fvec2)   Load 58
352617a3babSopenharmony_ci              60:     34(ptr)   AccessChain 24(packed) 31 56
353617a3babSopenharmony_ci              61:   14(fvec3)   Load 60
354617a3babSopenharmony_ci              62:   18(fvec2)   VectorShuffle 61 61 0 1
355617a3babSopenharmony_ci              63:   18(fvec2)   FAdd 62 59
356617a3babSopenharmony_ci              65:     42(ptr)   AccessChain 24(packed) 31 56 64
357617a3babSopenharmony_ci              66:    6(float)   CompositeExtract 63 0
358617a3babSopenharmony_ci                                Store 65 66
359617a3babSopenharmony_ci              68:     42(ptr)   AccessChain 24(packed) 31 56 67
360617a3babSopenharmony_ci              69:    6(float)   CompositeExtract 63 1
361617a3babSopenharmony_ci                                Store 68 69
362617a3babSopenharmony_ci                                Branch 51
363617a3babSopenharmony_ci              51:               Label
364617a3babSopenharmony_ci              70:     21(int)   Load 47(i)
365617a3babSopenharmony_ci              71:     21(int)   IAdd 70 31
366617a3babSopenharmony_ci                                Store 47(i) 71
367617a3babSopenharmony_ci                                Branch 48
368617a3babSopenharmony_ci              50:             Label
369617a3babSopenharmony_ci              73:  22(Packed) Load 24(packed)
370617a3babSopenharmony_ci                              Store 72(packed2) 73
371617a3babSopenharmony_ci              74:    7(fvec4) Load 10(pos)
372617a3babSopenharmony_ci              75:     34(ptr) AccessChain 72(packed2) 31 25
373617a3babSopenharmony_ci              76:   14(fvec3) Load 75
374617a3babSopenharmony_ci              77:    6(float) CompositeExtract 76 0
375617a3babSopenharmony_ci              78:    6(float) CompositeExtract 76 1
376617a3babSopenharmony_ci              79:    6(float) CompositeExtract 76 2
377617a3babSopenharmony_ci              80:    7(fvec4) CompositeConstruct 77 78 79 32
378617a3babSopenharmony_ci              81:    7(fvec4) FAdd 74 80
379617a3babSopenharmony_ci                              ReturnValue 81
380617a3babSopenharmony_ci                              FunctionEnd
381