1617a3babSopenharmony_cihlsl.rw.swizzle.frag
2617a3babSopenharmony_ciShader version: 500
3617a3babSopenharmony_cigl_FragCoord origin is upper left
4617a3babSopenharmony_ci0:? Sequence
5617a3babSopenharmony_ci0:4  Function Definition: SomeValue( ( temp 3-component vector of float)
6617a3babSopenharmony_ci0:4    Function Parameters: 
7617a3babSopenharmony_ci0:?     Sequence
8617a3babSopenharmony_ci0:4      Branch: Return with expression
9617a3babSopenharmony_ci0:4        Constant:
10617a3babSopenharmony_ci0:4          1.000000
11617a3babSopenharmony_ci0:4          2.000000
12617a3babSopenharmony_ci0:4          3.000000
13617a3babSopenharmony_ci0:7  Function Definition: @main( ( temp 4-component vector of float)
14617a3babSopenharmony_ci0:7    Function Parameters: 
15617a3babSopenharmony_ci0:?     Sequence
16617a3babSopenharmony_ci0:8      Sequence
17617a3babSopenharmony_ci0:8        move second child to first child ( temp 2-component vector of int)
18617a3babSopenharmony_ci0:8          'tc2' ( temp 2-component vector of int)
19617a3babSopenharmony_ci0:8          Constant:
20617a3babSopenharmony_ci0:8            0 (const int)
21617a3babSopenharmony_ci0:8            0 (const int)
22617a3babSopenharmony_ci0:9      Sequence
23617a3babSopenharmony_ci0:9        move second child to first child ( temp int)
24617a3babSopenharmony_ci0:9          'tc' ( temp int)
25617a3babSopenharmony_ci0:9          Constant:
26617a3babSopenharmony_ci0:9            0 (const int)
27617a3babSopenharmony_ci0:12      Sequence
28617a3babSopenharmony_ci0:12        move second child to first child ( temp 3-component vector of float)
29617a3babSopenharmony_ci0:12          vector swizzle ( temp 3-component vector of float)
30617a3babSopenharmony_ci0:12            'storeTemp' ( temp 3-component vector of float)
31617a3babSopenharmony_ci0:12            Sequence
32617a3babSopenharmony_ci0:12              Constant:
33617a3babSopenharmony_ci0:12                2 (const int)
34617a3babSopenharmony_ci0:12              Constant:
35617a3babSopenharmony_ci0:12                1 (const int)
36617a3babSopenharmony_ci0:12              Constant:
37617a3babSopenharmony_ci0:12                0 (const int)
38617a3babSopenharmony_ci0:12          Constant:
39617a3babSopenharmony_ci0:12            1.000000
40617a3babSopenharmony_ci0:12            2.000000
41617a3babSopenharmony_ci0:12            3.000000
42617a3babSopenharmony_ci0:12        imageStore ( temp void)
43617a3babSopenharmony_ci0:12          'rwtx' (layout( rgba32f) uniform image2D)
44617a3babSopenharmony_ci0:12          'tc2' ( temp 2-component vector of int)
45617a3babSopenharmony_ci0:12          'storeTemp' ( temp 3-component vector of float)
46617a3babSopenharmony_ci0:12        'storeTemp' ( temp 3-component vector of float)
47617a3babSopenharmony_ci0:13      Sequence
48617a3babSopenharmony_ci0:13        move second child to first child ( temp 3-component vector of float)
49617a3babSopenharmony_ci0:13          vector swizzle ( temp 3-component vector of float)
50617a3babSopenharmony_ci0:13            'storeTemp' ( temp 3-component vector of float)
51617a3babSopenharmony_ci0:13            Sequence
52617a3babSopenharmony_ci0:13              Constant:
53617a3babSopenharmony_ci0:13                2 (const int)
54617a3babSopenharmony_ci0:13              Constant:
55617a3babSopenharmony_ci0:13                1 (const int)
56617a3babSopenharmony_ci0:13              Constant:
57617a3babSopenharmony_ci0:13                0 (const int)
58617a3babSopenharmony_ci0:13          Function Call: SomeValue( ( temp 3-component vector of float)
59617a3babSopenharmony_ci0:13        imageStore ( temp void)
60617a3babSopenharmony_ci0:13          'rwtx' (layout( rgba32f) uniform image2D)
61617a3babSopenharmony_ci0:13          'tc2' ( temp 2-component vector of int)
62617a3babSopenharmony_ci0:13          'storeTemp' ( temp 3-component vector of float)
63617a3babSopenharmony_ci0:13        'storeTemp' ( temp 3-component vector of float)
64617a3babSopenharmony_ci0:14      Sequence
65617a3babSopenharmony_ci0:14        move second child to first child ( temp 3-component vector of float)
66617a3babSopenharmony_ci0:14          vector swizzle ( temp 3-component vector of float)
67617a3babSopenharmony_ci0:14            'storeTemp' ( temp 3-component vector of float)
68617a3babSopenharmony_ci0:14            Sequence
69617a3babSopenharmony_ci0:14              Constant:
70617a3babSopenharmony_ci0:14                2 (const int)
71617a3babSopenharmony_ci0:14              Constant:
72617a3babSopenharmony_ci0:14                1 (const int)
73617a3babSopenharmony_ci0:14              Constant:
74617a3babSopenharmony_ci0:14                0 (const int)
75617a3babSopenharmony_ci0:14          Constant:
76617a3babSopenharmony_ci0:14            2.000000
77617a3babSopenharmony_ci0:14            2.000000
78617a3babSopenharmony_ci0:14            2.000000
79617a3babSopenharmony_ci0:14        imageStore ( temp void)
80617a3babSopenharmony_ci0:14          'rwtx' (layout( rgba32f) uniform image2D)
81617a3babSopenharmony_ci0:14          'tc2' ( temp 2-component vector of int)
82617a3babSopenharmony_ci0:14          'storeTemp' ( temp 3-component vector of float)
83617a3babSopenharmony_ci0:14        'storeTemp' ( temp 3-component vector of float)
84617a3babSopenharmony_ci0:27      Branch: Return with expression
85617a3babSopenharmony_ci0:27        Constant:
86617a3babSopenharmony_ci0:27          0.000000
87617a3babSopenharmony_ci0:27          0.000000
88617a3babSopenharmony_ci0:27          0.000000
89617a3babSopenharmony_ci0:27          0.000000
90617a3babSopenharmony_ci0:7  Function Definition: main( ( temp void)
91617a3babSopenharmony_ci0:7    Function Parameters: 
92617a3babSopenharmony_ci0:?     Sequence
93617a3babSopenharmony_ci0:7      move second child to first child ( temp 4-component vector of float)
94617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
95617a3babSopenharmony_ci0:7        Function Call: @main( ( temp 4-component vector of float)
96617a3babSopenharmony_ci0:?   Linker Objects
97617a3babSopenharmony_ci0:?     'rwtx' (layout( rgba32f) uniform image2D)
98617a3babSopenharmony_ci0:?     'buf' (layout( rgba32f) uniform imageBuffer)
99617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
100617a3babSopenharmony_ci
101617a3babSopenharmony_ci
102617a3babSopenharmony_ciLinked fragment stage:
103617a3babSopenharmony_ci
104617a3babSopenharmony_ci
105617a3babSopenharmony_ciShader version: 500
106617a3babSopenharmony_cigl_FragCoord origin is upper left
107617a3babSopenharmony_ci0:? Sequence
108617a3babSopenharmony_ci0:4  Function Definition: SomeValue( ( temp 3-component vector of float)
109617a3babSopenharmony_ci0:4    Function Parameters: 
110617a3babSopenharmony_ci0:?     Sequence
111617a3babSopenharmony_ci0:4      Branch: Return with expression
112617a3babSopenharmony_ci0:4        Constant:
113617a3babSopenharmony_ci0:4          1.000000
114617a3babSopenharmony_ci0:4          2.000000
115617a3babSopenharmony_ci0:4          3.000000
116617a3babSopenharmony_ci0:7  Function Definition: @main( ( temp 4-component vector of float)
117617a3babSopenharmony_ci0:7    Function Parameters: 
118617a3babSopenharmony_ci0:?     Sequence
119617a3babSopenharmony_ci0:8      Sequence
120617a3babSopenharmony_ci0:8        move second child to first child ( temp 2-component vector of int)
121617a3babSopenharmony_ci0:8          'tc2' ( temp 2-component vector of int)
122617a3babSopenharmony_ci0:8          Constant:
123617a3babSopenharmony_ci0:8            0 (const int)
124617a3babSopenharmony_ci0:8            0 (const int)
125617a3babSopenharmony_ci0:9      Sequence
126617a3babSopenharmony_ci0:9        move second child to first child ( temp int)
127617a3babSopenharmony_ci0:9          'tc' ( temp int)
128617a3babSopenharmony_ci0:9          Constant:
129617a3babSopenharmony_ci0:9            0 (const int)
130617a3babSopenharmony_ci0:12      Sequence
131617a3babSopenharmony_ci0:12        move second child to first child ( temp 3-component vector of float)
132617a3babSopenharmony_ci0:12          vector swizzle ( temp 3-component vector of float)
133617a3babSopenharmony_ci0:12            'storeTemp' ( temp 3-component vector of float)
134617a3babSopenharmony_ci0:12            Sequence
135617a3babSopenharmony_ci0:12              Constant:
136617a3babSopenharmony_ci0:12                2 (const int)
137617a3babSopenharmony_ci0:12              Constant:
138617a3babSopenharmony_ci0:12                1 (const int)
139617a3babSopenharmony_ci0:12              Constant:
140617a3babSopenharmony_ci0:12                0 (const int)
141617a3babSopenharmony_ci0:12          Constant:
142617a3babSopenharmony_ci0:12            1.000000
143617a3babSopenharmony_ci0:12            2.000000
144617a3babSopenharmony_ci0:12            3.000000
145617a3babSopenharmony_ci0:12        imageStore ( temp void)
146617a3babSopenharmony_ci0:12          'rwtx' (layout( rgba32f) uniform image2D)
147617a3babSopenharmony_ci0:12          'tc2' ( temp 2-component vector of int)
148617a3babSopenharmony_ci0:12          'storeTemp' ( temp 3-component vector of float)
149617a3babSopenharmony_ci0:12        'storeTemp' ( temp 3-component vector of float)
150617a3babSopenharmony_ci0:13      Sequence
151617a3babSopenharmony_ci0:13        move second child to first child ( temp 3-component vector of float)
152617a3babSopenharmony_ci0:13          vector swizzle ( temp 3-component vector of float)
153617a3babSopenharmony_ci0:13            'storeTemp' ( temp 3-component vector of float)
154617a3babSopenharmony_ci0:13            Sequence
155617a3babSopenharmony_ci0:13              Constant:
156617a3babSopenharmony_ci0:13                2 (const int)
157617a3babSopenharmony_ci0:13              Constant:
158617a3babSopenharmony_ci0:13                1 (const int)
159617a3babSopenharmony_ci0:13              Constant:
160617a3babSopenharmony_ci0:13                0 (const int)
161617a3babSopenharmony_ci0:13          Function Call: SomeValue( ( temp 3-component vector of float)
162617a3babSopenharmony_ci0:13        imageStore ( temp void)
163617a3babSopenharmony_ci0:13          'rwtx' (layout( rgba32f) uniform image2D)
164617a3babSopenharmony_ci0:13          'tc2' ( temp 2-component vector of int)
165617a3babSopenharmony_ci0:13          'storeTemp' ( temp 3-component vector of float)
166617a3babSopenharmony_ci0:13        'storeTemp' ( temp 3-component vector of float)
167617a3babSopenharmony_ci0:14      Sequence
168617a3babSopenharmony_ci0:14        move second child to first child ( temp 3-component vector of float)
169617a3babSopenharmony_ci0:14          vector swizzle ( temp 3-component vector of float)
170617a3babSopenharmony_ci0:14            'storeTemp' ( temp 3-component vector of float)
171617a3babSopenharmony_ci0:14            Sequence
172617a3babSopenharmony_ci0:14              Constant:
173617a3babSopenharmony_ci0:14                2 (const int)
174617a3babSopenharmony_ci0:14              Constant:
175617a3babSopenharmony_ci0:14                1 (const int)
176617a3babSopenharmony_ci0:14              Constant:
177617a3babSopenharmony_ci0:14                0 (const int)
178617a3babSopenharmony_ci0:14          Constant:
179617a3babSopenharmony_ci0:14            2.000000
180617a3babSopenharmony_ci0:14            2.000000
181617a3babSopenharmony_ci0:14            2.000000
182617a3babSopenharmony_ci0:14        imageStore ( temp void)
183617a3babSopenharmony_ci0:14          'rwtx' (layout( rgba32f) uniform image2D)
184617a3babSopenharmony_ci0:14          'tc2' ( temp 2-component vector of int)
185617a3babSopenharmony_ci0:14          'storeTemp' ( temp 3-component vector of float)
186617a3babSopenharmony_ci0:14        'storeTemp' ( temp 3-component vector of float)
187617a3babSopenharmony_ci0:27      Branch: Return with expression
188617a3babSopenharmony_ci0:27        Constant:
189617a3babSopenharmony_ci0:27          0.000000
190617a3babSopenharmony_ci0:27          0.000000
191617a3babSopenharmony_ci0:27          0.000000
192617a3babSopenharmony_ci0:27          0.000000
193617a3babSopenharmony_ci0:7  Function Definition: main( ( temp void)
194617a3babSopenharmony_ci0:7    Function Parameters: 
195617a3babSopenharmony_ci0:?     Sequence
196617a3babSopenharmony_ci0:7      move second child to first child ( temp 4-component vector of float)
197617a3babSopenharmony_ci0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
198617a3babSopenharmony_ci0:7        Function Call: @main( ( temp 4-component vector of float)
199617a3babSopenharmony_ci0:?   Linker Objects
200617a3babSopenharmony_ci0:?     'rwtx' (layout( rgba32f) uniform image2D)
201617a3babSopenharmony_ci0:?     'buf' (layout( rgba32f) uniform imageBuffer)
202617a3babSopenharmony_ci0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
203617a3babSopenharmony_ci
204617a3babSopenharmony_ci// Module Version 10000
205617a3babSopenharmony_ci// Generated by (magic number): 8000b
206617a3babSopenharmony_ci// Id's are bound by 63
207617a3babSopenharmony_ci
208617a3babSopenharmony_ci                              Capability Shader
209617a3babSopenharmony_ci                              Capability ImageBuffer
210617a3babSopenharmony_ci               1:             ExtInstImport  "GLSL.std.450"
211617a3babSopenharmony_ci                              MemoryModel Logical GLSL450
212617a3babSopenharmony_ci                              EntryPoint Fragment 4  "main" 58
213617a3babSopenharmony_ci                              ExecutionMode 4 OriginUpperLeft
214617a3babSopenharmony_ci                              Source HLSL 500
215617a3babSopenharmony_ci                              Name 4  "main"
216617a3babSopenharmony_ci                              Name 9  "SomeValue("
217617a3babSopenharmony_ci                              Name 13  "@main("
218617a3babSopenharmony_ci                              Name 24  "tc2"
219617a3babSopenharmony_ci                              Name 28  "tc"
220617a3babSopenharmony_ci                              Name 30  "storeTemp"
221617a3babSopenharmony_ci                              Name 35  "rwtx"
222617a3babSopenharmony_ci                              Name 39  "storeTemp"
223617a3babSopenharmony_ci                              Name 46  "storeTemp"
224617a3babSopenharmony_ci                              Name 58  "@entryPointOutput"
225617a3babSopenharmony_ci                              Name 62  "buf"
226617a3babSopenharmony_ci                              Decorate 35(rwtx) DescriptorSet 0
227617a3babSopenharmony_ci                              Decorate 35(rwtx) Binding 0
228617a3babSopenharmony_ci                              Decorate 58(@entryPointOutput) Location 0
229617a3babSopenharmony_ci                              Decorate 62(buf) DescriptorSet 0
230617a3babSopenharmony_ci                              Decorate 62(buf) Binding 0
231617a3babSopenharmony_ci               2:             TypeVoid
232617a3babSopenharmony_ci               3:             TypeFunction 2
233617a3babSopenharmony_ci               6:             TypeFloat 32
234617a3babSopenharmony_ci               7:             TypeVector 6(float) 3
235617a3babSopenharmony_ci               8:             TypeFunction 7(fvec3)
236617a3babSopenharmony_ci              11:             TypeVector 6(float) 4
237617a3babSopenharmony_ci              12:             TypeFunction 11(fvec4)
238617a3babSopenharmony_ci              15:    6(float) Constant 1065353216
239617a3babSopenharmony_ci              16:    6(float) Constant 1073741824
240617a3babSopenharmony_ci              17:    6(float) Constant 1077936128
241617a3babSopenharmony_ci              18:    7(fvec3) ConstantComposite 15 16 17
242617a3babSopenharmony_ci              21:             TypeInt 32 1
243617a3babSopenharmony_ci              22:             TypeVector 21(int) 2
244617a3babSopenharmony_ci              23:             TypePointer Function 22(ivec2)
245617a3babSopenharmony_ci              25:     21(int) Constant 0
246617a3babSopenharmony_ci              26:   22(ivec2) ConstantComposite 25 25
247617a3babSopenharmony_ci              27:             TypePointer Function 21(int)
248617a3babSopenharmony_ci              29:             TypePointer Function 7(fvec3)
249617a3babSopenharmony_ci              33:             TypeImage 6(float) 2D nonsampled format:Rgba32f
250617a3babSopenharmony_ci              34:             TypePointer UniformConstant 33
251617a3babSopenharmony_ci        35(rwtx):     34(ptr) Variable UniformConstant
252617a3babSopenharmony_ci              47:    7(fvec3) ConstantComposite 16 16 16
253617a3babSopenharmony_ci              53:    6(float) Constant 0
254617a3babSopenharmony_ci              54:   11(fvec4) ConstantComposite 53 53 53 53
255617a3babSopenharmony_ci              57:             TypePointer Output 11(fvec4)
256617a3babSopenharmony_ci58(@entryPointOutput):     57(ptr) Variable Output
257617a3babSopenharmony_ci              60:             TypeImage 6(float) Buffer nonsampled format:Rgba32f
258617a3babSopenharmony_ci              61:             TypePointer UniformConstant 60
259617a3babSopenharmony_ci         62(buf):     61(ptr) Variable UniformConstant
260617a3babSopenharmony_ci         4(main):           2 Function None 3
261617a3babSopenharmony_ci               5:             Label
262617a3babSopenharmony_ci              59:   11(fvec4) FunctionCall 13(@main()
263617a3babSopenharmony_ci                              Store 58(@entryPointOutput) 59
264617a3babSopenharmony_ci                              Return
265617a3babSopenharmony_ci                              FunctionEnd
266617a3babSopenharmony_ci   9(SomeValue():    7(fvec3) Function None 8
267617a3babSopenharmony_ci              10:             Label
268617a3babSopenharmony_ci                              ReturnValue 18
269617a3babSopenharmony_ci                              FunctionEnd
270617a3babSopenharmony_ci      13(@main():   11(fvec4) Function None 12
271617a3babSopenharmony_ci              14:             Label
272617a3babSopenharmony_ci         24(tc2):     23(ptr) Variable Function
273617a3babSopenharmony_ci          28(tc):     27(ptr) Variable Function
274617a3babSopenharmony_ci   30(storeTemp):     29(ptr) Variable Function
275617a3babSopenharmony_ci   39(storeTemp):     29(ptr) Variable Function
276617a3babSopenharmony_ci   46(storeTemp):     29(ptr) Variable Function
277617a3babSopenharmony_ci                              Store 24(tc2) 26
278617a3babSopenharmony_ci                              Store 28(tc) 25
279617a3babSopenharmony_ci              31:    7(fvec3) Load 30(storeTemp)
280617a3babSopenharmony_ci              32:    7(fvec3) VectorShuffle 31 18 5 4 3
281617a3babSopenharmony_ci                              Store 30(storeTemp) 32
282617a3babSopenharmony_ci              36:          33 Load 35(rwtx)
283617a3babSopenharmony_ci              37:   22(ivec2) Load 24(tc2)
284617a3babSopenharmony_ci              38:    7(fvec3) Load 30(storeTemp)
285617a3babSopenharmony_ci                              ImageWrite 36 37 38
286617a3babSopenharmony_ci              40:    7(fvec3) FunctionCall 9(SomeValue()
287617a3babSopenharmony_ci              41:    7(fvec3) Load 39(storeTemp)
288617a3babSopenharmony_ci              42:    7(fvec3) VectorShuffle 41 40 5 4 3
289617a3babSopenharmony_ci                              Store 39(storeTemp) 42
290617a3babSopenharmony_ci              43:          33 Load 35(rwtx)
291617a3babSopenharmony_ci              44:   22(ivec2) Load 24(tc2)
292617a3babSopenharmony_ci              45:    7(fvec3) Load 39(storeTemp)
293617a3babSopenharmony_ci                              ImageWrite 43 44 45
294617a3babSopenharmony_ci              48:    7(fvec3) Load 46(storeTemp)
295617a3babSopenharmony_ci              49:    7(fvec3) VectorShuffle 48 47 5 4 3
296617a3babSopenharmony_ci                              Store 46(storeTemp) 49
297617a3babSopenharmony_ci              50:          33 Load 35(rwtx)
298617a3babSopenharmony_ci              51:   22(ivec2) Load 24(tc2)
299617a3babSopenharmony_ci              52:    7(fvec3) Load 46(storeTemp)
300617a3babSopenharmony_ci                              ImageWrite 50 51 52
301617a3babSopenharmony_ci                              ReturnValue 54
302617a3babSopenharmony_ci                              FunctionEnd
303