1617a3babSopenharmony_cihlsl.singleArgIntPromo.vert
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_ci0:? Sequence
4617a3babSopenharmony_ci0:2  Function Definition: @main( ( temp float)
5617a3babSopenharmony_ci0:2    Function Parameters: 
6617a3babSopenharmony_ci0:?     Sequence
7617a3babSopenharmony_ci0:3      Sequence
8617a3babSopenharmony_ci0:3        move second child to first child ( temp int)
9617a3babSopenharmony_ci0:3          'd' ( temp int)
10617a3babSopenharmony_ci0:3          Constant:
11617a3babSopenharmony_ci0:3            4 (const int)
12617a3babSopenharmony_ci0:4      Sequence
13617a3babSopenharmony_ci0:4        move second child to first child ( temp 2-component vector of int)
14617a3babSopenharmony_ci0:4          'd2' ( temp 2-component vector of int)
15617a3babSopenharmony_ci0:4          Construct ivec2 ( temp 2-component vector of int)
16617a3babSopenharmony_ci0:4            Constant:
17617a3babSopenharmony_ci0:4              5 (const int)
18617a3babSopenharmony_ci0:4            'd' ( temp int)
19617a3babSopenharmony_ci0:5      Sequence
20617a3babSopenharmony_ci0:5        move second child to first child ( temp float)
21617a3babSopenharmony_ci0:5          'f1' ( temp float)
22617a3babSopenharmony_ci0:5          Constant:
23617a3babSopenharmony_ci0:5            2.321928
24617a3babSopenharmony_ci0:6      Sequence
25617a3babSopenharmony_ci0:6        move second child to first child ( temp 2-component vector of float)
26617a3babSopenharmony_ci0:6          'f2' ( temp 2-component vector of float)
27617a3babSopenharmony_ci0:6          log ( temp 2-component vector of float)
28617a3babSopenharmony_ci0:6            Convert int to float ( temp 2-component vector of float)
29617a3babSopenharmony_ci0:6              'd2' ( temp 2-component vector of int)
30617a3babSopenharmony_ci0:7      Sequence
31617a3babSopenharmony_ci0:7        move second child to first child ( temp 3-component vector of float)
32617a3babSopenharmony_ci0:7          'f3' ( temp 3-component vector of float)
33617a3babSopenharmony_ci0:7          Constant:
34617a3babSopenharmony_ci0:7            1.945910
35617a3babSopenharmony_ci0:7            0.693147
36617a3babSopenharmony_ci0:7            1.098612
37617a3babSopenharmony_ci0:8      Sequence
38617a3babSopenharmony_ci0:8        move second child to first child ( temp 2-component vector of float)
39617a3babSopenharmony_ci0:8          'f22' ( temp 2-component vector of float)
40617a3babSopenharmony_ci0:8          Constant:
41617a3babSopenharmony_ci0:8            0.000000
42617a3babSopenharmony_ci0:8            0.000000
43617a3babSopenharmony_ci0:10      Sequence
44617a3babSopenharmony_ci0:10        move second child to first child ( temp int)
45617a3babSopenharmony_ci0:10          'a' ( temp int)
46617a3babSopenharmony_ci0:10          Constant:
47617a3babSopenharmony_ci0:10            5 (const int)
48617a3babSopenharmony_ci0:11      Sequence
49617a3babSopenharmony_ci0:11        move second child to first child ( temp mediump float)
50617a3babSopenharmony_ci0:11          'b' ( temp mediump float)
51617a3babSopenharmony_ci0:11          direct index ( temp mediump float)
52617a3babSopenharmony_ci0:11            unpackHalf2x16 ( temp mediump 2-component vector of float)
53617a3babSopenharmony_ci0:11              Convert int to uint ( temp mediump uint)
54617a3babSopenharmony_ci0:11                'a' ( temp mediump int)
55617a3babSopenharmony_ci0:11            Constant:
56617a3babSopenharmony_ci0:11              0 (const int)
57617a3babSopenharmony_ci0:12      multiply second child into first child ( temp mediump float)
58617a3babSopenharmony_ci0:12        'b' ( temp mediump float)
59617a3babSopenharmony_ci0:12        'b' ( temp mediump float)
60617a3babSopenharmony_ci0:13      Sequence
61617a3babSopenharmony_ci0:13        move second child to first child ( temp uint)
62617a3babSopenharmony_ci0:13          'c' ( temp uint)
63617a3babSopenharmony_ci0:13          packHalf2x16 ( temp uint)
64617a3babSopenharmony_ci0:13            Construct vec2 ( temp 2-component vector of float)
65617a3babSopenharmony_ci0:13              'b' ( temp mediump float)
66617a3babSopenharmony_ci0:13              Constant:
67617a3babSopenharmony_ci0:13                0.000000
68617a3babSopenharmony_ci0:15      Branch: Return with expression
69617a3babSopenharmony_ci0:15        add ( temp float)
70617a3babSopenharmony_ci0:15          add ( temp float)
71617a3babSopenharmony_ci0:15            add ( temp float)
72617a3babSopenharmony_ci0:15              add ( temp float)
73617a3babSopenharmony_ci0:15                'f1' ( temp float)
74617a3babSopenharmony_ci0:15                direct index ( temp float)
75617a3babSopenharmony_ci0:15                  'f2' ( temp 2-component vector of float)
76617a3babSopenharmony_ci0:15                  Constant:
77617a3babSopenharmony_ci0:15                    0 (const int)
78617a3babSopenharmony_ci0:15              direct index ( temp float)
79617a3babSopenharmony_ci0:15                'f3' ( temp 3-component vector of float)
80617a3babSopenharmony_ci0:15                Constant:
81617a3babSopenharmony_ci0:15                  2 (const int)
82617a3babSopenharmony_ci0:15            direct index ( temp float)
83617a3babSopenharmony_ci0:15              'f22' ( temp 2-component vector of float)
84617a3babSopenharmony_ci0:15              Constant:
85617a3babSopenharmony_ci0:15                1 (const int)
86617a3babSopenharmony_ci0:15          Convert uint to float ( temp float)
87617a3babSopenharmony_ci0:15            'c' ( temp uint)
88617a3babSopenharmony_ci0:2  Function Definition: main( ( temp void)
89617a3babSopenharmony_ci0:2    Function Parameters: 
90617a3babSopenharmony_ci0:?     Sequence
91617a3babSopenharmony_ci0:2      move second child to first child ( temp float)
92617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out float)
93617a3babSopenharmony_ci0:2        Function Call: @main( ( temp float)
94617a3babSopenharmony_ci0:?   Linker Objects
95617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out float)
96617a3babSopenharmony_ci
97617a3babSopenharmony_ci
98617a3babSopenharmony_ciLinked vertex stage:
99617a3babSopenharmony_ci
100617a3babSopenharmony_ci
101617a3babSopenharmony_ciShader version: 500
102617a3babSopenharmony_ci0:? Sequence
103617a3babSopenharmony_ci0:2  Function Definition: @main( ( temp float)
104617a3babSopenharmony_ci0:2    Function Parameters: 
105617a3babSopenharmony_ci0:?     Sequence
106617a3babSopenharmony_ci0:3      Sequence
107617a3babSopenharmony_ci0:3        move second child to first child ( temp int)
108617a3babSopenharmony_ci0:3          'd' ( temp int)
109617a3babSopenharmony_ci0:3          Constant:
110617a3babSopenharmony_ci0:3            4 (const int)
111617a3babSopenharmony_ci0:4      Sequence
112617a3babSopenharmony_ci0:4        move second child to first child ( temp 2-component vector of int)
113617a3babSopenharmony_ci0:4          'd2' ( temp 2-component vector of int)
114617a3babSopenharmony_ci0:4          Construct ivec2 ( temp 2-component vector of int)
115617a3babSopenharmony_ci0:4            Constant:
116617a3babSopenharmony_ci0:4              5 (const int)
117617a3babSopenharmony_ci0:4            'd' ( temp int)
118617a3babSopenharmony_ci0:5      Sequence
119617a3babSopenharmony_ci0:5        move second child to first child ( temp float)
120617a3babSopenharmony_ci0:5          'f1' ( temp float)
121617a3babSopenharmony_ci0:5          Constant:
122617a3babSopenharmony_ci0:5            2.321928
123617a3babSopenharmony_ci0:6      Sequence
124617a3babSopenharmony_ci0:6        move second child to first child ( temp 2-component vector of float)
125617a3babSopenharmony_ci0:6          'f2' ( temp 2-component vector of float)
126617a3babSopenharmony_ci0:6          log ( temp 2-component vector of float)
127617a3babSopenharmony_ci0:6            Convert int to float ( temp 2-component vector of float)
128617a3babSopenharmony_ci0:6              'd2' ( temp 2-component vector of int)
129617a3babSopenharmony_ci0:7      Sequence
130617a3babSopenharmony_ci0:7        move second child to first child ( temp 3-component vector of float)
131617a3babSopenharmony_ci0:7          'f3' ( temp 3-component vector of float)
132617a3babSopenharmony_ci0:7          Constant:
133617a3babSopenharmony_ci0:7            1.945910
134617a3babSopenharmony_ci0:7            0.693147
135617a3babSopenharmony_ci0:7            1.098612
136617a3babSopenharmony_ci0:8      Sequence
137617a3babSopenharmony_ci0:8        move second child to first child ( temp 2-component vector of float)
138617a3babSopenharmony_ci0:8          'f22' ( temp 2-component vector of float)
139617a3babSopenharmony_ci0:8          Constant:
140617a3babSopenharmony_ci0:8            0.000000
141617a3babSopenharmony_ci0:8            0.000000
142617a3babSopenharmony_ci0:10      Sequence
143617a3babSopenharmony_ci0:10        move second child to first child ( temp int)
144617a3babSopenharmony_ci0:10          'a' ( temp int)
145617a3babSopenharmony_ci0:10          Constant:
146617a3babSopenharmony_ci0:10            5 (const int)
147617a3babSopenharmony_ci0:11      Sequence
148617a3babSopenharmony_ci0:11        move second child to first child ( temp mediump float)
149617a3babSopenharmony_ci0:11          'b' ( temp mediump float)
150617a3babSopenharmony_ci0:11          direct index ( temp mediump float)
151617a3babSopenharmony_ci0:11            unpackHalf2x16 ( temp mediump 2-component vector of float)
152617a3babSopenharmony_ci0:11              Convert int to uint ( temp mediump uint)
153617a3babSopenharmony_ci0:11                'a' ( temp mediump int)
154617a3babSopenharmony_ci0:11            Constant:
155617a3babSopenharmony_ci0:11              0 (const int)
156617a3babSopenharmony_ci0:12      multiply second child into first child ( temp mediump float)
157617a3babSopenharmony_ci0:12        'b' ( temp mediump float)
158617a3babSopenharmony_ci0:12        'b' ( temp mediump float)
159617a3babSopenharmony_ci0:13      Sequence
160617a3babSopenharmony_ci0:13        move second child to first child ( temp uint)
161617a3babSopenharmony_ci0:13          'c' ( temp uint)
162617a3babSopenharmony_ci0:13          packHalf2x16 ( temp uint)
163617a3babSopenharmony_ci0:13            Construct vec2 ( temp 2-component vector of float)
164617a3babSopenharmony_ci0:13              'b' ( temp mediump float)
165617a3babSopenharmony_ci0:13              Constant:
166617a3babSopenharmony_ci0:13                0.000000
167617a3babSopenharmony_ci0:15      Branch: Return with expression
168617a3babSopenharmony_ci0:15        add ( temp float)
169617a3babSopenharmony_ci0:15          add ( temp float)
170617a3babSopenharmony_ci0:15            add ( temp float)
171617a3babSopenharmony_ci0:15              add ( temp float)
172617a3babSopenharmony_ci0:15                'f1' ( temp float)
173617a3babSopenharmony_ci0:15                direct index ( temp float)
174617a3babSopenharmony_ci0:15                  'f2' ( temp 2-component vector of float)
175617a3babSopenharmony_ci0:15                  Constant:
176617a3babSopenharmony_ci0:15                    0 (const int)
177617a3babSopenharmony_ci0:15              direct index ( temp float)
178617a3babSopenharmony_ci0:15                'f3' ( temp 3-component vector of float)
179617a3babSopenharmony_ci0:15                Constant:
180617a3babSopenharmony_ci0:15                  2 (const int)
181617a3babSopenharmony_ci0:15            direct index ( temp float)
182617a3babSopenharmony_ci0:15              'f22' ( temp 2-component vector of float)
183617a3babSopenharmony_ci0:15              Constant:
184617a3babSopenharmony_ci0:15                1 (const int)
185617a3babSopenharmony_ci0:15          Convert uint to float ( temp float)
186617a3babSopenharmony_ci0:15            'c' ( temp uint)
187617a3babSopenharmony_ci0:2  Function Definition: main( ( temp void)
188617a3babSopenharmony_ci0:2    Function Parameters: 
189617a3babSopenharmony_ci0:?     Sequence
190617a3babSopenharmony_ci0:2      move second child to first child ( temp float)
191617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out float)
192617a3babSopenharmony_ci0:2        Function Call: @main( ( temp float)
193617a3babSopenharmony_ci0:?   Linker Objects
194617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out float)
195617a3babSopenharmony_ci
196617a3babSopenharmony_ci// Module Version 10000
197617a3babSopenharmony_ci// Generated by (magic number): 8000b
198617a3babSopenharmony_ci// Id's are bound by 75
199617a3babSopenharmony_ci
200617a3babSopenharmony_ci                              Capability Shader
201617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
202617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
203617a3babSopenharmony_ci                              EntryPoint Vertex 4  "main" 73
204617a3babSopenharmony_ci                              Source HLSL 500
205617a3babSopenharmony_ci                              Name 4  "main"
206617a3babSopenharmony_ci                              Name 8  "@main("
207617a3babSopenharmony_ci                              Name 12  "d"
208617a3babSopenharmony_ci                              Name 16  "d2"
209617a3babSopenharmony_ci                              Name 21  "f1"
210617a3babSopenharmony_ci                              Name 25  "f2"
211617a3babSopenharmony_ci                              Name 31  "f3"
212617a3babSopenharmony_ci                              Name 36  "f22"
213617a3babSopenharmony_ci                              Name 39  "a"
214617a3babSopenharmony_ci                              Name 40  "b"
215617a3babSopenharmony_ci                              Name 51  "c"
216617a3babSopenharmony_ci                              Name 73  "@entryPointOutput"
217617a3babSopenharmony_ci                              Decorate 40(b) RelaxedPrecision
218617a3babSopenharmony_ci                              Decorate 41 RelaxedPrecision
219617a3babSopenharmony_ci                              Decorate 43 RelaxedPrecision
220617a3babSopenharmony_ci                              Decorate 44 RelaxedPrecision
221617a3babSopenharmony_ci                              Decorate 46 RelaxedPrecision
222617a3babSopenharmony_ci                              Decorate 47 RelaxedPrecision
223617a3babSopenharmony_ci                              Decorate 48 RelaxedPrecision
224617a3babSopenharmony_ci                              Decorate 49 RelaxedPrecision
225617a3babSopenharmony_ci                              Decorate 52 RelaxedPrecision
226617a3babSopenharmony_ci                              Decorate 73(@entryPointOutput) Location 0
227617a3babSopenharmony_ci               2:             TypeVoid
228617a3babSopenharmony_ci               3:             TypeFunction 2
229617a3babSopenharmony_ci               6:             TypeFloat 32
230617a3babSopenharmony_ci               7:             TypeFunction 6(float)
231617a3babSopenharmony_ci              10:             TypeInt 32 1
232617a3babSopenharmony_ci              11:             TypePointer Function 10(int)
233617a3babSopenharmony_ci              13:     10(int) Constant 4
234617a3babSopenharmony_ci              14:             TypeVector 10(int) 2
235617a3babSopenharmony_ci              15:             TypePointer Function 14(ivec2)
236617a3babSopenharmony_ci              17:     10(int) Constant 5
237617a3babSopenharmony_ci              20:             TypePointer Function 6(float)
238617a3babSopenharmony_ci              22:    6(float) Constant 1075092088
239617a3babSopenharmony_ci              23:             TypeVector 6(float) 2
240617a3babSopenharmony_ci              24:             TypePointer Function 23(fvec2)
241617a3babSopenharmony_ci              29:             TypeVector 6(float) 3
242617a3babSopenharmony_ci              30:             TypePointer Function 29(fvec3)
243617a3babSopenharmony_ci              32:    6(float) Constant 1073288085
244617a3babSopenharmony_ci              33:    6(float) Constant 1060205080
245617a3babSopenharmony_ci              34:    6(float) Constant 1066180436
246617a3babSopenharmony_ci              35:   29(fvec3) ConstantComposite 32 33 34
247617a3babSopenharmony_ci              37:    6(float) Constant 0
248617a3babSopenharmony_ci              38:   23(fvec2) ConstantComposite 37 37
249617a3babSopenharmony_ci              42:             TypeInt 32 0
250617a3babSopenharmony_ci              45:     42(int) Constant 0
251617a3babSopenharmony_ci              50:             TypePointer Function 42(int)
252617a3babSopenharmony_ci              59:     42(int) Constant 2
253617a3babSopenharmony_ci              63:     42(int) Constant 1
254617a3babSopenharmony_ci              72:             TypePointer Output 6(float)
255617a3babSopenharmony_ci73(@entryPointOutput):     72(ptr) Variable Output
256617a3babSopenharmony_ci         4(main):           2 Function None 3
257617a3babSopenharmony_ci               5:             Label
258617a3babSopenharmony_ci              74:    6(float) FunctionCall 8(@main()
259617a3babSopenharmony_ci                              Store 73(@entryPointOutput) 74
260617a3babSopenharmony_ci                              Return
261617a3babSopenharmony_ci                              FunctionEnd
262617a3babSopenharmony_ci       8(@main():    6(float) Function None 7
263617a3babSopenharmony_ci               9:             Label
264617a3babSopenharmony_ci           12(d):     11(ptr) Variable Function
265617a3babSopenharmony_ci          16(d2):     15(ptr) Variable Function
266617a3babSopenharmony_ci          21(f1):     20(ptr) Variable Function
267617a3babSopenharmony_ci          25(f2):     24(ptr) Variable Function
268617a3babSopenharmony_ci          31(f3):     30(ptr) Variable Function
269617a3babSopenharmony_ci         36(f22):     24(ptr) Variable Function
270617a3babSopenharmony_ci           39(a):     11(ptr) Variable Function
271617a3babSopenharmony_ci           40(b):     20(ptr) Variable Function
272617a3babSopenharmony_ci           51(c):     50(ptr) Variable Function
273617a3babSopenharmony_ci                              Store 12(d) 13
274617a3babSopenharmony_ci              18:     10(int) Load 12(d)
275617a3babSopenharmony_ci              19:   14(ivec2) CompositeConstruct 17 18
276617a3babSopenharmony_ci                              Store 16(d2) 19
277617a3babSopenharmony_ci                              Store 21(f1) 22
278617a3babSopenharmony_ci              26:   14(ivec2) Load 16(d2)
279617a3babSopenharmony_ci              27:   23(fvec2) ConvertSToF 26
280617a3babSopenharmony_ci              28:   23(fvec2) ExtInst 1(GLSL.std.450) 28(Log) 27
281617a3babSopenharmony_ci                              Store 25(f2) 28
282617a3babSopenharmony_ci                              Store 31(f3) 35
283617a3babSopenharmony_ci                              Store 36(f22) 38
284617a3babSopenharmony_ci                              Store 39(a) 17
285617a3babSopenharmony_ci              41:     10(int) Load 39(a)
286617a3babSopenharmony_ci              43:     42(int) Bitcast 41
287617a3babSopenharmony_ci              44:   23(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 43
288617a3babSopenharmony_ci              46:    6(float) CompositeExtract 44 0
289617a3babSopenharmony_ci                              Store 40(b) 46
290617a3babSopenharmony_ci              47:    6(float) Load 40(b)
291617a3babSopenharmony_ci              48:    6(float) Load 40(b)
292617a3babSopenharmony_ci              49:    6(float) FMul 48 47
293617a3babSopenharmony_ci                              Store 40(b) 49
294617a3babSopenharmony_ci              52:    6(float) Load 40(b)
295617a3babSopenharmony_ci              53:   23(fvec2) CompositeConstruct 52 37
296617a3babSopenharmony_ci              54:     42(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 53
297617a3babSopenharmony_ci                              Store 51(c) 54
298617a3babSopenharmony_ci              55:    6(float) Load 21(f1)
299617a3babSopenharmony_ci              56:     20(ptr) AccessChain 25(f2) 45
300617a3babSopenharmony_ci              57:    6(float) Load 56
301617a3babSopenharmony_ci              58:    6(float) FAdd 55 57
302617a3babSopenharmony_ci              60:     20(ptr) AccessChain 31(f3) 59
303617a3babSopenharmony_ci              61:    6(float) Load 60
304617a3babSopenharmony_ci              62:    6(float) FAdd 58 61
305617a3babSopenharmony_ci              64:     20(ptr) AccessChain 36(f22) 63
306617a3babSopenharmony_ci              65:    6(float) Load 64
307617a3babSopenharmony_ci              66:    6(float) FAdd 62 65
308617a3babSopenharmony_ci              67:     42(int) Load 51(c)
309617a3babSopenharmony_ci              68:    6(float) ConvertUToF 67
310617a3babSopenharmony_ci              69:    6(float) FAdd 66 68
311617a3babSopenharmony_ci                              ReturnValue 69
312617a3babSopenharmony_ci                              FunctionEnd
313